Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Samba startup error

Status
Not open for further replies.

gringomike

Technical User
Aug 6, 2003
148
GB
I have installed various versions of Samba (most recently the precompiles version from bullfreeware) but i keep getting the same error.

/usr/local/samba/sbin/smbd smbd –D

exec(): 0509-036 Cannot load program /usr/local/samba/sbin/smbd because of the following errors:
0509-150 Dependent module libldap.a(libldap.so.2) could not be
loaded.
0509-022 Cannot load module libldap.a(libldap.so.2).
0509-026 System error: A file or directory in the path name does not
exist.

The server is running AIX 5.1.

Does anyone know why this is happening or, more importantly, how to resolve it?

I’ve installed libiconv-1.9.1.0.bff from the bullfreeware site but this has made no difference to the problem.

Thanks for your help!
 
I think you should check where libldap.a is on your system. If you find it, you can set LIBPATH with its path of this file, or set LD_LIBRARY_PATH. I am not sure what difference is between them. So try both. Good luky


 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top