Skip to main content.
home | support | download

Back to List Archive

Re: installing perl module problem

From: Bill Moseley <moseley(at)not-real.hank.org>
Date: Thu Jan 06 2005 - 18:01:25 GMT
On Thu, Jan 06, 2005 at 09:53:47AM -0800, Dragana Radulovic wrote:
> Hi,
> 
> I successfully installed swish-e-2.4.3 on Red Hat
> Linux, but I have problems installing the perl module.
> 
> 
> Here are the commands that were successfully
> completed:
> $ perl Makefile.PL 
> $ make

> t/test.....Can't load
> '/home/dragana/swish-e-2.4.3/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.3/i386-linux-thread-multi/DynaL
> oader.pm line 229.

I don't think /usr/local/lib is in your /etc/ld.so.conf file.

You can either add /usr/local/lib to ld.so.conf, and run ldconfig, or
try building like this:

LD_RUN_PATH=/usr/local/lib make


Should Makefile.pl try and set LD_RUN_PATH?



-- 
Bill Moseley
moseley@hank.org

Unsubscribe from or help with the swish-e list: 
   http://swish-e.org/Discussion/

Help with Swish-e:
   http://swish-e.org/current/docs
   swish-e@sunsite.berkeley.edu
Received on Thu Jan 6 10:01:25 2005