Endpoint Encryption

 View Only

Issues with LIBPATH when running Command Line PGP in PERL

  • 1.  Issues with LIBPATH when running Command Line PGP in PERL

    Posted Jul 31, 2015 02:53 PM

    We have PGP Command Line 10.3.2 installed on AIX 6.1

    In the .profile file of the user, I have added the LIBPATH to reflect /<pgp_install_Location>/lib dir and I am able to run the regular Encryption and Decryption commands.

    However, when I add the commands in a PERL Script, I am getting this error

    FILE ENCRYPT ERROR : FILE MOVED TO xyz.txt.err
            exec(): 0509-036 Cannot load program /<pgp_install_dir>/bin/pgp because of the following errors:
            0509-150   Dependent module /usr/lib/libiconv.a(libiconv.so.2) could not be loaded.
            0509-152   Member libiconv.so.2 is not found in archive

     

    I tried softlinking the pgp/lib directory in /usr/lib and export that as my LIBPATH within my .profile file.

    PGP doesnt work altogether when I do that.

     

    Definitely know I am missing something trivial. Any help is appreciated.