ld.so.1: ls: fatal: relocation error: file /lib/nss_winbind.so.1: symbol socket: referenced symbol not found

Albert Chin samba-technical at thewrittenword.com
Wed Feb 20 07:34:04 GMT 2002


On Wed, Feb 20, 2002 at 09:58:34AM -0500, David Edward Shapiro wrote:
> When we run ls -la now after installing samba 3.0 with winbind support, we
> get the following error:
> 
> ld.so.1: ls: fatal: relocation error: file /lib/nss_winbind.so.1: symbol
> socket: referenced symbol not found
> 
> 
> Originally winbind was not working, but I changed the following in the
> Makefile:
> 
> 
> WINBIND_NSS_OBJ = nsswitch/winbind_nss.o nsswitch/wb_common.o
> reads:
>  
> WINBIND_NSS_OBJ = nsswitch/winbind_nss.o nsswitch/wb_common.o
> nsswitch/winbind_nss_solaris.o

Relink nss_winbind.so.1 and add -lsocket to the link line. This will
resolve the problem above.

-- 
albert chin (china at thewrittenword.com)




More information about the samba-technical mailing list