resolving symbols/relocations errors
nautix at u.washington.edu
Mon Aug 23 20:12:11 GMT 2004
I'm building Samba 3.0.5 for a bootable Linux CD. Everything seems to
work well (not that I've tested thoroughly, though) except for ntlm_auth.
When I run
ntlm_auth: relocation error: /usr/lib/samba/charset/CP850.so:
undefined symbol: smb_register_charset
I found the missing function (smb_register_charset) in libsmbclient.so,
but cannot find the right incantation to have CP850.so link to it.
Now if I preload libsmbclient.so with
I get a bunch of complaints on stderr like
[2004/8/23 12:49:40, 0] lib/charcnv.c:init_iconv(134)
init_iconv: Conversion from CP850 to UTF8 not supported
but with a variety of character sets in addition to UTF8. I do finally
get the proper "password:" prompt and ntlm_auth correctly authenticates
against the PDC (also Samba 3.0.5).
Lastly, here is my ./configure command line:
./configure --prefix=/usr \
make install DESTDIR=/path/to/working/directory
I then copy the executables, libraries, etc into the CD tree for later
The bootable CD is for some in-house dedicated local master browsers in
our distributed domain. It seems to work fine for that, but I'd still
like to solve this nuisance problem.
Any help appreciated.
Brian Haney, nautix at u.washington.edu
Software Engineer & UNIX Systems Administrator
Univ. of Washington, Dept. of Biostatistics
More information about the samba-technical