Hello, I have a problem installing apache-1.3.22 with mod_ssl 2.8.5
(DSO) on Solaris 8 (sparc).
I get the following error starting apache:
Syntax error on line 206 of /usr/local/apache-1.3.22/conf/httpd.conf:
Cannot load /usr/local/apache-1.3.22/arch/libexec/libssl.so into server:
ld.so.1: /usr/local/apache-1.3.22/arch/bin/httpd: fatal: relocation
error: file /usr/local/apache-1.3.22/arch/libexec/libssl.so: symbol
ap_user_id: referenced symbol not found
/etc/init.d/httpd startssl: httpd could not be started

I am have gcc-2.95.3 using GNU's ld and as (binutils-2.11).
To install apache I did the following:

- I installed mm-1.1.3 like this:
./configure --prefix=/usr/local/libmm-1.1.3 \
  --exec-prefix=/usr/local/libmm-1.1.3/arch
make
make install

- I installed openssl-0.9.6c like this:
I modified the config script to force gcc instead of cc
./config --prefix=/usr/local/openssl-0.9.6c/arch \
  --openssldir=/usr/local/openssl-0.9.6c/ssl no-idea \
  no-threads shared -fPIC
make
make install

- I installed apache-1.3.22 and mod_ssl-2.8.5 like this:
tar -xzf apache_1.3.22.tar.gz
tar -xzf mod_ssl-2.8.5-1.3.22.tar.gz
cd mod_ssl-2.8.5-1.3.22
./configure --with-apache=../apache_1.3.22
cd ../apache_1.3.22
EAPI_MM=SYSTEM SSL_BASE=SYSTEM ./configure \
   --prefix=/usr/local/apache-1.3.22 \
   --exec-prefix=/usr/local/apache-1.3.22/arch \
   --enable-module=rewrite --enable-module=so \
   --enable-shared=ssl --enable-module=ssl
make
make install


Previous search of this error led me to use -fPIC when configuring
openssl and using only static libraries of openssl, it didn't work either.
When I run ldd -r libssl.so I find that many "ap_*" symbols that aren't
found.
Am I missing something here?

Thanks for your help.

Regards,

                        Alan Mizrahi
                        Universidad Simon Bolivar
                        Laboratorio de Computacion
                        [EMAIL PROTECTED]


______________________________________________________________________
Apache Interface to OpenSSL (mod_ssl)                   www.modssl.org
User Support Mailing List                      [EMAIL PROTECTED]
Automated List Manager                            [EMAIL PROTECTED]

Reply via email to