lin leon wrote: > > 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 .
Oops sorry: you have to put everything in one line. You can do this by inserting "\" at the end of the lines: LDFLAGS="-L/usr/local/BerkeleyDB.4.2/lib" \ CPPFLAGS="-I/usr/local/BerkeleyDB.4.2/linclude" \ ./configure --prefix=/usr/local/openldap --enable-bdb > 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" > The environment variable LDFLAGS is used by the compiler (and before by configure) to find libraries to load. This second example with sasl only wanted to show, that you can define more than one library path. If the first example still doesn't work, you may have installed the dbd somewhere else. You have to adjust the path accordingly > > 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 > -- _______________________________________________________________________ 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
