Richard Chen wrote:
Hi,
I have a working apache server:
SERVER_SOFTWARE="Apache/1.3.29 (Unix) mod_ssl/2.8.16 OpenSSL/0.9.7d"
built like this:
cd mod_ssl-2.8.16-1.3.29
./configure --with-apache=../apache_1.3.29 --enable-shared=ssl
cd ../apache_1.3.29
SSL_BASE=/usr/local/ssl ./configure --prefix=/usr/local/apache \
--enable-rule=SHARED_CORE \
--enable-module=ssl --enable-shared=ssl \
--enable-module=all \
--enable-shared=max \
--disable-module=auth_db \
Basically all modules are build as DSO. It works fine without mod_perl.
Then I wanted to build DSO mod_perl into this server like this:
$ cd mod_perl-1.29
$ perl Makefile.PL \
USE_APXS=1 \
WITH_APXS=/usr/local/apache/bin/apxs \
APACHE_PREFIX=/usr/local/apache \
EVERYTHING=1
$ make
$ sudo make install
The build is successful without errors. But apache server does not start
and the error message is:
Syntax error on line 244 of /usr/local/apache/conf/httpd.conf:
Cannot load /usr/local/apache/libexec/libperl.so into server: ld.so.1:
/usr/local/apache/bin/httpd: fatal: relocation error: file
/usr/local/apache/libexec/libperl.so: symbol main: referenced symbol not found
/usr/local/apache/bin/apachectl startssl: httpd could not be started
If I don't build mod_ssl into the apache server, then
adding DSO mod_perl the same way as above works. So it looks like
there is some kind of incompatibility between mod_ssl and mod_perl.
Has anyone seen this problem before? Is there a solution to this?
Any success with the APACI method?
http://perl.apache.org/docs/1.0/guide/install.html#mod_perl_and_mod_ssl___openssl_
Note that I am using perl 5.8.3 on a solaris 7 box.
__________________________________________________________________
Stas Bekman JAm_pH ------> Just Another mod_perl Hacker
http://stason.org/ mod_perl Guide ---> http://perl.apache.org
mailto:[EMAIL PROTECTED] http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org http://ticketmaster.com
--
Report problems: http://perl.apache.org/bugs/
Mail list info: http://perl.apache.org/maillist/modperl.html
List etiquette: http://perl.apache.org/maillist/email-etiquette.html