Just a guess: Do you have a libtdb-devel (or something like that) package
installed? If so, maybe try uninstalling it before compiling Samba. Then
Samba will use its own built-in version.
On 24 June 2013 09:34, St?phane PURNELLE <stephane.purnelle at
corman.be>wrote:
> Hi all,
>
> I have a problem when I try to compil samba 4.0.6 on my test machine
> (suse linux enterprise server 11 SP2 32-bits).
>
> output of compilation :
>
> [3353/3781] Linking default/lib/param/libsamba-hostconfig.so
> [3354/3781] Linking default/lib/tdb_wrap/libtdb-wrap.so
> [3355/3781] Linking default/libcli/security/libsamba-security.so
> [3356/3781] Linking default/lib/util/libutil_tdb.so
> [3357/3781] Linking default/auth/libauth_sam_reply.so
> [3358/3781] Linking default/lib/util/libsamba-modules.so
> [3359/3781] Linking default/source4/lib/socket/libnetif.so
> [3360/3781] Linking default/source4/lib/samba3/libsmbpasswdparser.so
> [3361/3781] Linking default/lib/torture/libtorture.so
> [3362/3781] Linking default/source3/libsmbd_conn.so
> [3363/3781] Linking default/libcli/security/pysecurity.so
> [3364/3781] Linking default/source3/libCHARSET3.so
> [3365/3781] Linking default/libcli/registry/libutil_reg.so
> [3366/3781] Linking default/lib/util/libtevent-util.so
> [3367/3781] Linking default/source4/heimdal_build/libkrb5-samba4.so
> [3368/3781] Linking default/source4/heimdal_build/libgssapi-samba4.so
> [3369/3781] Linking default/libcli/ldap/libcli-ldap-common.so
> [3370/3781] Linking default/lib/dbwrap/libdbwrap.so
> default/lib/dbwrap/dbwrap_tdb_1.o: In function
> `db_tdb_transaction_start_nonblock':
> dbwrap_tdb.c:(.text+0xd70): undefined reference to
> `tdb_transaction_start_nonblock'
> collect2: ld a retourn? 1 code d'?tat d'ex?cution
> Waf: Leaving directory `/root/cd_coradm01/samba-4.0.6/bin'
> Build failed: -> task failed (err #1):
> {task: cc_link
>
>
>
dbwrap_1.o,dbwrap_util_1.o,dbwrap_rbt_1.o,dbwrap_cache_1.o,dbwrap_tdb_1.o,dbwrap_local_open_1.o
> -> libdbwrap.so}
> make: *** [all] Erreur 1
>
> what's happen ?
>
> best regards,
>
> St?phane Purnelle
>
> -----------------------------------
> St?phane PURNELLE Admin. Syst?mes et R?seaux
> Service Informatique Corman S.A. Tel : 00 32 (0)87/342467
>
--
Michael Wood <esiotrot at gmail.com>