RE: [Arsperl-users] ARSPerl 1.85 on Red Hat ES 4.0
Brought to you by:
jeffmurphy
|
From: <cla...@be...> - 2006-04-08 17:43:15
|
Justin Diana wrote: > perl Makefile.PL compiled just fine and so did make && make install. > However, when I try to actually USE ARSPerl in a script,=20 > I get the following every time: > =20 > "Can't load '/usr/lib/perl5/site_perl/5.8.5/i386-linux-thread-multi/auto/ARS/ARS.so' > for module ARS: libar.so: cannot open shared object file: No such file or directory at > /usr/lib/perl5/5.8.5/i386-linux-thread-multi/DynaLoader.pm line 230." =20 > I've tried everything I can think of... the file exists, the=20 > permissions are fine... I'm at the end of my rope here and the clock is fast=20 > ticking towards the deadline when I'm supposed to have this up and running. =20 It looks as though "the system" doesn't know where to find the=20 ARS API libraries In the following insructions $ARSAPI refers to the location you set=20 for $ARSAPI in Makefile.PL Are the $ARSAPI/lib/* libraries registered with the system? If they are you can find out where it thinks they are by running (as root) /sbin/ldconfig -p | grep libars.so If you get no results back you need to add $ARSAPI/lib to the list of=20 directories that contain libraries. In /etc/ld.so.conf.d/ create a file=20 called ars-api-5.12.conf and add one line to it: $ARSAPI/lib I'm not sure but you may need to run ldconfig (man ldconfig for the correct options)=20 to have it register the libraries HTH, Clayton PS More than you ever wanted to know about the topic of shared libraries on UNIX & linux: http://www.ai.univ-paris8.fr/~djedi/algo/Program-Library-HOWTO |