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

RE: installation problems



What OS are you using? are you using a very old version of OS? Eg: RH9
or Solaris2.6? Please upgrade the OS to RHFC3 or Solaris8 or later.

Gary

-----Original Message-----
From: owner-openldap-software@OpenLDAP.org
[mailto:owner-openldap-software@OpenLDAP.org] On Behalf Of
Henderson.David@mail.dc.state.fl.us
Sent: Monday, October 17, 2005 9:04 PM
To: Tay, Gary
Cc: openldap-software@OpenLDAP.org
Subject: RE: installation problems


Gary,
	Just to double check... the ssl package installs to
/usr/local/ssl (using default paths for installation)?  I moved the
previously compiled openSSL package to a .org directory (mv
/usr/local/ssl /usr/local/ssl.org), then ran the following:

Make clean
./config shared
make
make test
make install

Everything appeared to go fine.  I then tried to recompile OpenLDAP, but
still got the same problem during compile.  Are there any issues with
conflicts between certain versions of the software?  Here are the
following versions I am trying to use:

openSSL	0.9.8
bdb		5.2.52
cyrus sasl	2.2.21
openLDAP	2.2.26

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: Tay, Gary [mailto:Gary_Tay@platts.com] 
Sent: Friday, October 14, 2005 1:30 PM
To: Henderson, David
Cc: openldap-software@OpenLDAP.org
Subject: RE: installation problems

This FAQ entry would be informative to you.
 
http://www.openldap.org/faq/index.cgi?_highlightWords=meta&file=1085
 
I don't think there is any restriction that one can't store Samba data
in LDAP using BDB.
 
Could you re-configure OpenSSL with just "shared", prior to "make",
"make clean" to make sure you start from a clean state, and then build
and install the OpenSSL binaries again.
 
Gary

	-----Original Message----- 
	From: Henderson.David@mail.dc.state.fl.us
[mailto:Henderson.David@mail.dc.state.fl.us] 
	Sent: Sat 10/15/2005 12:19 AM 
	To: Tay, Gary 
	Cc: openldap-software@OpenLDAP.org 
	Subject: RE: installation problems
	
	

	Gary,

	            I changed the installation scripts back to using the
"-I/usr/local/ssl/include" parameter.  I also found out I was compiling
a static library version of OpenSSL, which I have recompiled and
installed using "./config shared zlib-dynamic".  Still bombs at the same
point in the installation routine.

	

	            BTW, thanks for explaining those switches for me.
Is it possible to have Samba use bdb as the backend instead of "ldbm"?
What are meta definitions?

	

	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: Tay, Gary [mailto:Gary_Tay@platts.com] 
	Sent: Thursday, October 13, 2005 9:43 PM
	To: Henderson, David
	Subject: RE: installation problems

	

	Looking at the config.log you post later I believe you should
use "-I/usr/local/ssl/include".

	

	Did you configure OpenSSL using "shared" option?

	

	# cd openssl-0.9.7g

	# ./config shared

	# make clean

	# make

	# make install

	

	"-enable-ldbm -enable-ldap -enable-meta"

	

	The 1st one for some backend that SambaLDAP Tools
(smbldap-tools) assume, the OL developers favorites BDB and HDB

	The 2nd for proxy server

	The 3rd for meta defintions

	

	Depends on what you need. That was why I said "something
like"...

	

	Gary

		-----Original Message-----
		From: Henderson.David@mail.dc.state.fl.us
[mailto:Henderson.David@mail.dc.state.fl.us] 
		Sent: Thursday, October 13, 2005 11:05 PM
		To: Tay, Gary; quanah@stanford.edu;
ezra.taylor@gmail.com
		Cc: openldap-software@OpenLDAP.org
		Subject: 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?

		

		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: 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
LD_LIBRARY_PATH="/usr/local/lib:/usr/local/lib/sasl2:/usr/local/Berkeley
DB.4
.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

		Gary 

		-----Original Message----- 
		From: owner-openldap-software@OpenLDAP.org
[mailto:owner-openldap-software@OpenLDAP.org
<mailto:owner-openldap-software@OpenLDAP.org> ] On Behalf Of
Henderson.David@mail.dc.state.fl.us

		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 (4.2.52.4), 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/ -I/usr/local/BerkeleyDB.4.2/include/" 
		# 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
appreciated.

		Thanks, 

		Dave Henderson