[Samba] Re: Samba library error - Solaris 8

Mark B mbutsche at peakss.com
Fri Apr 21 23:30:03 GMT 2006


Here is an ldd listing if that helps anyone:

 ldd /usr/local/samba/sbin/smbd -D -l /var/adm -s 
/usr/local/samba/lib/smb.conf
/usr/local/samba/sbin/smbd:
        libthread.so.1 =>        /usr/lib/libthread.so.1
        libsendfile.so.1 =>      /usr/lib/libsendfile.so.1
        libsec.so.1 =>   /usr/lib/libsec.so.1
        libgen.so.1 =>   /usr/lib/libgen.so.1
        libresolv.so.2 =>        /usr/lib/libresolv.so.2
        libsocket.so.1 =>        /usr/lib/libsocket.so.1
        libnsl.so.1 =>   /usr/lib/libnsl.so.1
        libiconv.so.2 =>         /usr/local/lib/libiconv.so.2
        libpopt.so.0 =>  /usr/local/lib/libpopt.so.0
        libc.so.1 =>     /usr/lib/libc.so.1
        libc.so.1 (SUNW_1.22) =>         (version not found)
        libdl.so.1 =>    /usr/lib/libdl.so.1
        libmp.so.2 =>    /usr/lib/libmp.so.2
        /usr/platform/SUNW,Sun-Fire-V210/lib/libc_psr.so.1

After it failed, I even tried installing the libgcc-3.3 package from 
sunfreeware, but that made no difference. To further complicate things, 
I have separate Solaris 8 machine at the same patch level, using the 
same Samba packages and prereqs and it is working. It was installed much 
differently with an old version of Solaris 8 and then patched to Feb 
2005, whereas the problem machine was installed with a newer version of 
Solaris 8 and then patched to Feb 2005. The sum output of both 
/usr/lib/libc.so.1 files on the working and non-working machines is 
identical.

Thank you,

-Mark

Mark B wrote:

> Hello all,
>
> I've got a newly installed Solaris 8 system running the Feb 2005 patch 
> cluster. I downloaded the following packages from sunfreeware and 
> installed on this new system (installed in the order listed):
>
> gcc_small-3.3.2-sol8-sparc-local
> libiconv-1.8-sol10-sparc-local
> ncurses-5.4-sol10-sparc-local  popt-1.7-sol10-sparc-local
> readline-5.1-sol10-sparc-local
> samba-3.0.10-sol10-sparc-local
>
> I've setup my smb.conf file which is very basic and I modified 
> /etc/etc/init.d/samba start script to reflect the true location of 
> samba, which is /usr/local/samba.
>
> When I try to start the smbd and nmbd processes via the start script, 
> I get the following library errors:
>
>
> ld.so.1: /usr/local/samba/sbin/smbd: fatal: libc.so.1: version 
> `SUNW_1.22' not found (required by file /usr/local/samba/sbin/smbd)
> ld.so.1: /usr/local/samba/sbin/smbd: fatal: libc.so.1: open failed: No 
> such file or directory
> Killed
> ld.so.1: /usr/local/samba/sbin/nmbd: fatal: libc.so.1: version 
> `SUNW_1.22' not found (required by file /usr/local/samba/sbin/nmbd)
> ld.so.1: /usr/local/samba/sbin/nmbd: fatal: libc.so.1: open failed: No 
> such file or directory
> Killed
>
> I can only find once libc.so.1 file and it is in /usr/lib, none in 
> /usr/local, just incase it was trying to use the wrong one.
>
> Can anyone assist in finding what this is missing and how I might fix 
> it? Nothing found on google.
>
> Thanks in advance,
>
> Mark



More information about the samba mailing list