httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "BELLIARD Francois - FT.BD/FTRD/DRHG/RSCL" <fb...@rd.francetelecom.com>
Subject pb while loading libraries in Apache
Date Wed, 15 May 2002 08:40:37 GMT
Hello 

I have installed Apache on a Solaris8 Server with other modules: 
    - Apache 1.3.23, 
    - mod_ssl-2.8.7-1.3.23 
    - openSSL 0.9.6c, 
    - PERL 5.6.1 

The cgi-scripts are in perl and use a Postgresql 7.2.1 database.

Apache is started by the "root" user and then the child process are run as "nobody"
as specified in the httpd.conf file :
	User nobody
	Group nobody

When a Perl Cgi script tries to load the "Pg" module  (command "use Pg;"  in the
script), there is the following error in the Apache Error Log : 
_____________
Can't load '/usr/local/perl-5.6.1/lib/site_perl/5.6.1/sun4-solaris/auto/Pg/Pg.so' for module
Pg: ld.so.1:
/usr/local/perl-5.6.1/bin/perl: fatal: libssl.so.0.9.6: open failed: No such file or directory
at
/usr/local/perl-5.6.1/lib/5.6.1/sun4-solaris/DynaLoader.pm line 206. 
at /home/www/smada/private/cgi-bin/latestChanges.pl line 2 
Compilation failed in require at /home/www/smada/private/cgi-bin/latestChanges.pl line 2.

BEGIN failed--compilation aborted at /home/www/smada/private/cgi-bin/latestChanges.pl line
2 
-------------

The script works well when it is run by itself and if the user has a correct LD_LIBRARY_PATH.
It looks like the child process does not heritate the library path in its environment.

Do you have any idea about this problem ?

Thanks in advance
-- 

Fran├žois BELLIARD
FTR&D/DRHG/RSCL - (33) (0)2 96 05 22 51

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message