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

Re: slapd problem



I reconfigured and recompiled openldap with that env variable and now slapd executes without err. Thanks.

Chris


From: kunkee@neosoft.com (Randy Kunkee)
To: Simon.Ritchie@net.ntl.com
CC: Christopher Cardinal <cocteau999@hotmail.com>, openldap-software@OpenLDAP.org
Subject: Re: slapd problem
Date: Wed, 4 Oct 2000 12:21:27 -0500 (CDT)


Or, before running configure add a suitable -R flag to add the needed
shared lib directories to the executables, eg.

LDFLAGS="-R /usr/local/lib"

Other OSs may have different ways of doing this.  Consult your man page
for ld.

Randy


>
>
> > -----Original Message-----
> > From: owner-openldap-software@OpenLDAP.org
> > [mailto:owner-openldap-software@OpenLDAP.org]On Behalf Of Christopher
> > Cardinal
> > Sent: 04 October 2000 15:34
> > To: openldap-software@OpenLDAP.org
> > Subject: slapd problem
> >
> >
> > On Solaris 2.6, when I run slapd, I get:
> >
> > /usr/local/libexec/slapd
> > ld.so.1: /usr/local/libexec/slapd: fatal: libgdbm.so.2: open
> > failed: No such
> > file or directory
> > Killed
> >
> > So I then run:
> >
> > env LD_LIBRARY_PATH=/var/usr_local/lib /usr/local/libexec/slapd
> > and it works fine.
> >
> > So, did I miss something at compile time? I don't really
> > understand that env
> > variable. I guessed it from reading all the README's and
> > INSTALL's I could
> > find.
>
> I think that this relates to a problem I described in my previous posting,
> but I am using Linux and your are seeing the Solaris version. The
> installation has set up some extra shared libraries in a directory that the
> system doesn't know about, and you have to tell it where they are. That's
> the purpose of the variable. Under Linux, you have to run a program called
> ldconfig.
>
> Simon
>
>



_________________________________________________________________________ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.

Share information about yourself, create your own public profile at http://profiles.msn.com.