[Samba] Problem starting nmb using Samba 3.4.0

Adam Nielsen adam.nielsen at uq.edu.au
Fri Aug 21 01:23:09 MDT 2009


> The compilation is OK. When I starting nmb process I obtain the following error message:
> /usr/local/samba340/sbin/nmbd: symbol lookup error: /usr/local/samba340/sbin/nmbd: undefined symbol: _talloc_get_type_abort

I would hazard a guess and say that because of your unique prefix
(/usr/local/samba340/) the system-wide libraries are being picked up
first, from /usr/lib.  Since these belong to an older Samba version they
are missing some newer functions, which gives you that error.

The correct libraries for this version of Samba would be in
/usr/local/samba340/lib/ instead, so you'll need get Samba to load them
from this location first.

Not sure of the best method here - editing /etc/ld.so.conf would work,
but then might break your existing Samba setup (because then the old
Samba would be loading the new libraries instead.)  Updating the
LD_LIBRARY_PATH environment variable would be safer here, but you need
to make sure it gets updated every time you start any Samba executable.

Probably simplest to only have one copy of Samba installed at a time :-)

Cheers,
Adam.



More information about the samba mailing list