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

Can´t compile OpenLDAP 2.0.6 with SSL/TLS



Hi,

i´ve tried to compile openldap 2.0.6 with ssl/tls support by issuing the
well known CPPFALAGS to my linux RH 6.2 box. Everything goes,
configuring, making dependencies... but when it comes to make, gcc stops
with the followingt error:

cc -g -O2 -I../../include -I../../include -I/usr/local/ssl/include -c
version.c -o version.o >/dev/null 2>&1
mv -f .libs/version.lo version.lo
/bin/sh /usr/local/openldap-2.0.6/libtool   --mode=link cc -rpath
/usr/local/lib -g -O2 -I../../include        -I../../include
-I/usr/local/ssl/include   -L/usr/local/openldap-2.0.6/libraries
-version-info 2:4:0  -o libldap.la bind.lo open.lo result.lo error.lo
compare.lo search.lo controls.lo messages.lo references.lo extended.lo
cyrus.lo modify.lo add.lo modrdn.lo delete.lo abandon.lo ufn.lo cache.lo
getfilter.lo sasl.lo sbind.lo kbind.lo unbind.lo friendly.lo free.lo
disptmpl.lo srchpref.lo dsparse.lo tmplout.lo sort.lo getdn.lo
getentry.lo getattr.lo getvalues.lo addentry.lo request.lo os-ip.lo
url.lo sortctrl.lo vlvctrl.lo init.lo options.lo print.lo string.lo
util-int.lo schema.lo charray.lo tls.lo dn.lo os-local.lo dnssrv.lo
utf-8.lo version.lo    -lssl -lcrypto
rm -fr .libs/libldap.la .libs/libldap.* .libs/libldap.*
cc -shared  bind.lo open.lo result.lo error.lo compare.lo search.lo
controls.lo messages.lo references.lo extended.lo cyrus.lo modify.lo
add.lo modrdn.lo delete.lo abandon.lo ufn.lo cache.lo getfilter.lo
sasl.lo sbind.lo kbind.lo unbind.lo friendly.lo free.lo disptmpl.lo
srchpref.lo dsparse.lo tmplout.lo sort.lo getdn.lo getentry.lo
getattr.lo getvalues.lo addentry.lo request.lo os-ip.lo url.lo
sortctrl.lo vlvctrl.lo init.lo options.lo print.lo string.lo util-int.lo
schema.lo charray.lo tls.lo dn.lo os-local.lo dnssrv.lo utf-8.lo
version.lo  -L/usr/local/openldap-2.0.6/libraries -lssl -lcrypto -lc
-Wl,-soname -Wl,libldap.so.2 -o .libs/libldap.so.2.0.4
/usr/bin/ld: cannot find -lssl
collect2: ld returned 1 exit status
make[2]: *** [libldap.la] Error 1
make[2]: Leaving directory `/usr/local/openldap-2.0.6/libraries/libldap'

make[1]: *** [all-common] Error 1
make[1]: Leaving directory `/usr/local/openldap-2.0.6/libraries'
make: *** [all-common] Error 1

I´ve tied this with openssl-0.9.5.a and with openssl-0.9.6, but with no
luck.
Any suggestions?

Stephan Budach
begin:vcard 
n:Budach;Stephan
tel;cell:+49172 406 12 85
tel;fax:+4940 4321 1114
tel;work:+4940 4321 1353
x-mozilla-html:FALSE
url:http://www.jvm.de
org:Jung von Matt Werbeagentur;IT F+E Support
adr:;;Glashüttenstr. 38;Hamburg;;20357;Deutschland
version:2.1
email;internet:stephan.budach@jvm.de
x-mozilla-cpt:;3
fn:Stephan Budach
end:vcard