>
> Hi
>
> 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:
>
[ make errors deleted ]
>
> 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.
>
Did you do --enable-shared=ssl and see if that helps ? It did for me.
I seem to get similar errors also. Although in my case I am building
Apache with mod_perl, mod_auth_msql and mod_ssl. The weird part is
that I follow the directions in the mod_ssl instructions (the flexible
way of doing things) and things work fine as long as I am not trying
to make all the mod_* linked in statically. I have gone through five
diffrent builds of apache with diffrent combinations of the mods I am
interested in:
Apache + mod_auth_msql ............................. fine
Apache + mod_auth_msql + mod_perl .................. fine
Apache + mod_ssl ................................... fine
Apache + mod_ssl + mod_auth_msql ................... fine
Apache + mod_auth_msql + mod_perl + mod_ssl ........ broken
Apache + mod_auth_msql + mod_perl + dso mod_ssl .... fine
All the mods are static except for the last case where mod_ssl was a
DSO. I am using OpenSSL-0.9.2b, mod_ssl-2.2.8-1.3.6, mod_perl-1.19
and Apache 1.3.6.
I currently have everything linked in as a DSO and that has worked
fine too. It seems that if I try to link mod_ssl in statically when I
have mod_perl also linked in statically, things fail.
Here are the errors I seem to be getting:
gcc -c -I. -I/opt/lib/perl5/5.00502/ppc-linux/CORE -I./os/unix -I./include
-I/opt/msql/include -DLINUX=2 -DMOD_SSL=202108 -DMOD_PERL -DUSE_PERL_SSI -Dbool=char
-DHAS_BOOL -I/usr/local/include -DUSE_HSREGEX -DEAPI `./apaci` modules.c
gcc -c -I. -I/opt/lib/perl5/5.00502/ppc-linux/CORE -I./os/unix -I./include
-I/opt/msql/include -DLINUX=2 -DMOD_SSL=202108 -DMOD_PERL -DUSE_PERL_SSI -Dbool=char
-DHAS_BOOL -I/usr/local/include -DUSE_HSREGEX -DEAPI `./apaci` buildmark.c
gcc -DLINUX=2 -DMOD_SSL=202108 -DMOD_PERL -DUSE_PERL_SSI -Dbool=char -DHAS_BOOL
-I/usr/local/include -DUSE_HSREGEX -DEAPI `./apaci` -L/opt/ssl/lib -L/usr/local/lib
-rdynamic \
-o httpd buildmark.o modules.o modules/proxy/libproxy.a
modules/example/libexample.a modules/ssl/libssl.a modules/perl/libperl.a
modules/experimental/libexperimental.a modules/standard/libstandard.a
modules/extra/libextra.a main/libmain.a ./os/unix/libos.a ap/libap.a regex/libregex.a
-L/opt/msql/lib -lmsql -lm -lcrypt -ldbm -ldb -lssl -lcrypto -lRSAglue -lrsaref
-rdynamic -L/usr/local/lib
/opt/lib/perl5/5.00502/ppc-linux/auto/DynaLoader/DynaLoader.a
-L/opt/lib/perl5/5.00502/ppc-linux/CORE -lperl -lnsl -lgdbm -ldbm -ldb -ldl -lmoto -lm
-lc -lposix -lcrypt -ldl
modules/ssl/libssl.a(ssl_engine_init.o): In function `ssl_init_SSLLibrary':
ssl_engine_init.o(.text+0x680): undefined reference to `SSLeay_add_ssl_algorithms'
collect2: ld returned 1 exit status
make[2]: *** [target_static] Error 1
make[2]: Leaving directory `/opt/sources/BUILD/apache_1.3.6/src'
make[1]: *** [build-std] Error 2
make[1]: Leaving directory `/opt/sources/BUILD/apache_1.3.6'
make: *** [build] Error 2
--
"My grandfather once told me that there are two kinds of people: those
who work and those who take the credit. He told me to try to be in the
first group; there was less competition there."
- Indira Gandhi
______________________________________________________________________
Apache Interface to OpenSSL (mod_ssl) www.engelschall.com/sw/mod_ssl/
Official Support Mailing List [EMAIL PROTECTED]
Automated List Manager [EMAIL PROTECTED]