build - ldb depends on missing system library/libraries

L.P.H. van Belle belle at bazuin.nl
Fri Apr 24 11:43:45 UTC 2020


Or.. 

Try get get these sources and rebuild them agains Centos 8

https://pkgs.org/download/samba4
But again, you also need all other depends as shown.

The minimal versions you need for 4.12.1 

lib/talloc/wscript:VERSION = '2.3.1'
lib/tdb/wscript:VERSION = '1.4.3'
lib/tevent/wscript:VERSION = '0.10.2'
lib/ldb/wscript:VERSION = '2.1.1'
'cmocka', minversion='1.1.3')
'socket_wrapper', minversion='1.2.3')
'nss_wrapper', minversion='1.1.7')
'resolv_wrapper', minversion='1.1.4')
'uid_wrapper', minversion='1.2.7')
'pam_wrapper', minversion='1.0.7')

Good luck. 

Greetz, 

Louis


> -----Oorspronkelijk bericht-----
> Van: samba-technical 
> [mailto:samba-technical-bounces at lists.samba.org] Namens 
> Rowland penny via samba-technical
> Verzonden: vrijdag 24 april 2020 12:44
> Aan: samba-technical at lists.samba.org
> Onderwerp: Re: build - ldb depends on missing system library/libraries
> 
> 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/ge
nerated-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