OK. I reran configure (in mod_ssl's toplevel directory) with
SHARED_CHAIN and then cd'd to apache and did then following.
But I still get the complaints about unresolvable dbm_store, etc.
If I "apachectl start", it runs fine.


101-> cat buildit.sh
#!/bin/sh

export SSL_BASE=../SSLeay-0.9.0b
export RSA_BASE=../rsaref-2.0/local
./configure                             \
        --enable-module=most            \
        --enable-module=rewrite         \
        --enable-module=info            \
        --enable-module=status          \
        --enable-module=ssl             \
        --enable-shared=max             \
        --enable-shared=info            \
        --enable-shared=status          \
        --enable-shared=ssl             \
        --activate-module=src/modules/perl/libperl.a    \
        --activate-module=src/modules/php3/libphp3.a    \
        --activate-module=src/modules/extra/mod_jserv   \
        --disable-shared=rewrite

find . -name "*.so" -exec rm {} \;
find . -name "*.lo" -exec rm {} \;
find . -name "*.o" -exec rm {} \;

exit


102-> ./buildit.sh
Configuring for Apache, Version 1.3.3
 + activated perl module (modules/perl/libperl.a)
 + activated php3 module (modules/php3/libphp3.a)
 + activated jserv module (modules/extra/mod_jserv)
Creating Makefile
Creating Configuration.apaci in src
 + enabling mod_so for DSO support
Creating Makefile in src
 + configured for Linux platform
 + setting C compiler to gcc
 + setting C pre-processor to gcc -E
 + checking for system header files
 + adding selected modules
    o rewrite_module uses ConfigStart/End
 + using -ldbm for DBM support
      enabling DBM support for mod_rewrite
    o dbm_auth_module uses ConfigStart/End
    o ssl_module uses ConfigStart/End
      + SSL interface: mod_ssl/2.1.0
      + SSL interface build type: DSO
      + SSL interface compatibility: enabled
      + SSL interface plugin: Vendor DBM (implicitly configured)
      + SSL library path: /root/src/SSLeay-0.9.0b
      + SSL library type: source tree only (stand-alone)
      + SSL library version: SSLeay 0.9.0b 29-Jun-1998
      + SSL library plugin mode: RSAref (explicitly configured)
      + SSL library plugin path: /root/src/rsaref-2.0/local/librsaref.a
    o perl_module uses ConfigStart/End
      + mod_perl build type: OBJ
      + id: mod_perl/1.16
      + id: Perl/5.00502 (linux) [perl]
      + setting up mod_perl build environment
      + adjusting Apache build environment
      + enabling Perl support for SSI (mod_include)
    o php3_module uses ConfigStart/End
 + enabling Extended API (EAPI)
 + using -ldl for vendor DSO support
 + doing sanity check on compiler and options
Creating Makefile in src/support
Creating Makefile in src/main
Creating Makefile in src/ap
Creating Makefile in src/regex
Creating Makefile in src/os/unix
Creating Makefile in src/modules/standard
Creating Makefile in src/modules/proxy
Creating Makefile in src/modules/ssl
Creating Makefile in src/modules/perl
Creating Makefile in src/modules/php3
Creating Makefile in src/modules/extra


103-> 

===> src/modules/ssl
gcc -c -I../..  -I/usr/local/lib/perl5/i586-linux/5.00502/CORE  -I../../os/unix 
-I../../include   -DLINUX=2 -DMOD_SSL=201100 -DMOD_PERL -DUSE_PERL_SSI -Dbool=char 
-DHAS_BOOL -I/usr/local/include -DUSE_HSREGEX -DEAPI `../../apaci` -fpic 
-DSHARED_MODULE -DS
SL_COMPAT -I/root/src/SSLeay-0.9.0b/include -DMOD_SSL_VERSION=\"2.1.0\" mod_ssl.c && 
mv mod_ssl.o mod_ssl.lo

........ gcc's deleted here.....

gcc -c -I../..  -I/usr/local/lib/perl5/i586-linux/5.00502/CORE  -I../../os/unix 
-I../../include   -DLINUX=2 -DMOD_SSL=201100 -DMOD_PERL -DUSE_PERL_SSI -Dbool=char 
-DHAS_BOOL -I/usr/local/include -DUSE_HSREGEX -DEAPI `../../apaci` -fpic 
-DSHARED_MODULE -DS
SL_COMPAT -I/root/src/SSLeay-0.9.0b/include -DMOD_SSL_VERSION=\"2.1.0\" 
ssl_engine_init.c && mv ssl_engine_init.o ssl_engine_init.lo
gcc -c -I../..  -I/usr/local/lib/perl5/i586-linux/5.00502/CORE  -I../../os/unix 
-I../../include   -DLINUX=2 -DMOD_SSL=201100 -DMOD_PERL -DUSE_PERL_SSI -Dbool=char 
-DHAS_BOOL -I/usr/local/include -DUSE_HSREGEX -DEAPI `../../apaci` -fpic 
-DSHARED_MODULE -DS
SL_COMPAT -I/root/src/SSLeay-0.9.0b/include -DMOD_SSL_VERSION=\"2.1.0\" 
ssl_util_sdbm.c && mv ssl_util_sdbm.o ssl_util_sdbm.lo
rm -f libssl.so
ld -L/root/src/SSLeay-0.9.0b -L/root/src/rsaref-2.0/local/lib -Bshareable -o libssl.so 
mod_ssl.lo ssl_engine_config.lo ssl_engine_compat.lo ssl_engine_ds.lo 
ssl_engine_init.lo ssl_engine_kernel.lo ssl_engine_io.lo ssl_engine_log.lo 
ssl_engine_mutex.lo ssl
_engine_pphrase.lo ssl_engine_scache.lo ssl_engine_vars.lo ssl_engine_ext.lo 
ssl_expr.lo ssl_expr_scan.lo ssl_expr_parse.lo ssl_expr_eval.lo ssl_util.lo 
ssl_util_sdbm.lo -lssl -lcrypto -lRSAglue -lrsaref 
-L/usr/lib/gcc-lib/i586-unknown-linux-gnulibc1/2.7.
2.3 -lgcc  
<=== src/modules/ssl

finished build, reinstalled, etc. here...

148-> sbin/apachectl startssl
/usr/local/apache/sbin/httpd: can't resolve symbol 'dbm_firstkey'
/usr/local/apache/sbin/httpd: can't resolve symbol 'dbm_store'
/usr/local/apache/sbin/httpd: can't resolve symbol 'dbm_nextkey'
/usr/local/apache/sbin/httpd: can't resolve symbol 'dbm_delete'
Syntax error on line 57 of /usr/local/apache/etc/httpd.conf:
Cannot load /usr/local/apache/libexec/libssl.so into server: Unable to resolve symbol
sbin/apachectl startssl: httpd could not be started



On Thu, 26 Nov 1998, Ralf S. Engelschall wrote:

> I've today no more time to investigate myself (will do tomorrow) but one hint:
> Try --enable-shared=SHARED_CHAIN. This way libssl.so is linked against the DBM
> stuff explicitly. When this doesn't work, please provide me with the output of
> the "configure" step and the "ld" command which is used later inside
> src/modules/ssl/.
>                                        Ralf S. Engelschall
>                                        [EMAIL PROTECTED]
>                                        www.engelschall.com
> ______________________________________________________________________
> Apache Interface to SSLeay (mod_ssl)   www.engelschall.com/sw/mod_ssl/
> Official Support Mailing List               [EMAIL PROTECTED]
> Automated List Manager                       [EMAIL PROTECTED]
> 

______________________________________________________________________
Apache Interface to SSLeay (mod_ssl)   www.engelschall.com/sw/mod_ssl/
Official Support Mailing List               [EMAIL PROTECTED]
Automated List Manager                       [EMAIL PROTECTED]

Reply via email to