build - ldb depends on missing system library/libraries

Rowland penny rpenny at samba.org
Fri Apr 24 10:44:16 UTC 2020


On 24/04/2020 11:11, lejeczek via samba-technical wrote:
>
> On 24/04/2020 10:28, Rowland penny wrote:
>> On 24/04/2020 10:04, lejeczek via samba-technical wrote:
>>> On 23/04/2020 19:31, lejeczek via samba-technical wrote:
>>>> hi guys..
>>>>
>>>> I'm trying to rpm build Samba on Centos8 but process fails
>>>> as below.
>> Have you run this:
>>
>> https://git.samba.org/?p=samba.git;a=blob_plain;f=bootstrap/generated-dists/centos8/bootstrap.sh;hb=v4-12-test
>>
>>
>> Rowland
>>
>>
> bootstrap.sh does not fix/help my setup.
>
> ..
> Checking for system pyldb-util.cpython-36m-x86_64-linux-gnu
> (>=2.0.7 <=2.0.999)                 : not found
> ERROR: Use of system library ldb depends on missing system
> library/libraries ['pyldb-util.cpython-36m-x86_64-linux-gnu']
>
> On Centos8 (which still is very messy in some places -
> reason I try to re/build is because with freeIPA + Samba
> integration these services fail to start)
> I have these os-wide available on the box:
>
> ldb-tools-2.0.7-3.el8.x86_64
> libldb-2.0.7-3.el8.x86_64
> libldb-devel-2.0.7-3.el8.x86_64
> lldb-9.0.0-2.module_el8.1.0+288+74592915.x86_64
> python3-ldb-2.0.7-3.el8.x86_64
> python3-lldb-9.0.0-2.module_el8.1.0+288+74592915.x86_64
>
> So what I'm doing is I use "official" Centos way to get
> sources and I follow Centos devel's "howto".
>
> many thanks, L.

The distro ldb packages are probably not new enough, Louis builds 4.12 
for debian and that uses libldb2 2:2.1.1-0.1buster1

It looks like you are going to have to build all the support packages 
before you build Samba, see Louis earlier post, either that or build 
everything into /usr/local/samba

Rowland




More information about the samba-technical mailing list