waf: Add possibility to build with system libwbclient/libsmbclient
Andrew Bartlett
abartlet at samba.org
Fri Apr 20 06:33:39 MDT 2012
On Fri, 2012-04-20 at 11:07 +0200, Andreas Schneider wrote:
> On Friday 20 April 2012 12:02:17 Andrew Bartlett wrote:
> > A corrected version of this patch is now in the tree. Please let me
> > know if this would allow us to then remove the ability to use the system
> > library versions of libsmbclient and libwbclient.
>
> I've created packages with
>
> --private-libraries=smbclient,wbclient
>
> but the libraries are still in /usr/lib64/ and not in /usr/lib64/samba so they
> conflict with samba3 libraries.
Could these be the old libraries somehow?
I just did a build with:
./configure --prefix=/tmp/samba-prefix
--private-libraries=smbclient,wbclient
this is what I got:
[abartlet at obed samba-2]$ find /tmp/samba-prefix/ -name *wbclient*
/tmp/samba-prefix/include/wbclient.h
/tmp/samba-prefix/lib/private/libwbclient.so.0
/tmp/samba-prefix/lib/private/libwbclient.so.0.9
Then I tried:
./configure.developer --enable-fhs --prefix=/tmp/samba-prefix-fhs
--private-libraries=smbclient,wbclient
[abartlet at obed samba-2]$ find /tmp/samba-prefix-fhs/ -name *wbclient*
/tmp/samba-prefix-fhs/include/samba-4.0/wbclient.h
/tmp/samba-prefix-fhs/lib/samba/libwbclient.so.0
/tmp/samba-prefix-fhs/lib/samba/libwbclient.so.0.9
So, I'm just a bit puzzled, as it seems to work for me.
Andrew Bartlett
--
Andrew Bartlett http://samba.org/~abartlet/
Authentication Developer, Samba Team http://samba.org
More information about the samba-technical
mailing list