LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 03-25-2003, 10:46 AM   #1
fddi1
LQ Newbie
 
Registered: Sep 2001
Posts: 5

Rep: Reputation: 0
unable to configure openldap 2.1.16


Hello there,

I downloaded Openldap 2.1.16 from www.openldap.org, and I would like to install it on a RedHat 8.0 box. Before that, I also installed BDB v4. However, whenever I run ./configure, it always gives me the same error:

checking for db.h... yes
checking for Berkeley DB link (default)... no
checking for Berkeley DB link (-ldb41)... no
checking for Berkeley DB link (-ldb-41)... no
checking for Berkeley DB link (-ldb-4.1)... no
checking for Berkeley DB link (-ldb-4-1)... no
checking for Berkeley DB link (-ldb-4)... no
checking for Berkeley DB link (-ldb4)... no
checking for Berkeley DB link (-ldb)... yes
checking for Berkeley DB thread support... yes
checking Berkeley DB version for BDB backend... no
configure: error: BDB: BerkeleyDB version incompatible


Any idea how I can make it work? Thanks in advance.
 
Old 03-30-2003, 01:50 PM   #2
Freaksta
Member
 
Registered: Jan 2003
Distribution: Slackware 14.1
Posts: 283

Rep: Reputation: 34
I have the same problem under slackware.. i even downloaded and installed Berkeley DB from freshmeat (sourceforge) and still no luck.


 
Old 03-30-2003, 01:57 PM   #3
mcleodnine
Senior Member
 
Registered: May 2001
Location: Left Coast - Canada
Distribution: s l a c k w a r e
Posts: 2,731

Rep: Reputation: 45
Have you tried running 'ldconfig'?

You should also run 'make distclean' before you try to run the ./configure scrpit again.
 
Old 03-31-2003, 11:56 AM   #4
Freaksta
Member
 
Registered: Jan 2003
Distribution: Slackware 14.1
Posts: 283

Rep: Reputation: 34
Actually i had to get rid of Berkely DB and i used like gdbm instead.. i had to use --disable-bdb and --enable-gdbm --with-something-else
 
Old 05-05-2003, 01:20 PM   #5
GoneGaryT
LQ Newbie
 
Registered: May 2003
Distribution: Slackware 9
Posts: 2

Rep: Reputation: 0
Slackware 9: BerkeleyDB installs in /usr/local; these three steps have got me to the openldap-2.1.17 compile stage - you'll probably find an unconfigured db.h in /usr/include which screws up configure, the other two steps are belt'n'braces but don't make configure work by themselves (thanks to all ng info from various):

1/ Copy /usr/local/BerkeleyDB.4.1/include/db.h to /usr/include/db.h

2/ In /etc/ld.so.conf, add the line: /usr/local/BerkeleyDB.4.1/lib and run ldconfig.

3/ Start configure with (all one line):

env CPFLAGS=-I/usr/local/BerkeleyDB.4.1/include; export CPFLAGS; LDFLAGS=-L/usr/local/BerkeleyDB.4.1/lib; export LDFLAGS; ./configure

good luck
GoneGaryT

later - yeah, that worked

Last edited by GoneGaryT; 05-05-2003 at 02:13 PM.
 
Old 05-05-2003, 04:04 PM   #6
td3201
Member
 
Registered: Jan 2002
Location: Omaha, NE US
Distribution: Red Hat/CentOS
Posts: 226

Rep: Reputation: 30
Any reason why you arent using the RPMs? If you want to build it from source, grab the source rpm and edit the spec file.
 
Old 05-06-2003, 03:21 AM   #7
GoneGaryT
LQ Newbie
 
Registered: May 2003
Distribution: Slackware 9
Posts: 2

Rep: Reputation: 0
Ah, my first Linux was Slackware and came on 26 floppy disks - way before RPMs were thought of... I just never got the RPM habit, I suppose, so I still d/l source from the origin and try to compile it. Are RPMs any good, then?

ta
GoneGaryT
 
Old 05-06-2003, 08:39 AM   #8
td3201
Member
 
Registered: Jan 2002
Location: Omaha, NE US
Distribution: Red Hat/CentOS
Posts: 226

Rep: Reputation: 30
I started on slackware. I dont want to get into a distribution discussion as it usually gets bloody...but its hard not to here....

I like RPMs. They make life a little easier for me. When people say they want the flexibility of compiling their own binaries, i just say, modify the spec file and compile. Using RPMs will help keep all your applications in the same directories, like logs, configuration, binaries, libraries, etc....

This doesnt answer your question as to why it doesnt work but may solve your problem in another way.
 
Old 07-10-2003, 11:49 AM   #9
xilet
LQ Newbie
 
Registered: Jul 2003
Posts: 1

Rep: Reputation: 0
thanks

Thanks GoneGaryT, worked great for a Red Hat 7.2 box which I wanted to install openldap from source on.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
unable to configure postfix syl20 Linux - Networking 5 11-17-2004 03:03 AM
Unable to configure samba aroop Linux - Networking 3 05-08-2004 03:28 PM
Unable to configure new packages when upgrading. cirofren Linux - Newbie 0 10-27-2003 03:36 PM
Unable to configure Sylvania monitor penguin3 Linux - Hardware 2 08-01-2003 02:11 PM
Unable to configure X Windows mchakkuv Linux - General 4 09-19-2001 11:28 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 11:39 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration