Trying to compile as static module on MacOSX. Enabled rule
--enable-rule=SSL_SDBM as MacOSX does not have a built in dbm library.
However, apache quits on config looking for -ldbm. How do I prevent Apache
config from looking for this library. Thanks.

Thanks

Chandima.

CONFIGURE FOR MOD-SSL

root# env CC=cc ./configure \
--with-apache=../apache_1.3.12 \
--with-rsa=../rsaref-2.0/local \
--with-ssl=../openssl-0.9.5 \
--enable-rule=SSL_SDBM \ -> --with-apache=../apache_1.3.12 \
 -> --with-rsa=../rsaref-2.0/local \
 -> --with-ssl=../openssl-0.9.5 \
 -> --enable-rule=SSL_SDBM \
 -> 
Configuring mod_ssl/2.6.2 for Apache/1.3.12
 + Apache location: ../apache_1.3.12 (Version 1.3.12)
 + OpenSSL location: ../openssl-0.9.5
 + RSAref location: ../rsaref-2.0/local
 + Auxiliary patch tool: ./etc/patch/patch (local)
 + Applying packages to Apache source tree:
   o Extended API (EAPI)
   o Distribution Documents
   o SSL Module Source
   o SSL Support
   o SSL Configuration Additions
   o SSL Module Documentation
   o Addons
Done: source extension and patches successfully applied.

Configuring for Apache, Version 1.3.12
 + using installation path layout: Mac OS X Server (config.layout)
Creating Makefile
Creating Configuration.apaci in src
Creating Makefile in src
 + configured for Mac OS X Server platform
 + setting C pre-processor to cc -E -traditional-cpp
 + checking for system header files
 + adding selected modules
    o ssl_module uses ConfigStart/End
      + SSL interface: mod_ssl/2.6.2
      + SSL interface build type: OBJ
      + SSL interface compatibility: enabled
      + SSL interface experimental code: disabled
      + SSL interface conservative code: disabled
      + SSL interface vendor extensions: disabled
      + SSL interface plugin: Built-in SDBM
      + SSL library path: /usr/local/src/openssl-0.9.5
      + SSL library version: OpenSSL 0.9.5 28 Feb 2000
      + SSL library type: source tree only (stand-alone)
      + SSL library plugin mode: RSAref (explicitly configured)
      + SSL library plugin path: /usr/local/src/rsaref-2.0/local/librsaref.a
 + enabling Extended API (EAPI)
 + checking sizeof various data types
 + doing sanity check on compiler and options
Creating Makefile in src/support
Creating Makefile in src/regex
Creating Makefile in src/os/unix
Creating Makefile in src/ap
Creating Makefile in src/main
Creating Makefile in src/lib/expat-lite
Creating Makefile in src/modules/standard
Creating Makefile in src/modules/ssl

Now proceed with the following commands:
 $ cd ../apache_1.3.12
 $ make
 $ make certificate
 $ make install



CONFIGURE FOR APACHE


root# env CC=cc SSL_BASE=../openssl-0.9.5 \
RSA_BASE=../rsaref-2.0/local \
./configure --prefix=/Local/Library/WebServer \
--activate-module=src/modules/php4/libphp4.a \
--enable-module=speling \
--add-module=../mod_roaming-1.0.1/mod_roaming.c \
--activate-module=src/modules/dav/libdav.a \
--enable-module=info \
--enable-module=ssl \ -> RSA_BASE=../rsaref-2.0/local \
 -> ./configure --prefix=/Local/Library/WebServer \
 -> --activate-module=src/modules/php4/libphp4.a \
 -> --enable-module=speling \
 -> --add-module=../mod_roaming-1.0.1/mod_roaming.c \
 -> --activate-module=src/modules/dav/libdav.a \
 -> --enable-module=info \
 -> --enable-module=ssl \
 -> 
Configuring for Apache, Version 1.3.12
 + using installation path layout: Mac OS X Server (config.layout)
 + activated php4 module (modules/php4/libphp4.a)
 + on-the-fly added and activated roaming module
(modules/extra/mod_roaming.o)
 + activated dav module (modules/dav/libdav.a)
