本文发表在 rolia.net 枫下论坛Experts,
I encounter a error when starting Apache on a newly installed Solaris box. A symbol referenced in the perl module can not be resolved. however, if I comment out the perl staff in httpd.conf, it can be started without problem. Anyone one can tell me what's wrong with it?
Thanks.
# ./apachectl start
Syntax error on line 248 of /etc/apache/httpd.conf:
Cannot load /usr/apache/libexec/libperl.so into server: ld.so.1: /usr/apache/bin/httpd: fatal: libperl.so.1: open failed
: No such file or directory
./apachectl start: httpd could not be started
# echo $LD_LIBRARY_PATH
# find / -name libperl.so.1 -print
/usr/perl5/5.00503/sun4-solaris/CORE/libperl.so.1
^C#
# LD_LIBRARY_PATH=/usr/perl5/5.00503/sun4-solaris/CORE:$LD_LIBRARY_PATH
# export LD_LIBRARY_PATH
# echo $LD_LIBRARY_PATH
/usr/perl5/5.00503/sun4-solaris/CORE:
# ./apachectl start
Syntax error on line 248 of /etc/apache/httpd.conf:
Cannot load /usr/apache/libexec/libperl.so into server: ld.so.1: /usr/apache/bin/httpd: fatal: relocation error: file /u
sr/apache/libexec/libperl.so: symbol Perl_vmess: referenced symbol not found
./apachectl start: httpd could not be started
# /usr/ccs/bin/nm /usr/apache/libexec/libperl.so |grep 'Perl_vmess'
[1340] | 0| 0|FUNC |GLOB |0 |UNDEF |Perl_vmess
#更多精彩文章及讨论,请光临枫下论坛 rolia.net
I encounter a error when starting Apache on a newly installed Solaris box. A symbol referenced in the perl module can not be resolved. however, if I comment out the perl staff in httpd.conf, it can be started without problem. Anyone one can tell me what's wrong with it?
Thanks.
# ./apachectl start
Syntax error on line 248 of /etc/apache/httpd.conf:
Cannot load /usr/apache/libexec/libperl.so into server: ld.so.1: /usr/apache/bin/httpd: fatal: libperl.so.1: open failed
: No such file or directory
./apachectl start: httpd could not be started
# echo $LD_LIBRARY_PATH
# find / -name libperl.so.1 -print
/usr/perl5/5.00503/sun4-solaris/CORE/libperl.so.1
^C#
# LD_LIBRARY_PATH=/usr/perl5/5.00503/sun4-solaris/CORE:$LD_LIBRARY_PATH
# export LD_LIBRARY_PATH
# echo $LD_LIBRARY_PATH
/usr/perl5/5.00503/sun4-solaris/CORE:
# ./apachectl start
Syntax error on line 248 of /etc/apache/httpd.conf:
Cannot load /usr/apache/libexec/libperl.so into server: ld.so.1: /usr/apache/bin/httpd: fatal: relocation error: file /u
sr/apache/libexec/libperl.so: symbol Perl_vmess: referenced symbol not found
./apachectl start: httpd could not be started
# /usr/ccs/bin/nm /usr/apache/libexec/libperl.so |grep 'Perl_vmess'
[1340] | 0| 0|FUNC |GLOB |0 |UNDEF |Perl_vmess
#更多精彩文章及讨论,请光临枫下论坛 rolia.net