[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Re: OpenSSL 0.9.6c and OpenLDAP 2.0.22
Igor Brezac wrote:
>
> On Tue, 5 Feb 2002, Madalina Baltatu wrote:
>
> > With the same library path if I ldd ssl/lib/libssl.so
> > I can see libcrypto.so.0 linked OK, so I guess OpenSSL
> > is installed properly.
> > On the other hand I saw that configure declares
> > SSLeay_add_ssl_algorithms and SSL_library_init to return a
> > char value (instead of an int as in ssl.h).
> >
> > Has anybody come accross this problem?
> > Thanks in advance for your help.
>
> Email us 'tail $src/config.log'
>
> -Igor
Below you'll find the final part of config.log (all related to SSL
stuff):
configure:5784: gcc -E -I/u/security/openssl/include
-I/usr/local/BerkeleyDB.3.2
/include -I/usr/local/include conftest.c >/dev/null 2>conftest.out
configure:6394: checking for openssl/ssl.h
configure:6404: gcc -E -I/u/security/openssl/include
-I/usr/local/BerkeleyDB.3.2
/include -I/usr/local/include conftest.c >/dev/null 2>conftest.out
configure:6394: checking for ssl.h
configure:6404: gcc -E -I/u/security/openssl/include
-I/usr/local/BerkeleyDB.3.2
/include -I/usr/local/include conftest.c >/dev/null 2>conftest.out
configure:6400: ssl.h: No such file or directory
configure: failed program was:
#line 6399 "configure"
#include "confdefs.h"
#include <ssl.h>
configure:6433: checking for SSLeay_add_ssl_algorithms in -lssl
configure:6452: gcc -o conftest -g -O2 -I/u/security/openssl/include
-I/usr/loca
l/BerkeleyDB.3.2/include -I/usr/local/include -L/u/security/openssl/lib
-L/usr/l
ocal/BerkeleyDB.3.2/lib -L/usr/local/lib
-R/u/security/openssl/lib:/usr/local/Be
rkeleyDB.3.2/lib:/usr/local/lib conftest.c -lssl -lcrypto -lresolv -lgen
-lnsl -
lsocket 1>&5
/var/tmp/ccdGPbCr.o: In function `main':
/local/archive/openldap-2.0.22/configure:6448: undefined reference to
`SSLeay_ad
d_ssl_algorithms'
collect2: ld returned 1 exit status
configure: failed program was:
#line 6441 "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:6477: checking for SSL_library_init in -lssl
configure:6496: gcc -o conftest -g -O2 -I/u/security/openssl/include
-I/usr/loca
l/BerkeleyDB.3.2/include -I/usr/local/include -L/u/security/openssl/lib
-L/usr/l
ocal/BerkeleyDB.3.2/lib -L/usr/local/lib
-R/u/security/openssl/lib:/usr/local/Be
rkeleyDB.3.2/lib:/usr/local/lib conftest.c -lssl -lcrypto -lresolv -lgen
-lnsl -
lsocket 1>&5
/var/tmp/ccxEOCnl.o: In function `main':
/local/archive/openldap-2.0.22/configure:6492: undefined reference to
`SSL_libra
ry_init'
collect2: ld returned 1 exit status
configure: failed program was:
#line 6485 "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:6522: checking for ssl3_accept in -lssl
configure:6541: gcc -o conftest -g -O2 -I/u/security/openssl/include
-I/usr/loca
l/BerkeleyDB.3.2/include -I/usr/local/include -L/u/security/openssl/lib
-L/usr/l
ocal/BerkeleyDB.3.2/lib -L/usr/local/lib
-R/u/security/openssl/lib:/usr/local/Be
rkeleyDB.3.2/lib:/usr/local/lib conftest.c -lssl -lcrypto -lRSAglue
-lrsaref -lr
esolv -lgen -lnsl -lsocket 1>&5
/usr/local/sparc-sun-solaris2.8/bin/ld: cannot find -lRSAglue
collect2: ld returned 1 exit status
configure: failed program was:
#line 6530 "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 again and sorry for disturbing...
Madalina