Operating System - HP-UX
1849789 Members
2473 Online
104044 Solutions
New Discussion

samba start share library error

 
SOLVED
Go to solution
MikeL_4
Super Advisor

samba start share library error

We have just upgraded Samba to 3.0.21a and when we try to start receive following error:

=>/usr/local/samba/bin/smbd -D
/usr/lib/dld.sl: Can't find path for shared library: liblber.sl.2
/usr/lib/dld.sl: No such file or directory
Abort(coredump)
=>echo $SHLIB_PATH
/usr/lib:/etc/opt/resmon/lib:/opt/gnome/lib

5 REPLIES 5
MikeL_4
Super Advisor

Re: samba start share library error

I've tried a search for liblber.sl.2 and it's not found:

=>find . -name liblber.sl.2 -print
=>

I've then installed additional depots per other links for same error:

OpenSSL_A.00.09.07i.002_HP-UX_B.11.11_32+64.depot
ixOpenLDAP_A.06.00-2.3.11_HP-UX_B.11.11_32+64.depot
libiconv-1.10-hppa-11.11.depot

and it still doesn't show the liblber.sl.2 as being loaded anywhere:

=>find . -name liblber.sl.2 -print
=>

And smbd still fails with same error:

=>/usr/local/samba/bin/smbd -D
/usr/lib/dld.sl: Can't find path for shared library: liblber.sl.2
/usr/lib/dld.sl: No such file or directory
Abort(coredump)
=>
Arunvijai_4
Honored Contributor
Solution

Re: samba start share library error

Hello,

If you have downloaded and installed SAMBA from HP-UX porting center, you may have to install all the run time dependencies.

bison db flex gcc gettext libiconv m4 make ncurses perl popt readline

http://hpux.connect.org.uk/hppd/hpux/Networking/Misc/samba-3.0.10/

Try to download and install them as well.

You can also try to install HP's CIFS server which is based on SAMBA 3.0.14a

http://h20293.www2.hp.com/portal/swdepot/displayProductInfo.do?productNumber=B8725AA


-Arun
"A ship in the harbor is safe, but that is not what ships are built for"
Joel Girot
Trusted Contributor

Re: samba start share library error

Hi Mike.

In my 11.11 box :
/tmp# find / -name liblber.sl.2 -print
/opt/hpws/apache/ldap/lib/liblber.sl.2

It is part of hp-ux apache-based web server.
see hp-ux web server suite :
http://h20293.www2.hp.com/portal/swdepot/displayProductInfo.do?productNumber=HPUXWSATW215

Joel
Asif Sharif
Honored Contributor

Re: samba start share library error

MikeL_4
Super Advisor

Re: samba start share library error

Thanks for your assistance.

Resolution was to add following links:

cd /usr/local/lib
ln -s /opt/iexpress/openldap/lib/liblber-2.3.sl ./liblber.sl.2
ln -s /opt/iexpress/openldap/lib/libldap-2.3.sl ./libldap.sl.2