Help for this page

Select Code to Download


  1. or download this
    use strict;
    use warnings;
    ...
    
    require LicenseInterface;
    print "LicenseInterface got loaded\n";
    
  2. or download this
     
    test.pl
    |--lib\
    ...
         |--libLicIntfcLib.so
         |--llibmgr11.so
    
  3. 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)
    
  4. 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.
    
  5. 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
    
  6. or download this
    BEGIN {
      $ENV{LD_LIBRARY_PATH}.="./auto/LicenseInterface";
    ...
    
    exit
    
  7. 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.
    
  8. or download this
    push @dl_resolve_using=dl_findfile(
         qw(
    ...
         ./auto/LicenseInterface/liblmgr11.so
           )
    );
    
  9. 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.