Re: [apache-ssl] Compilation problems ssleay0.9.0b+apache_1.3.1+mod_ssl-
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [apache-ssl] Compilation problems ssleay0.9.0b+apache_1.3.1+mod_ssl-2.05




In article <Pine.BSF.4.01.9808281625490.12692-100000@srv.kapmail.com> you wrote:

> I am getting these errors with the default configuration.

> I also tried using the port version for freebsd and got the same
> problems.

> [...]
> cc -DHARD_SERVER_LIMIT=512
> -DDOCUMENT_LOCATION=\"/usr/local/www/data/\"
> -DDEFAULT_PATH=\"/bin:/usr/bin:/usr/local/bin\" -funsigned-char
> -DSTATUS -DMOD_SSL=200105 -I/usr/local/include -O -pipe `../../apaci`
> -o ssl_gcache ssl_gcache.o ssl_gcachecommon.o -L/usr/local/lib   -lcrypt
> -lssl -lcrypto -L../../ap -lap
> <=== src/modules/ssl
> <=== src/modules
> cc -c  -I./os/unix -I./include  -DHARD_SERVER_LIMIT=512
> -DDOCUMENT_LOCATION=\"/usr/local/www/data/\"
> -DDEFAULT_PATH=\"/bin:/usr/bin:/usr/local/bin\" -funsigned-char -DSTATUS
> -DMOD_SSL=200105 -I/usr/local/include -O -pipe `./apaci` modules.c
> cc -c  -I./os/unix -I./include  -DHARD_SERVER_LIMIT=512
> -DDOCUMENT_LOCATION=\"/usr/local/www/data/\"
> -DDEFAULT_PATH=\"/bin:/usr/bin:/usr/local/bin\" -funsigned-char -DSTATUS
> -DMOD_SSL=200105 -I/usr/local/include -O -pipe `./apaci` buildmark.c
> cc -DHARD_SERVER_LIMIT=512  -DDOCUMENT_LOCATION=\"/usr/local/www/data/\"
> -DDEFAULT_PATH=\"/bin:/usr/bin:/usr/local/bin\" -funsigned-char -DSTATUS
> -DMOD_SSL=200105 -I/usr/local/include -O -pipe `./apaci` -L/usr/local/lib
> -o httpd buildmark.o modules.o  modules/standard/libstandard.a
> modules/ssl/libssl.a  main/libmain.a  ./os/unix/libos.a  ap/libap.a
> -lcrypt -lssl -lcrypto
> rsa_lib.o: Undefined symbol `_RSA_PKCS1_RSAref' referenced from text
> segment
> err_all.o: Undefined symbol `_ERR_load_RSAREF_strings' referenced from 
> text segment

Oh, yes. If you're a US citizen you compile differently.
There Apache has to be linked against -lRSAglue and -lrsaref I think.
Try to add these to the linker flags and try again.

                                       Ralf S. Engelschall
                                       rse@engelschall.com
                                       www.engelschall.com