On Fri, Apr 23, 1999, Mario Jorge Nunes Filipe wrote:
> I've been upgrading apache every time there is a new release of mod_ssl
> or php. Today when i tryed to recompile apache 1.3.6 following the
> instrunctions on mod_ssl's INSTALL i got this:
>
> gcc -DLINUX=2 -DMOD_SSL=202108 -DUSE_HSREGEX -DEAPI -O2 -L /usr/lib
> `./apaci` -L/home/mjnf/apache/openssl-0.9.2b -lssl -lRSAglue -lcrypto
> \
> -o httpd buildmark.o modules.o modules/standard/libstandard.a
> modules/ssl/libssl.a modules/php3/libphp3.a main/libmain.a
> ./os/unix/libos.a ap/libap.a regex/libregex.a -Lmodules/php3
> -L../modules/php3 -L../../modules/php3 -lmodphp3
> -L/usr/lib -lpq -lldap -llber -L/usr/lib -Wl,-rpath,/usr/lib
> -L/usr/local/lib /usr/local/lib/c-client.a -lm -ldl -lcrypt
> -lnsl -lresolv -lm -lcrypt -ldbm -lssl -lcrypto -lgdbm
> modules/ssl/libssl.a(ssl_engine_init.o): In function
> `ssl_init_SSLLibrary':
> ssl_engine_init.o(.text+0x399): undefined reference to
> `SSL_library_init'
> modules/ssl/libssl.a(ssl_engine_init.o): In function
> `ssl_init_GetCertAndKey':
> ssl_engine_init.o(.text+0x590): undefined reference to
> `SSL_CTX_set_tmp_rsa_callback'
> modules/ssl/libssl.a(ssl_engine_kernel.o): In function
> `ssl_hook_NewConnection':
> ssl_engine_kernel.o(.text+0xce): undefined reference to
> `SSL_set_session_id_context'
>
> Can someone please explain whats going on? Thanks.
>
> BTW the -lssl -lRSAglue and -lcrypto were added by me to try to fix the
> problem but it didn't work.
I don't know. But the problem is definitely the libssl.a and libcrypto.a from
OpenSSL. Perhaps a ranlib run is missing. At least to try rebuild them first
and check with "nm" that the symbols in the above errors are actually
contained.
Ralf S. Engelschall
[EMAIL PROTECTED]
www.engelschall.com
______________________________________________________________________
Apache Interface to OpenSSL (mod_ssl) www.engelschall.com/sw/mod_ssl/
Official Support Mailing List [EMAIL PROTECTED]
Automated List Manager [EMAIL PROTECTED]