Hi Dmitrij and Leon,

it is no good idea to copy all the files! Everytime you want to do that have a look at the unix command ln for creating file links (especially "ln -s", see man ln).

In this OpenLDAP case you even wouldn't want to create symbolic links, but tell OpenLDAP configure where to find the BDB libraries. You can do this by setting apropriate environment variables. I do it by writing a shellscript with my ./configure commands, e.g.:

LDFLAGS="-L/usr/local/BerkeleyDB.4.2/lib"
CPPFLAGS="-I/usr/local/BerkeleyDB.4.2/linclude"
./configure --prefix=/usr/local/openldap --enable-bdb

If needed, you can include more paths to libraries and includes needed by OpenLDAP, e.g. for SASL, then the first line would be in my configuration:
LDFLAGS="-L/usr/local/BerkeleyDB.4.2/lib -L/usr/local/cyrus-sasl/lib/sasl2"


I hope this helps.

Cheers,

Peter


Dmitrij Mironov wrote:


Hi Leon,

openldap installation problems, IMHO, is not a subject for this forum, but we'll try to help you :o).

I had such problem (i'm newbie in *nix). First - did you have installed BerkeleyDB ? If not, go to www.sleepycat.com . Secod - if you have installed BerkeleyDB, then you must ensure, what libs and other stuff of BerkeleyDB can be found in appropriate directories. I.e. I do not know how to include some dir in search path (I know, lamma ;o) ), but this is my workaround :
- I have installed BerkeleyDB in /usr/local/bdb
- after install I have copyed all files from :
/usr/local/bdb/lib to /usr/lib
/usr/local/bdb/bin to /usr/bin
/usr/local/bdb/include to /usr/include
- after that openldap ./configure goes well :o)


Sure you can install BerkeleyDB with --prefix=/usr and i think will be no need to do copies.

good luck


On Tue, 06 Apr 2004 00:50:36 +0000, lin leon wrote


when i install the openldap,i follow the install docs of the openldap.and when i do ./configure,it shows me a error:BerkeleyDB version incompatible. what shall i do with this? thank you for help

leon

_________________________________________________________________
�����������ѽ��н�������ʹ�� MSN Messenger: http://messenger.msn.com/cn


-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
Openca-Users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/openca-users





------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id70&alloc_id638&op=click _______________________________________________ Openca-Users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/openca-users





--
_______________________________________________________________________

Peter Gietz (CEO)
DAASI International GmbH                phone: +49 7071 2970336
Wilhelmstr. 106                         Fax:   +49 7071 295114
D-72074 T�bingen                        email: [EMAIL PROTECTED]
Germany                                 Web:   www.daasi.de

Directory Applications for Advanced Security and Information Management
_______________________________________________________________________




------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id70&alloc_id638&op=click _______________________________________________ Openca-Users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/openca-users

Reply via email to