Bruni007 has asked for the wisdom of the Perl Monks concerning the following question:
If the LIBPATH variable is not set, then....# LIBPATH=/opt/freeware/lib # ./check_url.pl https://myexample.com SUCCESS 200 OK
I've been reading about dynamic dependencies and I think that this is related to that. Does anyone of you is aware of a way to tell PERL that he should use this file /opt/freeware/lib/libcrypto.a instead of /usr/lib/libcrypto.a# LIBPATH="" # check_url.pl https://myexample.com Can't load '/usr/opt/perl5/lib/site_perl/5.8.2/aix-thread-multi/auto/C +rypt/SSLeay/SSLeay.so' for module Crypt::SSLeay: 0509-022 Cannot loa +d module /usr/opt/perl5/lib/site_perl/5.8.2/aix-thread-multi/auto/Cry +pt/SSLeay/SSLeay.so. 0509-150 Dependent module /usr/lib/libcrypto.a(libcrypto.so. +0.9.7) could not be loaded. 0509-152 Member libcrypto.so.0.9.7 is not found in archive 0509-022 Cannot load module /usr/opt/perl5/lib/site_perl/5.8.2 +/aix-thread-multi/auto/Crypt/SSLeay/SSLeay.so. 0509-150 Dependent module /usr/opt/perl5/lib/site_perl/5.8.2 +/aix-thread-multi/auto/Crypt/SSLeay/SSLeay.so could not be loaded. at + /usr/opt/perl5/lib/5.8.2/aix-thread-multi/DynaLoader.pm line 229. at scripts/check_url.pl line 22 Compilation failed in require at scripts/check_url.pl line 22. BEGIN failed--compilation aborted at scripts/check_url.pl line 22.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Dynamic dependencies
by Anonymous Monk on Nov 06, 2008 at 14:45 UTC | |
|
Re: Dynamic dependencies
by arkturuz (Curate) on Nov 06, 2008 at 15:32 UTC | |
|
Re: Dynamic dependencies (LD_)
by tye (Sage) on Nov 06, 2008 at 23:56 UTC | |
by Bruni007 (Initiate) on Nov 07, 2008 at 20:08 UTC |