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

Re: (ITS#5325) Build error: __lock_getlocker undefined symbol



tim@bishnet.net 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.
> 
> Is there a configure option to force a particular version of bdb?

Read the INSTALL document.

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.

-- 
   -- Howard Chu
   Chief Architect, Symas Corp.  http://www.symas.com
   Director, Highland Sun        http://highlandsun.com/hyc/
   Chief Architect, OpenLDAP     http://www.openldap.org/project/