The Samba-Bugzilla – Bug 7948
Build system: ldb.pc wrongly installed from samba4 build
Last modified: 2011-03-17 12:09:48 UTC
(note that this problem existed before the top-level build chagnes today)
the install target for samba4 by default includes a .pc file for libldb. this .pc file should not be installed with samba4 (which wants to have a private libldb).
Additionally, the .pc file does not include the lib dir and rpath options for the "private" directory, meaning that other projects will pick up the .pc file and assume that libldb is installed, but will fail to build/link with unresolved symbols into the ldb build.
The suggested fix is to not install the .pc file, except when building/installing from the source4/lib/ldb directory (which is what I think was actually the intention, anyway).
*** Bug 7947 has been marked as a duplicate of this bug. ***
There are likely other .pc files with the same problem, such as the python/ldb bindings.
Jelmer, do you have an opinion?
I'll have a look at fixing this.
Has this now been fixed? Can I close it?
Sean, I really think that this has been fixed by metze:
Sorry I thought you were asking Jelmer, not me, whether it was fixed. Everything has seemed fine here for a while :)