You can pack the shared object file into your executable with -l or --link 
option. But the argument to -l should NOT be any soft link to the original 
".so" file. Give the absolute path of the original ".so" file to -l option & 
try again. Let me know the results.

Thanks

________________________________________
From: Jon Anderson [[email protected]]
Sent: Tuesday, December 23, 2008 10:32 PM
To: [email protected]
Subject: Can't load libssl.so.6 for DBD::mysql on target machine

After build on Fedora 6:
% pp -o dbmgr.exe -M English -M Spreadsheet::WriteExcel -M DBI -M
Config::Scoped -X DBD::SQLite -X DBD::CSV -X DBD::File dbmgr

Error message on target machine Fedora 9:

 Can't load
'/tmp/par-janderson/cache-d3638f1214866e77c20d20290a1f8fad51805c26/604a388c.so'
for module DBD::mysql: libssl.so.6: cannot open shared object file: No such
file or directory at
/usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/DynaLoader.pm line 230.
   at /usr/lib/perl5/site_perl/5.8.8/PAR/Heavy.pm line 109
   Compilation failed in require at script/dbmgr line 16.
   BEGIN failed--compilation aborted at script/dbmgr line 16.

I have tried many variation of -l, -M, etc, but all to no avail.

Any ideas what I am missing?

Thanks!

Reply via email to