hi,
i want to install apache-1.3.9 + mod_ssl-2.4.9-1.3.9 on a sun sparc with
solaris 2.7. i'm using openssl-0.9.4.
i can compile and install successfully openssl with the folowing commands:
./Configure solaris64-sparcv9-cc --prefix=/usr/local/tajapatxe/openssl
make
make install
then i configure mod_ssl with:
./configure --with-apache=../apache_1.3.9
and then
cd ../apache_1.3.9
SSL_BASE=/usr/local/ssl ./configure \
--prefix=/usr/local/tajapatxe/apatxe \
--enable-module=ssl
at this time i get the following ld error:
...
gcc -DSOLARIS2=270 -DMOD_SSL=204109 -DEAPI -DUSE_EXPAT
-I./lib/expat-lite `./apaci` -L/usr/local/tajapatxe/fonts/openssl-0.9.4 -o
httpd buildmark.o modules.o modules/ssl/libssl.a
modules/standard/libstandard.a main/libmain.a ./os/unix/libos.a ap/libap.a
lib/expat-lite/libexpat.a -lsocket -lnsl -lssl -lcrypto
Undefined first referenced
symbol in file
d2i_SSL_SESSION modules/ssl/libssl.a(ssl_engine_scache.o)
SSL_get_verify_mode modules/ssl/libssl.a(ssl_engine_kernel.o)
SSL_library_init modules/ssl/libssl.a(ssl_engine_init.o)
... a lot more of pairs symbol-reference ...
SSL_accept modules/ssl/libssl.a(ssl_engine_kernel.o)
X509_NAME_oneline modules/ssl/libssl.a(ssl_engine_init.o)
ERR_get_error modules/ssl/libssl.a(ssl_engine_log.o)
ld: fatal: Symbol referencing errors. No output written to httpd
collect2: ld returned 1 exit status
make[2]: *** [target_static] Error 1
make[2]: Leaving directory `/usr/local/tajapatxe/fonts/apache_1.3.9/src'
make[1]: *** [build-std] Error 2
make[1]: Leaving directory `/usr/local/tajapatxe/fonts/apache_1.3.9'
make: *** [build] Error 2
i'm sorry but my knowledge about .a files is null, but look at this:
$ ls -l src/modules/ssl/libssl.a
-rw-r--r-- 1 adeim staff 275196 Dec 21 16:36 src/modules/ssl/libssl.a
$ ls -l ../openssl-0.9.4/libssl.a
-rw-r--r-- 1 adeim staff 496580 Dec 21 16:22 ../openssl-0.9.4/libssl.a
i noticed that the file size differ, so i overwrote libssl.a in
src/modules/ssl with ../openssl-0.9.4, and try to make again. at this time
a get a similar error but now only one symbol remains unreferenced:
... compiling messages ...
Undefined first referenced
symbol in file
ssl_module modules.o
ld: fatal: Symbol referencing errors. No output written to httpd
collect2: ld returned 1 exit status
make[2]: *** [target_static] Error 1
make[2]: Leaving directory `/usr/local/tajapatxe/fonts/apache_1.3.9/src'
make[1]: *** [build-std] Error 2
make[1]: Leaving directory `/usr/local/tajapatxe/fonts/apache_1.3.9'
make: *** [build] Error 2
$
any idea where i can find this symbol (or how it should be added to
libssl.a).
any help will be appreciated. thanks.
--------------------------------------
david manye i robert
departament d'enginyeria informatica i matematiques
universitat rovira i virgili
autovia de salou, s/n
43006 tarragona
tel.: 977-559706
e-mail: [EMAIL PROTECTED]
______________________________________________________________________
Apache Interface to OpenSSL (mod_ssl) www.modssl.org
User Support Mailing List [EMAIL PROTECTED]
Automated List Manager [EMAIL PROTECTED]