#2900 ldb issue. ldb installed but ssd does not see it
Closed: Invalid None Opened 8 years ago by markgav.

hi,

My purpose is to get deep understanding of sssd as part of samba+ldap, I must install sssd from sources.
I installed ldb packet on my machine:
[root@localhost sssd]# find / -name ldb
/usr/local/modules/ldb
/usr/local/lib/ldb

My printenv has "PKG_CONFIG_PATH=/usr/local/include:/usr/local/lib:/usr/local/modules:/usr/local/samba/lib/pkgconfig/:

Please assist me to resolve the issue, I run ./configure and got message below:

checking for LDB... configure: error: Package requirements (ldb >= 0.9.2) were not met:

No package 'ldb' found

Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.

Alternatively, you may set the environment variables LDB_CFLAGS
and LDB_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.



Do you have the devel package of ldb installed? On RHEL/CentOS/Fedora it is called libldb-devel.

Does 'pkg-config --libs ldb' return something like '-lldb -ltalloc'? If yes, does 'pkg-config --modversion ldb' return something larger than 0.9.2?

Thanks for fast answer. I solved the issue. The solution is:
export LDB_LIBS="-lldb"
export LDB_CFLAGS=" "
export LDB_DIR="$(pkg-config ldb --variable=modulesdir)"

Please close the ticket:)

_comment0: Thanks for fast answer. I solved the issue. The solution is:
export LDB_LIBS="-lldb"
export LDB_CFLAGS=" "
export LDB_DIR="$(pkg-config ldb --variable=modulesdir)" => 1449978039311817

Thank you, closing.

btw you might want to take a look at this wiki page: https://fedorahosted.org/sssd/wiki/Contribute

resolution: => invalid
status: new => closed

Metadata Update from @markgav:
- Issue set to the milestone: SSSD 1.13.3

7 years ago

SSSD is moving from Pagure to Github. This means that new issues and pull requests
will be accepted only in SSSD's github repository.

This issue has been cloned to Github and is available here:
- https://github.com/SSSD/sssd/issues/3941

If you want to receive further updates on the issue, please navigate to the github issue
and click on subscribe button.

Thank you for understanding. We apologize for all inconvenience.

Login to comment on this ticket.

Metadata