[Date Prev][Date Next]
Re: (ITS#5325) Build error: __lock_getlocker undefined symbol
On Fri, Jan 11, 2008 at 12:30:42PM -0800, Howard Chu wrote:
> firstname.lastname@example.org wrote:
> >Full_Name: Tim Bishop
> >Version: 2.4.7
> >OS: Solaris 9
> >Submission from: (NULL) (22.214.171.124)
> >I'm having trouble building 2.4.7 against bdb 4.6.21. The build error is:
> >Undefined first referenced
> > symbol in file
> >__lock_getlocker libbackends.a(bdbinit.o)
> >ld: fatal: Symbol referencing errors. No output written to .libs/slapd
> >collect2: ld returned 1 exit status
> >make: *** [slapd] Error 1
> >Is bdb 4.6.21 supported?
> It looks like either you're linking against the wrong version of libdb, or
> something is odd in the way your libdb was built. There's no OpenLDAP
> software bug here, this ITS will be closed. Use the -software mailing list
> for questions about working with the source.
For reference, it's because my libdb is built using --with-uniquename.
This means the function name is actually __lock_getlocker_4006.
I didn't see this in the documentation. OpenLDAP should either correctly
handle this case, or document that it's not supported.
PGP Key: 0x5AE7D984