On Thu, Mar 25, 1999, [EMAIL PROTECTED] wrote:

> Full_Name: 
> Version: 2.2.6-1.3.6
> OS: Solaris
> Submission from: sasquach.eglin.af.mil (129.61.201.204)
> 
> The instructions for compiling openssl-0.9.2b/mod_ssl/apache work
> for both the simple and apaci installations.  The problem I have is
> when I try to add mod_perl.  I always get the following error:
> 
> Undefined                       first referenced
>  symbol                             in file
> SSLeay_add_ssl_algorithms           modules/ssl/libssl.a(ssl_engine_init.o)
> 
> Here is the compile line:
> gcc  -DSOLARIS2=251 -DMOD_SSL=202106 -DMOD_PERL \
>  -DUSE_PERL_SSI -I/usr/local/include -DAP_COMPAT  -DEAPI \
> `./apaci` -L/source/apache/Future_standard/test/openssl-0.9.2b \
>  -o httpd buildmark.o modules.o  modules/ssl/libssl.a  \
> modules/perl/libperl.a  modules/cntr/libcntr.a \
> modules/standard/libstandard.a  main/libmain.a  ./os/unix/libos.a \
> ap/libap.a -lsocket -lnsl  -lssl -lcrypto  -L/usr/local/lib \
> 
>/usr/local/products/perl-5.004p04/lib/sun4-solaris/5.00404/auto/DynaLoader/DynaLoader.a
> \
> -L/usr/local/products/perl-5.004p04/lib/sun4-solaris/5.00404/CORE \
> -lperl -lsocket -lnsl -ldl -lm -lc -lcrypt   -lm -ldl

Hmmm.. that's strange. I've no clue what's wrong. The linker command looks
fine. When you compile without mod_perl but with mod_ssl it's fine, right?
Strange. You can only do the following: Check with "nm" that the symbol is
really in OpenSSL's libcrypto.a/libssl.a and additionally run a "ranlib" over
the libs. When it then doesn't work I've no clue, sorry.

                                       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]

Reply via email to