On Fri, Jan 11, 2008 at 12:30:42PM -0800, Howard Chu wrote: > [EMAIL PROTECTED] wrote: > >Full_Name: Tim Bishop > >Version: 2.4.7 > >OS: Solaris 9 > >URL: > >Submission from: (NULL) (129.12.3.176) > > > > > >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[2]: *** [slapd] Error 1 > > > >Is bdb 4.6.21 supported? > > Yes. > > 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. Tim. -- Tim Bishop http://www.bishnet.net/tim/ PGP Key: 0x5AE7D984
