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

RE: installation problems

Thanks guys/gals for your help with my problems.  I ended up using the
syntax that Gary submitted to try to install, but now am getting the
following error message...


            Configure: error: Could not locate TLS/SSL package


I am positive that I have it installed.  I did notice that during the
configuration portion it is listing "Found ssl.h" as no.  I even adjusted
the below syntax to use "/usr/local/ssl/include/openssl" where applicable.


            Another question I have is, why would I want to "-enable-ldbm
-enable-ldap -enable-meta" if I am only going to use Berkeley DB.  Can I
remove those other types of authentication or do I still need them in order
to use bdb?




Dave Henderson



Distributed Computer Systems Analyst

Florida Department of Corrections

Phone: 407.207.7391            Suncom: 343.7391



-----Original Message-----
From: Tay, Gary [mailto:Gary_Tay@platts.com] 
Sent: Tuesday, October 11, 2005 11:38 PM
To: Henderson, David
Subject: RE: installation problems


Try something like: 

# env
.2/lib:/usr/local/ssl/lib" LDFLAGS="-L/usr/local/lib -L/usr/local/lib/sasl2
-L/usr/local/BerkeleyDB.4.2/lib -L/usr/local/ssl/lib -R/usr/local/lib
-R/usr/local/lib/sasl2 -R/usr/local/BerkeleyDB.4.2/lib -R/usr/local/ssl/lib"
CPPFLAGS="-I/usr/local/include -I/usr/local/include/sasl
-I/usr/local/BerkeleyDB.4.2/include -I/usr/local/ssl/include" ./configure
--enable-bdb --enable-ldbm --enable-ldap --enable-meta --enable-crypt
--with-tls --with-cyrus-sasl


-----Original Message----- 
From: owner-openldap-software@OpenLDAP.org [
mailto:owner-openldap-software@OpenLDAP.org] On Behalf Of

Sent: Tuesday, October 11, 2005 11:28 PM 
To: openldap-software@OpenLDAP.org 
Subject: installation problems 


Hi all, 

            I am having two problems while installing openLDAP.  To give you
a synopsis of what's happened so far... I have successfully installed the
latest version (in this order) of openSSL, Berkeley DB (, and Cyrus
Sasl.  I found that I should not be installing the latest version of BDB
because of stability issues, but before finding that out, I had installed
the latest.  I removed all the files associated with the 4.3.x version and
now get the following error:


# export CPPFLAGS="-I/usr/local/include/ -I/usr/local/ssl/include/openssl/
# export LDFLAGS="-L/usr/local/lib/ -L/usr/local/ssl/lib/
-L/usr/local/BerkeleyDB.4.2/lib/" #./configure --with-cyrus-sasl
--disable-cleartext --enable-spasswd --enable-slurpd --enable-bdb ...
checking for sys/un.h... yes checking for openssl/ssl.h... no checking for
ssl.h... no

configure: warning: Could not locate TLS/SSL package 
configure: warning: TLS data protection not supported! 
checking for _beginthread... no 
checking for pthread.h... yes 
checking number of arguments of gethostbyaddr_r... 8 
checking for db.h... yes 
checking for Berkeley DB link (default)... no 
checking for Berkeley DB link (-ldb43)... no 
checking for Berkeley DB link (-ldb-43)... no 
checking for Berkeley DB link (-ldb-4.3)... no 
checking for Berkeley DB link (-ldb-4-3)... no 
checking for Berkeley DB link (-ldb42)... no 
checking for Berkeley DB link (-ldb-42)... no 
checking for Berkeley DB link (-ldb-4.2)... yes 
checking for Berkeley DB version match... no 
configure: error: Berkeley DB version mismatch 

            My other problem comes when configuring the openLDAP package. It
keeps saying that I don't have SSL/TLS installed, but I do.  In fact it is
installed in its default location (/usr/local/ssl).  I have tried to install
using the -with-ssl (or whichever parameter it is), but nothing I do seems
to assist the configure script in finding the ssl header or library file.  I
have also tried modifying the CPPFLAGS and LDFLAGS to include the
/usr/local/ssl/include/openssl directories.  Any help would be greatly



Dave Henderson 

Attachment: image001.jpg
Description: JPEG image