- or download this
use strict;
use warnings;
...
require LicenseInterface;
print "LicenseInterface got loaded\n";
- or download this
test.pl
|--lib\
...
|--libLicIntfcLib.so
|--llibmgr11.so
- or download this
[boleary@new-host testLib]$ ldd auto/LicenseInterface/LicenseInterface
+.so
linux-gate.so.1 => (0x00f36000)
...
/lib/ld-linux.so.2 (0x002c3000)
libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x00143000)
- or download this
DynaLoader.pm loaded (/opt/ActivePerl-5.18/site/lib /opt/ActivePerl-5.
+18/lib . lib, /lib /usr/lib /usr/local/lib)
DynaLoader::bootstrap for LicenseInterface (auto/LicenseInterface/Lice
+nseInterface.so)
Can't load './auto/LicenseInterface/LicenseInterface.so' for module Li
+censeInterface: libLicIntfcLib.so: cannot open shared object file: No
+ such file or directory at /opt/ActivePerl-5.18/lib/DynaLoader.pm lin
+e 191.
- or download this
export LD_LIBRARY_PATH=./auto/LicenseInterface
[boleary@new-host testLib]$ perl test_simple.pl
DynaLoader.pm loaded (/opt/ActivePerl-5.18/site/lib /opt/ActivePerl-5.
+18/lib . lib, /lib /usr/lib /usr/local/lib ./auto/LicenseInterface)
DynaLoader::bootstrap for LicenseInterface (auto/LicenseInterface/Lice
+nseInterface.so)
LicenseInterface got loaded
- or download this
BEGIN {
$ENV{LD_LIBRARY_PATH}.="./auto/LicenseInterface";
...
exit
- or download this
perl test_simple1.pl
DynaLoader.pm loaded (/opt/ActivePerl-5.18/site/lib /opt/ActivePerl-5.
+18/lib . lib, /lib /usr/lib /usr/local/lib ./auto/LicenseInterface)
...
Can't load './auto/LicenseInterface/LicenseInterface.so' for module Li
+censeInterface: libLicIntfcLib.so: cannot open shared object file: No
+ such file or directory at /opt/ActivePerl-5.18/lib/DynaLoader.pm lin
+e 191.
at lib/LicenseInterface.pm line 11.
Compilation failed in require at test_simple1.pl line 8.
- or download this
push @dl_resolve_using=dl_findfile(
qw(
...
./auto/LicenseInterface/liblmgr11.so
)
);
- or download this
perl test_simple1.pl
DynaLoader.pm loaded (/opt/ActivePerl-5.18/site/lib /opt/ActivePerl-5.
+18/lib . lib, /lib /usr/lib /usr/local/lib ./auto/LicenseInterface)
...
Can't load './auto/LicenseInterface/LicenseInterface.so' for module Li
+censeInterface: libLicIntfcLib.so: cannot open shared object file: No
+ such file or directory at /opt/ActivePerl-5.18/lib/DynaLoader.pm lin
+e 191.
at lib/LicenseInterface.pm line 11.
Compilation failed in require at test_simple1.pl line 8.