Creating Makefile
Creating Configuration.apaci in src
Creating Makefile in src
 + configured for Mac OS X Server platform
 + setting C pre-processor to cc -E -traditional-cpp
 + checking for system header files
 + adding selected modules
    o ssl_module uses ConfigStart/End
      + SSL interface: mod_ssl/2.6.2
      + SSL interface build type: OBJ
      + SSL interface compatibility: enabled
      + SSL interface experimental code: disabled
      + SSL interface conservative code: disabled
      + SSL interface vendor extensions: disabled
      + SSL interface plugin: Configured DBM (-ldbm)
      + SSL library path: /usr/local/src/openssl-0.9.5
      + SSL library version: OpenSSL 0.9.5 28 Feb 2000
      + SSL library type: source tree only (stand-alone)
      + SSL library plugin mode: RSAref (explicitly configured)
      + SSL library plugin path: /usr/local/src/rsaref-2.0/local/librsaref.a
    o php4_module uses ConfigStart/End
    o dav_module uses ConfigStart/End
 + enabling Extended API (EAPI)
 + checking sizeof various data types
 + doing sanity check on compiler and options
** A test compilation with your Makefile configuration
** failed.  The below error output from the compilation
** test will give you an idea what is failing. Note that
** Apache requires an ANSI C Compiler, such as gcc.

cd ..; cc  -DMAC_OS_X_SERVER -DMOD_SSL=206102 -I/usr/local/src/php-4.0b4pl1
-I/usr/local/src/php-4.0b4pl1/Zend -I/usr/local/src/php-4.0b4pl1/Zend
-I/usr/local/src/php-4.0b4pl1 -DEAPI -DUSE_EXPAT -I./lib/expat-lite
-DNO_DL_NEEDED `./apaci`   -L/usr/local/src/openssl-0.9.5
-L/usr/local/src/rsaref-2.0/local  -o helpers/dummy helpers/dummy.c
-L/usr/local/lib -L/usr/local/src/imap-4.6/c-client/lib
-L/usr/local/mysql/lib/mysql  -L/usr/local/lib
-L/usr/local/src/imap-4.6/c-client/lib -L/usr/local/mysql/lib/mysql
-Lmodules/php4 -L../modules/php4 -L../../modules/php4 -lmodphp4      -lz
-lmysqlclient -lc-client -lgd    -ldbm -lssl -lcrypto -lRSAglue -lrsaref
/usr/bin/ld: warning -L: directory name (../modules/php4) does not exist
/usr/bin/ld: warning -L: directory name (../../modules/php4) does not exist
/usr/bin/ld: can't locate file for: -ldbm
make: *** [dummy] Error 1
======== Error Output for sanity check ========
============= End of Error Report =============

 Aborting!



> From: "Ralf S. Engelschall" <[EMAIL PROTECTED]>
> Organization: Engelschall, Germany.
> Reply-To: [EMAIL PROTECTED]
> Date: Wed, 29 Mar 2000 08:06:00 +0200
> To: [EMAIL PROTECTED]
> Subject: Re: Apache dies with error "multiple definitions of symbol
> _ACCESS_DESCRIPTION_free"
> 
> On Tue, Mar 28, 2000, Chandima Cumaranatunge wrote:
> 
>> I've compiled apache 1.3.12 with mod_ssl as a dso module on MacOSX server
>> 1.02. 
>> 
>> apachectl start works fine, but apachectl startssl gives the following lines
>> in the error log.
>> 
>> dyld: /usr/local/sbin/httpd multiple definitions of symbol
>> _ACCESS_DESCRIPTION_free
>> /Local/Library/Apache/Modules/libssl.so definition of
>> _ACCESS_DESCRIPTION_free
>> /Local/Library/Apache/Modules/libssl.so definition of
>> _ACCESS_DESCRIPTION_free
> 
> I don't know MacOSX, but such symbols are definetely not part of
> mod_ssl. They have to come from some internal MacOSX stuff, I think.
> Sorry, I've no clue what MacOSX' problem is, but perhaps you should
> first try to build mod_ssl as a regular/static module instead of a DSO.
> 
> Ralf S. Engelschall
> [EMAIL PROTECTED]
> www.engelschall.com
> ______________________________________________________________________
> Apache Interface to OpenSSL (mod_ssl)                   www.modssl.org
> User Support Mailing List                      [EMAIL PROTECTED]
> Automated List Manager                            [EMAIL PROTECTED]
> 
______________________________________________________________________
Apache Interface to OpenSSL (mod_ssl)                   www.modssl.org
User Support Mailing List                      [EMAIL PROTECTED]
Automated List Manager                            [EMAIL PROTECTED]

Reply via email to