build - ldb depends on missing system library/libraries
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:
> 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:
> 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
More information about the samba-technical