Hi All

 

I am migrating Perl 5.005 to 5.12.2, Apache 1.3.9 to 1.3.42, mod_perl
1.21 to 1.31 and BerkeleyDB 3.x to 5.x

 

We are setting ENV variables through GUI and executing perl script in
background through GUI. In that perl script we are using same libraries
which we used in GUI scripts. I am able to execute that perl script
successfully few times (less than 5 times) after every restart of Apache
web server. After that I am getting following BerkeleyDB error message
in log file of that script (i.e., run_command).

 

 

Error Message:

 

Can't load
'~/lib/perl5/site_perl/5.12.2/sun4-solaris-64int/auto/BerkeleyDB/Berkele
yDB.so' for module BerkeleyDB: ld.so.1: perl: fatal: libgcc_s.so.1: open
failed: No such file or directory at ~/lib/perl5/5.12.2/XSLoader.pm line
70.

 at xxx-lib.pl line 6

Compilation failed in require at xxx-lib.pl line 6.

BEGIN failed--compilation aborted at xxx-lib.pl line 6.

Compilation failed in require at yyy-lib.pl line 34.

Compilation failed in require at ~/bin/run_command line 101.

 

 

Line 6 of xxx-lib.pl is use BerkeleyDB;

Line 34 of yyy-lib.pl is require xxx-lib.pl;

Line 101 of run_command is eval { require yyy-lib.pl;};

 

 

Thanks in advance for your help!!

 

 

 

Regards

Sudhakar

 

Reply via email to