Build fail with 4.0.0_rc2 on Gentoo

Alexander Bokovoy ab at samba.org
Mon Oct 15 01:16:57 MDT 2012


On Mon, Oct 15, 2012 at 7:10 AM, Mike Bryce <mike at aacomp.com.au> wrote:
> My problem is that the installation fails in the linking stage with the
> following output:
>
> ...
> [2720/2941] Linking default/source4/torture/smbtorture
> [2721/2941] Linking default/source4/torture/gentest
> [2722/2941] Linking default/source4/torture/masktest
> /usr/lib64/libldb.so: undefined reference to `rep_dlclose at LDB_1.1.12'
> /usr/lib64/libldb.so: undefined reference to `rep_dlopen at LDB_1.1.12'
> /usr/lib64/libldb.so: undefined reference to `rep_dlerror at LDB_1.1.12'
> /usr/lib64/libldb.so: undefined reference to `rep_dlsym at LDB_1.1.12'
> collect2: ld returned 1 exit status
This means your system-supplied libldb is compiled against libreplace
but exact dependency to libreplace (and libreplace itself) is missing.

> To my untrained eye, this looks like a problem with the libldb version?
> Portage reports that ldb 1.1.12 is installed:
>
> *  sys-libs/ldb
>       Latest version available: 1.1.12
>       Latest version installed: 1.1.12
>       Size of files: 1,084 kB
>       Homepage:      http://ldb.samba.org
>       Description:   An LDAP-like embedded database
>       License:       LGPL-3
>
>
> Can someone confirm if I am barking up the right tree here? If this is a
> problem with the packaging system's configure parameters or something
> like that, I'm happy to compile it manually if you think it will help
> (and can tell me which parameters should change).
This is definitely a packaging problem with system-supplied libldb.

-- 
/ Alexander Bokovoy


More information about the samba-technical mailing list