The Samba-Bugzilla – Bug 5180
can not get setup/provision to work after new install
Last modified: 2008-05-12 16:01:28 UTC
./setup/provision --realm=YOUR.REALM --domain=YOURDOM --adminpass=SOMEPASSWORD --server-role='domain controller'
I get :
smbscript: error while loading shared libraries: libldb.so.0: cannot open shared object file: No such file or directory
ls -al /usr/local/samba/lib/libldb.so.0 lrwxrwxrwx 1 root staff 36 2008-01-08 10:57 /usr/local/samba/lib/libldb.so.0 ->/usr/local/samba/lib/libldb.so.0.0.1
ls -al /usr/local/samba/lib/libldb.so.0.0.1
-rwxr-xr-x 1 root staff 233052 2008-01-08 15:32 /usr/local/samba/lib/libldb.so.0.0.1
Not included in the installation instructions is the requirement to put /usr/local/samba/lib into your /etc/ld.so.conf and run ldconfig.
We need to either improve the docs, or prevent this from being the default behavior (the latter being quite a popular option with the team...).
Alternatly, set LD_LIBRARY_PATH=/usr/local/samba/lib
Hopefully we can get a new build system in before the next alpha.
This one seems also to be related to the old ejs provisioning. Should we keep it open? What stage we've reached with the new build system?
This seems obsolete. It's related to the old ejs provisioning. I think, we should close it.
Yep, and we're also no longer building ldb as shared library.