On Tue, 2010-02-16 at 10:46 +0100, St?phane PURNELLE
wrote:> Hi,
>
> System description :
> RedHat EL 5.3
> Previous version of samba : 3.2.11.
>
>
> The problem :
>
> ...
> Linking bin/smbd
> /usr/bin/ld: warning: libssl.so.6, needed by /usr/local/lib/libcups.so,
> may conflict with libssl.so.0.9.8
> /usr/bin/ld: warning: libcrypto.so.6, needed by /usr/local/lib/libcups.so,
> may conflict with libcrypto.so.0.9.8
> smbd/ipc.o: In function `api_dcerpc_cmd_write_done':
> ipc.c:(.text+0x32): undefined reference to `_talloc_get_type_abort'
> ipc.c:(.text+0x4c): undefined reference to `_talloc_get_type_abort'
> smbd/ipc.o: In function `api_dcerpc_cmd_read_done':
> ipc.c:(.text+0x1f01): undefined reference to `_talloc_get_type_abort'
> ipc.c:(.text+0x1f1b): undefined reference to `_talloc_get_type_abort'
> smbd/pipes.o: In function `pipe_read_andx_done':
> pipes.c:(.text+0x1ed): undefined reference to `_talloc_get_type_abort'
> smbd/pipes.o:pipes.c:(.text+0x207): more undefined references to
> `_talloc_get_type_abort' follow
> lib/winbind_util.o: In function `winbind_get_sid_aliases':
> winbind_util.c:(.text+0x101): undefined reference to `wbcGetSidAliases'
> lib/winbind_util.o: In function `winbind_getpwsid':
> winbind_util.c:(.text+0x8d1): undefined reference to `wbcGetpwsid'
> ../lib/async_req/async_req.o: In function
`async_req_immediate_trigger':
> async_req.c:(.text+0x2cb): undefined reference to
`_talloc_get_type_abort'
> ../lib/async_req/async_req.o: In function `async_trigger':
> async_req.c:(.text+0x31d): undefined reference to
`_talloc_get_type_abort'
> ../lib/async_req/async_sock.o: In function `writev_recv':
> async_sock.c:(.text+0x30): undefined reference to
`_talloc_get_type_abort'
> ../lib/async_req/async_sock.o: In function `async_recv_recv':
> async_sock.c:(.text+0x97): undefined reference to
`_talloc_get_type_abort'
> ../lib/async_req/async_sock.o: In function `async_send_recv':
> async_sock.c:(.text+0xfe): undefined reference to
`_talloc_get_type_abort'
> ../lib/async_req/async_sock.o:async_sock.c:(.text+0x175): more undefined
> references to `_talloc_get_type_abort' follow
> collect2: ld a retourn? 1 code d'?tat d'ex?cution
> make: *** [bin/smbd] Erreur 1
>
Looks like 3.4.5 is either mis-detecting the version of talloc installed
or is not requiring a version new enough.
You have 2 options: build and install the latest talloc first then
rebuild 3.4.5 or use --enable-external-libtalloc=no so that samba is
built with a static copy of talloc.
Simo.
--
Simo Sorce
Samba Team GPL Compliance Officer <simo at samba.org>
Principal Software Engineer at Red Hat, Inc. <simo at redhat.com>