[oclug] Apache SSl Compile Problems.... Can anyone help ????

Dave Lewis dave at dsl-co.com
Wed Feb 21 20:57:49 EST 2001


The following is the last few lines of my make... any suggestions..

 Redhat 6.2
 Apache 1.3.12
 apache_1.3.12_ssl_1.41
 openssl-0.9.5a-2 (installed via RPM)
 php 3.0.16

 ran FixPath patch
 configured apache
 configured php  (although it happens without php aswell)
 installed php
 configured apache again (as per php install instructions)

 make apache and get this at the end

 <=== modules
 gcc -c  -I./os/unix -I./include -I/usr/local/ssl/include   -DLINUX=2 
 -DTARGET=\"httpsd\" -DUSE_HSREGEX -DUSE_EXPAT -I./lib/expat-lite 
 -DNO_DL_NEEDED -DAPACHE_SSL `./apaci` modules.c
 gcc -c  -I./os/unix -I./include -I/usr/local/ssl/include   -DLINUX=2 
 -DTARGET=\"httpsd\" -DUSE_HSREGEX -DUSE_EXPAT -I./lib/expat-lite 
 -DNO_DL_NEEDED -DAPACHE_SSL `./apaci` buildmark.c
 gcc  -DLINUX=2 -DTARGET=\"httpsd\" -DUSE_HSREGEX -DUSE_EXPAT 
 -I./lib/expat-lite -DNO_DL_NEEDED -DAPACHE_SSL `./apaci`    \
       -o httpsd buildmark.o modules.o modules/standard/libstandard.a 
 modules/ssl/libssl.a modules/php3/libphp3.a main/libmain.a ./os/unix/libos.a 
 ap/libap.a regex/libregex.a lib/expat-lite/libexpat.a  
 -Wl,-rpath,/usr/local/lib/mysql  -lgd -L/usr/local/lib/mysql -lmysqlclient 
 -Lmodules/php3 -L../modules/php3 -L../../modules/php3 -lmodphp3                 
       
 -lpam -lm -ldl -lcrypt  -lresolv  -lm -lcrypt -lgdbm -L/usr/local/ssl/lib 
 -lssl -lcrypto
 modules/ssl/libssl.a(apache_ssl.o): In function `ReadRandomFiles':
 apache_ssl.o(.text+0x267): undefined reference to `RAND_egd_bytes'
 modules/ssl/libssl.a(apache_ssl.o): In function `ApacheSSLVerifyCallback':
 apache_ssl.o(.text+0x30a): undefined reference to 
 `SSL_get_ex_data_X509_STORE_CTX_idx'
 modules/ssl/libssl.a(apache_ssl.o): In function `InitSSL':
 apache_ssl.o(.text+0x12db): undefined reference to `SSL_library_init'
 modules/ssl/libssl.a(apache_ssl.o): In function `GetCertificateAndKey':
 apache_ssl.o(.text+0x1c7c): undefined reference to 
 `SSL_CTX_set_tmp_rsa_callback'
 apache_ssl.o(.text+0x1cdb): undefined reference to 
 `SSL_add_file_cert_subjects_to_stack'
 apache_ssl.o(.text+0x1d1d): undefined reference to 
 `SSL_add_dir_cert_subjects_to_stack'
 apache_ssl.o(.text+0x1d58): undefined reference to `sk_num'
 modules/ssl/libssl.a(apache_ssl.o): In function `SSLSetupConnection':
 apache_ssl.o(.text+0x2466): undefined reference to 
 `SSL_set_session_id_context'
 collect2: ld returned 1 exit status
 make: *** [target_static] Error 1
 [root at mail src]#      

-- 
Dave Lewis
Computer - Networking - Sound - Lighting Consultant
http://www.dsl-co.com
Email : dlewis at ottawa.com / dave at dsl-co.com
Mobile Email : pager at dsl-co.com






More information about the OCLUG mailing list