SWAT problem in Samba 3.*
lipson
kevin.lisong at gmail.com
Wed Aug 27 04:10:52 GMT 2008
Dennis Clarke-2 wrote:
>
>
>>
>> Hi all,
>>
>> Recently there are still some problems about Samba configuration and
>> installation. After compiling and installation with commands "make" and
>> "make install". I crafted the smb startup script in /etc/init.d/. And I
>> found that I have to export LD_LIBRARY_PATH explicitly in start()
>> function
>> to make it run. Otherwise, the smbd and nmbd services could not locate
>> their shared libraries in /usr/local/samba/lib/.
>
> What OS are you doing this with ?
>
> What compiler did you use ?
>
> Is this Samba 3.0.32 or 3.2.2 or what ?
>
> Because no way should you need LD_LIBRARY_PATH set. I used out of the box
> procedures with nothing fancy and it all just works for me.
>
> Thus :
>
> root at aequitas:~# uname -a
> SunOS aequitas 5.11 snv_95 i86pc i386 i86pc
> root at aequitas:~# /bin/echo $LD_LIBRARY_PATH
>
> root at aequitas:~# ldd /opt/csw/sbin/smbd
> libthread.so.1 => /lib/libthread.so.1
> libldap-2.3.so.0 => /opt/csw/lib/i386/libldap-2.3.so.0
> liblber-2.3.so.0 => /opt/csw/lib/i386/liblber-2.3.so.0
> libpam.so.1 => /lib/libpam.so.1
> libsec.so.1 => /lib/libsec.so.1
> libsendfile.so.1 => /lib/libsendfile.so.1
> libresolv.so.2 => /lib/libresolv.so.2
> libdl.so.1 => /lib/libdl.so.1
> libnsl.so.1 => /lib/libnsl.so.1
> libsocket.so.1 => /lib/libsocket.so.1
> libiconv.so.2 => /opt/csw/lib/i386/libiconv.so.2
> libpopt.so.0 => /opt/csw/lib/i386/libpopt.so.0
> libtalloc.so.1 => /opt/csw/lib/i386/libtalloc.so.1
> libtdb.so.1 => /opt/csw/lib/i386/libtdb.so.1
> libwbclient.so.0 => /opt/csw/lib/i386/libwbclient.so.0
> libc.so.1 => /lib/libc.so.1
> libgen.so.1 => /lib/libgen.so.1
> libnet.so => /opt/csw/lib/i386/libnet.so
> libsasl2.so.2 => /opt/csw/lib/i386/libsasl2.so.2
> libssl.so.0.9.8 => /opt/csw/lib/i386/libssl.so.0.9.8
> libcrypto.so.0.9.8 => /opt/csw/lib/i386/libcrypto.so.0.9.8
> libavl.so.1 => /lib/libavl.so.1
> libidmap.so.1 => /usr/lib/libidmap.so.1
> libmp.so.2 => /lib/libmp.so.2
> libmd.so.1 => /lib/libmd.so.1
> libscf.so.1 => /lib/libscf.so.1
> libintl.so.3 => /opt/csw/lib/libintl.so.3
> libldap.so.5 => /usr/lib/libldap.so.5
> libsldap.so.1 => /usr/lib/libsldap.so.1
> libuutil.so.1 => /lib/libuutil.so.1
> libsasl.so.1 => /usr/lib/libsasl.so.1
> libnspr4.so => /usr/lib/mps/libnspr4.so
> libplc4.so => /usr/lib/mps/libplc4.so
> libnss3.so => /usr/lib/mps/libnss3.so
> libssl3.so => /usr/lib/mps/libssl3.so
> libpthread.so.1 => /lib/libpthread.so.1
> librt.so.1 => /lib/librt.so.1
> libsoftokn3.so => /usr/lib/mps/libsoftokn3.so
> libplds4.so => /usr/lib/mps/libplds4.so
> libbsm.so.1 => /lib/libbsm.so.1
> libsecdb.so.1 => /lib/libsecdb.so.1
> libtsol.so.2 => /lib/libtsol.so.2
> libinetutil.so.1 => /lib/libinetutil.so.1
> libm.so.2 => /lib/libm.so.2
> root at aequitas:~#
>
> Dennis Clarke
> http://www.blastwave.org
>
>
>
Thanks to your remind. I guess the default lib directory for my system is
/usr/lib64/. And unfortunately the "make install" command did not copy
necessary libraries to that directory. So while I started up the smb
services, the service could not locate its libs unless I explicitly
specified in /etc/init.d/smb startup scripts.
And when I copied the libs to /usr/lib64, everything worked fine.
--
View this message in context: http://www.nabble.com/Re%3A-SWAT-problem-in-Samba-3.*-tp19174304p19174399.html
Sent from the Samba - samba-technical mailing list archive at Nabble.com.
More information about the samba-technical
mailing list