Peter Gietz wrote:
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.
I'd done the set follow your instruction. but the errors are the same . I'd like to know that the shellscript is integrate or half done.
and may you show me the meaning of the sentence below:
LDFLAGS="-L/usr/local/BerkeleyDB.4.2/lib -L/usr/local/cyrus-sasl/lib/sasl2"
thank you very much 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
