Bug 5180 - can not get setup/provision to work after new install
Summary: can not get setup/provision to work after new install
Alias: None
Product: Samba 4.0
Classification: Unclassified
Component: Other (show other bugs)
Version: unspecified
Hardware: x86 Windows XP
: P3 normal (vote)
Target Milestone: ---
Assignee: Jelmer Vernooij
QA Contact: Andrew Bartlett
Depends on:
Reported: 2008-01-09 07:03 UTC by Chris Robinson
Modified: 2008-05-12 16:01 UTC (History)
2 users (show)

See Also:


Note You need to log in before you can comment on or make changes to this bug.
Description Chris Robinson 2008-01-09 07:03:44 UTC
cd source
./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 /usr/local/samba/lib/libldb.so.0

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
Comment 1 Andrew Bartlett 2008-01-09 14:54:54 UTC
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
Comment 2 Jelmer Vernooij 2008-01-20 11:35:51 UTC
Hopefully we can get a new build system in before the next alpha.
Comment 3 Matthias Dieter Wallnöfer 2008-03-13 13:06:18 UTC
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?
Comment 4 Matthias Dieter Wallnöfer 2008-04-03 06:39:06 UTC
This seems obsolete. It's related to the old ejs provisioning. I think, we should close it.
Comment 5 Jelmer Vernooij 2008-05-12 16:01:28 UTC
Yep, and we're also no longer building ldb as shared library.