Hi Stas, Your suggested method works with the exception of the error
Syntax error on line 214 of /usr/local/apache/conf/httpd.conf: Cannot load /usr/local/apache/libexec/mod_negotiation.so into server: ld.so.1: /usr/local/apache/bin/httpd: fatal: relocation error: file /usr/local/apache/libexec/mod_negotiation.so: symbol __floatdisf: referenced symbol not found /usr/local/apache/bin/apachectl start: httpd could not be started But this error is documented in your guide so it is easy to fix. Note that this error never showed up if I build apache without mod_ssl and then add mod_perl as apxs. That works without a hitch. I am just wondering why the touted method of using apxs to add a apache module did not work. After all, that is the main advantatage of DSO: given an apache server with mod_so built in, one should be able to use apxs to add any well-written apache module as DSO without the apache source. This is the reason I was trying the apxs approach. We have a well customized apache binary distribution without source and I wanted to add mod_perl to it. Looks like this approach fails if mod_ssl is already built in as DSO first. Thanks for your help all the same. Richard On Sun, Mar 21, 2004 at 08:51:03PM -0800, Stas Bekman wrote: > 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 > -- 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