[Samba] RE: solaris 8/samba3.0alpha15: ld.so.1: ls: fatal: relocation err or: file /lib/nss_winbind.so.1: symbol socket: referenced symbol not fou nd

David Edward Shapiro David.Edward.Shapiro at btitele.com
Thu Feb 28 13:33:42 GMT 2002


The LIBS line at the top of the Makefile read:

LIBS=-lsec -lgen -lresolv -lsocket -lnsl  -ldl

Is there somewhere else that I need to add -lsocket?

David

-----Original Message-----
From: Andrew Bartlett [mailto:abartlet at pcug.org.au]
Sent: Thursday, February 28, 2002 4:22 PM
To: David Edward Shapiro
Cc: 'samba-technical at lists.samba.org'; 'samba at lists.samba.org'
Subject: Re: solaris 8/samba3.0alpha15: ld.so.1: ls: fatal: relocation
error: file /lib/nss_winbind.so.1: symbol socket: referenced symbol not
found


David Edward Shapiro wrote:
> 
> Any hope getting an answer for this?
> 
> If you do an ls -la in a directory that is part of a path of a share, you
> get the following error:
> 
> ld.so.1: ls: fatal: relocation error: file /lib/nss_winbind.so.1: symbol
> socket: referenced symbol not found
> Killed

This is becouse the nss_winbind stuff isn't being linked with -lsocket.  

If somebody wants to come up with the right makefile magic (for HEAD)
I'll commit it.

Andrew Bartlett

-- 
Andrew Bartlett                                 abartlet at pcug.org.au
Manager, Authentication Subsystems, Samba Team  abartlet at samba.org
Student Network Administrator, Hawker College   abartlet at hawkerc.net
http://samba.org     http://build.samba.org     http://hawkerc.net





More information about the samba mailing list