[Date Prev][Date Next] [Chronological] [Thread] [Top]

Apache compile fails on OpenLDAP



CLASSIFICATION: UNCLASSIFIED

Hello all!

Apache 1.3.22
OpenLDAP - 2.0.23
OpenSSL - 0.9.6c
Mod_SSL - 2.8.5-1.3.22

I use for apache:

./configure --activate-module=src/modules/ldap/mod_auth_ldap.c
--activate-module=src/modules/perl/libperl.a --prefix=/usr/opt/apache
--with-layout=opt --localstatedir=/usr/opt/apache/var --enable-module=most
--enable-module=ssl --enable-module=perl --enable-shared=max
--disable-shared=perl --disable-rule=EXPAT

And get no problems or errors.

I run "make" and everything goes ok till:

<=== src/modules
gcc -c -I. -I/usr/libdata/perl/5.00503/mach/CORE -I./os/unix -I./include
-funsigned-char -DMOD_SSL=208105 -I/usr/local/include -DMOD_PERL
-DUSE_PERL_SSI  -DEAPI `./apaci` modules.c
gcc -c -I. -I/usr/libdata/perl/5.00503/mach/CORE -I./os/unix -I./include
-funsigned-char -DMOD_SSL=208105 -I/usr/local/include -DMOD_PERL
-DUSE_PERL_SSI  -DEAPI `./apaci` buildmark.c
gcc  -funsigned-char -DMOD_SSL=208105 -I/usr/local/include -DMOD_PERL
-DUSE_PERL_SSI  -DEAPI `./apaci`   -Wl,-E  -o httpd buildmark.o modules.o
modules/standard/libstandard.a  modules/ldap/libldap.a
modules/perl/libperl.a  main/libmain.a  ./os/unix/libos.a  ap/libap.a
/usr/local/lib/libldap.a /usr/local/lib/liblber.a  -lcrypt   -Wl,-R/usr/lib
-Wl,-E -lperl -lm
/usr/libdata/perl/5.00503/mach/auto/DynaLoader/DynaLoader.a
-L/usr/libdata/perl/5.00503/mach/CORE -lperl -lm -lc -lcrypt -lperl -lm
/usr/local/lib/libldap.a(tls.o): In function `ldap_pvt_tls_destroy':
/usr/home/jonese/SRC_Files/openldap-2.0.23/libraries/libldap/tls.c:107:
undefined reference to `SSL_CTX_free'
/usr/home/jonese/SRC_Files/openldap-2.0.23/libraries/libldap/tls.c:110:
undefined reference to `EVP_cleanup'
/usr/home/jonese/SRC_Files/openldap-2.0.23/libraries/libldap/tls.c:111:
undefined reference to `ERR_free_strings' <<<SNIP>>>

/usr/home/jonese/SRC_Files/openldap-2.0.23/libraries/libldap/tls.c:1206:
undefined reference to `X509_NAME_oneline'
/usr/home/jonese/SRC_Files/openldap-2.0.23/libraries/libldap/tls.c:1207:
undefined reference to `X509_NAME_oneline'
/usr/home/jonese/SRC_Files/openldap-2.0.23/libraries/libldap/tls.c:1214:
undefined reference to `CRYPTO_free'
/usr/home/jonese/SRC_Files/openldap-2.0.23/libraries/libldap/tls.c:1216:
undefined reference to `CRYPTO_free'
/usr/local/lib/libldap.a(tls.o): In function `tls_report_error':
/usr/home/jonese/SRC_Files/openldap-2.0.23/libraries/libldap/tls.c(.text+0x1
713): undefined reference to `ERR_error_string'
/usr/home/jonese/SRC_Files/openldap-2.0.23/libraries/libldap/tls.c(.text+0x1
732): undefined reference to `ERR_get_error_line'
/usr/local/lib/libldap.a(tls.o): In function `tls_tmp_rsa_cb':
/usr/home/jonese/SRC_Files/openldap-2.0.23/libraries/libldap/tls.c(.text+0x1
761): undefined reference to `RSA_generate_key'
*** Error code 1

Stop in /usr/home/jonese/SRC_Files/apache_1.3.22/src.
*** Error code 1

Stop in /usr/home/jonese/SRC_Files/apache_1.3.22.
*** Error code 1

Stop in /usr/home/jonese/SRC_Files/apache_1.3.22.


Anyone have any ideas???


Eric Jones (Contractor)
FDIC Web Enabler
E-mail: jonese@hua.army.mil
Office - 520-533-6628
Cell - 520-930-2136
Email Pager - 5209802136@messaging.nextel.com