On 10/05/13 11:23, Sumit Bose wrote:
On Fri, May 10, 2013 at 11:02:08AM +0200, steve wrote:
> On 10/05/13 10:49, Jakub Hrozek wrote:
>> On Fri, May 10, 2013 at 10:46:01AM +0200, steve wrote:
>>> Hi
>>> openSUSE 12.3
>>> The build and install goes OK but upon running sssd:
>>>
>>> sssd -i -d3
>>> ldb: module version mismatch in
>>> ../source4/dsdb/samdb/ldb_modules/acl.c : ldb_version=1.1.14
>>> module_version=1.1.15
>>> ldb: failed to initialise module /usr/lib/ldb/acl.so : Unavailable
>>> (Fri May 10 09:56:58:975063 2013) [sssd] [load_configuration]
>>> (0x0010): The confdb initialization failed
>>> (Fri May 10 09:56:58:981620 2013) [sssd] [main] (0x0020): SSSD
>>> couldn't load the configuration database.
>>>
>>> Any ideas?
>>> Cheers,
>>> Steve
>>
>> Is there any chance you compiled the SSSD with a different ldb version
>> that you are using during runtime?
> Hi
> I built samba4 (to get the sssd dependencies, openSUSE has no stable
> samba4-devel) on the same box immediately before I built sssd so I
> assume that the versions must be the same.
ah, you've build samba4 yourself. Then you have to make sure that either
samba uses the system libraries or sssd uses the libraries created by
your samba build. One of the Fedora configure options is:
--bundled-libraries=heimdal,!zlib,!popt,!talloc,!pytalloc,!pytalloc-util,!tevent,!pytevent,!tdb,!pytdb,!ldb,!pyldb
which tells the samba build system to build the internal heimdal
library, but use system libraries for the others. But since the system
libraries of OpenSUSE are a bit older then the ones from you samba build
I'm not sure if all requirements are met here.
Alternatively you can build a libldb-1.1.15 package on you own and
replace the offical OpenSUSE package with your new one.
HTH
bye,
Sumit
>
Hi
I think it's using the correct libs. I copied /usr/local/samba/lib/* to
/usr/lib and /usr/local/samba/include/* to /usr/include
A bit unorthodox I know, but the only way I could get it to build.
ldconfig just didn't do it.
Steve