Skip to main content.
home | support | download

Back to List Archive

Re: Problem making SWISH::API

From: Peter Karman <peter(at)not-real.peknet.com>
Date: Fri Oct 06 2006 - 04:19:30 GMT
William M. Conlon scribbled on 10/5/06 10:59 PM:
> Thanks Peter, 
> 
> it's in /usr/local/lib
> 
> But I've never used any non-standard locations.  This is a development system
> and I must have messed up a path or permission  -- just can't find it. 
> --
> Bill
> 

depending on if you've configured /etc/ld.so.conf to look in /usr/local/lib, you 
may need to specify LIBS to Makefile.PL.

  perl Makefile.PL LIBS='-L/usr/local/lib -lswish-e -lz'


that's a common thing to overlook in my experience. some linux distros (notably 
FC, which I also use) are not configured by default to look in /usr/local/lib 
when reconciling library paths.

read the ldconfig man page for your system.

(and apologies if I'm telling you stuff you already know...)

pek


> 
> ---------- Original Message -----------
> From: Peter Karman <peter@peknet.com>
> To: Multiple recipients of list <swish-e@sunsite3.berkeley.edu>
> Sent: Thu, 5 Oct 2006 18:10:50 -0700 (PDT)
> Subject: [SWISH-E] Re: Problem making SWISH::API
> 
>> William M Conlon scribbled on 10/5/06 5:41 PM:
>>
>>> t/test.....Can't load '/root/swish-e-2.4.4rc1/perl/blib/arch/auto/ 
>>> SWISH/API/API.so' for module SWISH::API: libswish-e.so.2: cannot open  
>>> shared object file: No such file or directory at /usr/lib/perl5/5.8.6/ 
>>> i386-linux-thread-multi/DynaLoader.pm line 230.
>> where is libswish-e.so.2 on this machine?
>>
>> -- 
>> Peter Karman  .  http://peknet.com/  .  peter(at)not-real.peknet.com
> ------- End of Original Message -------
> 

-- 
Peter Karman  .  http://peknet.com/  .  peter(at)not-real.peknet.com
Received on Thu Oct 5 21:19:32 2006