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

Re: openldap on Linux/alpha (ITS#295)



On Sun, Sep 19, 1999 at 04:37:46AM +0000, jeffgus@zimage.com wrote:
> On Sat, 18 Sep 1999, Kurt D. Zeilenga wrote:
> 
> > >         I tried that originally.  I just tried it again with the LDFLAG
> > > stuff and still no go.
> > > 
> > >                                 ...Jeff
> > 
> > Only thing I can suggest is to use ldd to verify that slapd is linked against
> > the appropriate dynamic library.  You might even add a call db_version()
> > to verify you got the right stuff.
> > 
> > 	fprintf(stderr, "db.h:\t%s\n-ldb:\t%s\n",
> > 		DB_VERSION_STRING, db_version(NULL,NULL,NULL) );
> > 
> > Kurt
> > 
> 
> 	It looks like it did pick up the correct library:
> 
> Sep 18 21:36:31 alpha slapd: db.h:^ISleepycat Software: Berkeley DB 2.7.7:
> (08/20/99)
> Sep 18 21:36:31 alpha slapd[16138]: ldbm_db_errcall(): ==> illegal flag
> specified to db_appinit
> Sep 18 21:36:31 alpha slapd[16138]: ldbm_initialize(): FATAL error in
> db_appinit() : Invalid argument  
> Sep 18 21:36:31 alpha slapd: -ldb:^ISleepycat Software: Berkeley DB 2.7.7:
> (08/20/99)

But when running it, it's probably using the glibc db lib. Try adding
LD_LIBARY_PATH=/path/to/new/db before exucuting slapd.

Ben