ld.so.1: ls: fatal: relocation error: file /lib/nss_winbind.s
o.1: symbol socket: referenced symbol not found
Mike Gerdts
Michael.Gerdts at alcatel.com
Thu Feb 21 09:35:06 GMT 2002
The -lsocket argument is used with ld(1) not ls(1). This would mean
that -lsocket is missing in the Makefile that is used for creating
nss_winbind.so.1.
MIke
On Thu, 2002-02-21 at 09:00, Thomas, Daniel J. wrote:
> I'm having the same ls -l problems. Can I confirm the following:
>
> The Makefile should read:
> WINBIND_NSS_OBJ = nsswitch/winbind_nss.o nsswitch/wb_common.o
> nsswitch/winbind_nss_solaris.o
>
> (Mine does already)
>
> Then I recreate the Symbolic link for /lib/nss_winbind.so.1 and add the
> -lsocket option when creating the symbolic link?
>
> -Dan
>
>
> -----Original Message-----
> From: Albert Chin [mailto:samba-technical at thewrittenword.com]
> Sent: Wednesday, February 20, 2002 10:27 AM
> To: samba-technical at samba.org
> Subject: Re: ld.so.1: ls: fatal: relocation error: file
> /lib/nss_winbind.so.1: symbol socket: referenced symbol not found
>
>
> 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