RE: [Arsperl-users] ARSPerl 1.85 on Red Hat ES 4.0
Brought to you by:
jeffmurphy
|
From: Justin D. <jd...@da...> - 2006-04-08 21:12:56
|
Clayton, That was the problem! Funny how I've never run into it before ... oh well. Thanks for the timely and much needed help! Justin A. Diana Chief Technology Officer Datacraft Solutions, Inc. -----Original Message----- From: ars...@ar... [mailto:ars...@ar...] On Behalf Of cla...@be... Sent: Saturday, April 08, 2006 1:43 PM To: ars...@ar... Subject: RE: [Arsperl-users] ARSPerl 1.85 on Red Hat ES 4.0 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 ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=3Dk&kid=110944&bid$1720&dat=121642 _______________________________________________ Arsperl-users mailing list Ars...@ar... https://lists.sourceforge.net/lists/listinfo/arsperl-users |