You can use "lib" to extend where Perl looks for libraries: use lib "/path/to/your/lib";
HTH Paco Zarabozo ----- Original Message ----- From: Curtis Leach To: [EMAIL PROTECTED] Sent: Wednesday, December 12, 2007 2:07 PM Subject: General Perl Linking Question I'm using Perl v5.8.8 on AIX, and I have a question about how Perl locates libraries (*.a & *.so files) used by it's modules. I know Perl looks in the following directories for these libraries on my machine. > perl -V:libpth libpth='/lib /usr/lib /usr/ccs/lib /usr/local/lib'; But one of the libraries I need to link to for a module isn't located in one of these 4 locations & since I don't own the machine, the Unix admin doesn't want to reinstall the library in one of these locations. Is there any environment variable that can be set to add that additional directory? Or am I screwed until I can build a new Perl release that includes that directory? (Luckily I do own the Perl Install) Or is there some option I can add to "perl Makefile.PL" that would help during the build/test/install? Curtis _______________________________________________ ActivePerl mailing list [email protected] To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
_______________________________________________ ActivePerl mailing list [email protected] To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
