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

RE: installation problems



Aaron,

	I took your advice and changed the flag to not include the /openssl
portion.  Now it compiles beyond the detecting /openssl/ssl.h (which it
gives a yes now), but bombs on the "checking for ssl3_accept" portion.  Here
is the relevant portion of the config.log file.


configure:10713: checking for openssl/ssl.h
configure:10723: cc -E -I/usr/local/include/ -I/usr/local/include/sasl/
-I/usr/local/BerkeleyDB.4.2/include/ -I/usr/local/ssl/include/ conftest.c
>/dev/null 2>conftest.out
configure:10713: checking for ssl.h
configure:10723: cc -E -I/usr/local/include/ -I/usr/local/include/sasl/
-I/usr/local/BerkeleyDB.4.2/include/ -I/usr/local/ssl/include/ conftest.c
>/dev/null 2>conftest.out
configure:10719:17: ssl.h: No such file or directory
configure: failed program was:
#line 10718 "configure"
#include "confdefs.h"
#include <ssl.h>
configure:10753: checking for SSLeay_add_ssl_algorithms in -lssl
configure:10772: cc -o conftest -g -O2 -I/usr/local/include/
-I/usr/local/include/sasl/ -I/usr/local/BerkeleyDB.4.2/include/
-I/usr/local/ssl/include/ -L/usr/local/lib/ -L/usr/local/lib/sasl2/
-L/usr/local/BerkeleyDB.4.2/lib/ -L/usr/local/ssl/lib/ conftest.c -lssl
-lcrypto -lresolv  1>&5
/tmp/cc0UaO0u.o(.text+0xa): In function `main':
/opt/xtest/openldap-2.2.26/configure:10768: undefined reference to
`SSLeay_add_ssl_algorithms'
collect2: ld returned 1 exit status
configure: failed program was:
#line 10761 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char SSLeay_add_ssl_algorithms();

int main() {
SSLeay_add_ssl_algorithms()
; return 0; }
configure:10797: checking for SSL_library_init in -lssl
configure:10816: cc -o conftest -g -O2 -I/usr/local/include/
-I/usr/local/include/sasl/ -I/usr/local/BerkeleyDB.4.2/include/
-I/usr/local/ssl/include/ -L/usr/local/lib/ -L/usr/local/lib/sasl2/
-L/usr/local/BerkeleyDB.4.2/lib/ -L/usr/local/ssl/lib/ conftest.c -lssl
-lcrypto -lresolv  1>&5
/usr/local/lib//libcrypto.a(dso_dlfcn.o)(.text+0x45): In function
`dlfcn_load':
: undefined reference to `dlopen'
/usr/local/lib//libcrypto.a(dso_dlfcn.o)(.text+0xc4): In function
`dlfcn_load':
: undefined reference to `dlclose'
/usr/local/lib//libcrypto.a(dso_dlfcn.o)(.text+0x102): In function
`dlfcn_load':
: undefined reference to `dlerror'
/usr/local/lib//libcrypto.a(dso_dlfcn.o)(.text+0x1ad): In function
`dlfcn_bind_var':
: undefined reference to `dlsym'
/usr/local/lib//libcrypto.a(dso_dlfcn.o)(.text+0x1f2): In function
`dlfcn_bind_var':
: undefined reference to `dlerror'
/usr/local/lib//libcrypto.a(dso_dlfcn.o)(.text+0x2ed): In function
`dlfcn_bind_func':
: undefined reference to `dlsym'
/usr/local/lib//libcrypto.a(dso_dlfcn.o)(.text+0x337): In function
`dlfcn_bind_func':
: undefined reference to `dlerror'
/usr/local/lib//libcrypto.a(dso_dlfcn.o)(.text+0x68a): In function
`dlfcn_unload':
: undefined reference to `dlclose'
collect2: ld returned 1 exit status
configure: failed program was:
#line 10805 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char SSL_library_init();

int main() {
SSL_library_init()
; return 0; }
configure:10842: checking for ssl3_accept in -lssl
configure:10861: cc -o conftest -g -O2 -I/usr/local/include/
-I/usr/local/include/sasl/ -I/usr/local/BerkeleyDB.4.2/include/
-I/usr/local/ssl/include/ -L/usr/local/lib/ -L/usr/local/lib/sasl2/
-L/usr/local/BerkeleyDB.4.2/lib/ -L/usr/local/ssl/lib/ conftest.c -lssl
-lcrypto -lRSAglue -lrsaref -lresolv  1>&5
/usr/bin/ld: cannot find -lRSAglue
collect2: ld returned 1 exit status
configure: failed program was:
#line 10850 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char ssl3_accept();

int main() {
ssl3_accept()
; return 0; }



Thanks,

Dave Henderson

MCP, MCSA, MCSE, A+
Distributed Computer Systems Analyst
Florida Department of Corrections
Phone: 407.207.7391            Suncom: 343.7391
 
 

-----Original Message-----
From: Aaron Richton [mailto:richton@nbcs.rutgers.edu] 
Sent: Thursday, October 13, 2005 5:49 PM
To: Henderson, David
Cc: aej@WPI.EDU; openldap-software@OpenLDAP.org
Subject: RE: installation problems

Change your CPPFLAGS to -I/usr/local/ssl/include as opposed to your
current -I/usr/local/ssl/include/openssl.

On Thu, 13 Oct 2005 Henderson.David@mail.dc.state.fl.us wrote:

> I checked the log as you suggested.  Here are the openSSL related entries:
>
> configure:10713: checking for openssl/ssl.h
> configure:10723: cc -E -I/usr/local/include/ -I/usr/local/include/sasl/
> -I/usr/local/BerkeleyDB.4.2/include/ -I/usr/local/ssl/include/openssl/
> conftest.c >/dev/null 2>conftest.out
> configure:10719:25: openssl/ssl.h: No such file or directory