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

RE: slapadd can't find libdb



set variable LD_LIBRARY_PATH with that path in your startup script should
take care of it.





                                                                                                                                   
                      "MOURYLEV, Serguei                                                                                           
                      [euler:sfac]"                    To:       "'Dan Cox'" <dancox@teleport.com>, openldap-software@OpenLDAP.org 
                      <Serguei.MOURYLEV@eulergr        cc:                                                                         
                      oup.com>                         Subject:  RE: slapadd can't find libdb                                      
                      Sent by:                                                                                                     
                      owner-openldap-software@O                                                                                    
                      penLDAP.org                                                                                                  
                                                                                                                                   
                                                                                                                                   
                      06/20/2002 11:03 AM                                                                                          
                                                                                                                                   
                                                                                                                                   






I tkink that openldap is looking for in /usr/local/lib.

You should try:
env CPPFLAGS="-I/usr/local/include (your include)" \
LDFLAGS="-L/usr/local/BerkeleyDB.4.0/lib (your libs)" \
/usr/local/sbin/slapadd -n 1 -l base.ldif

Good luck,

Serguei MOURYLEV


-----Message d'origine-----
De: Dan Cox [mailto:dancox@teleport.com]
Date: jeudi 20 juin 2002 17:16
À: openldap-software@OpenLDAP.org
Objet: slapadd can't find libdb

When I try -
# /usr/local/sbin/slapadd -n 1 -l base.ldif
I get -
/usr/local/sbin/slapadd: fatal: libdb-4.0.so: open failed: No such file
or directory.

libdb-4.0.so is in /usr/local/BerkeleyDB.4.0/lib, do I need to tell
slapadd how to localte it? If so  how? By the way I'm trying this on
 Solaris 8 x86. Thanks for the help.

Dan Cox