[Pkg-samba-maint] Bug#726726: Bug#726726: Bug#726726: Bug#726726: Bug#726726: samba: Unable to share printer using cups
abartlet at samba.org
Mon Oct 21 09:45:22 UTC 2013
On Sat, 2013-10-19 at 11:02 -0700, Steve Langasek wrote:
> On Fri, Oct 18, 2013 at 11:04:16PM +0200, Ivo De Decker wrote:
> > On Fri, Oct 18, 2013 at 07:08:54PM +0200, Ivo De Decker wrote:
> > > Thanks for the report. This seems to be correct. The build-dependency on
> > > libcups2-dev is missing.
> > Building samba with cups enabled gives a build error related to krb5. Does
> > anybody have time to take a look at this?
> The failure is happening because libcups2-dev pulls in libkrb5-dev (the MIT
> KRB5 version), and samba is mistakenly linking to /usr/lib/$arch/libkrb5.so
> (from libkrb5-dev) instead of to /usr/lib/$arch/heimdal/libkrb5.so (from
> heimdal-multidev) which it's supposed to be linking to.
> Most parts of the code are unaffected by this, using a linker order such as:
> -L/usr/local/lib -L/usr/lib/x86_64-linux-gnu/heimdal -L/usr/lib/x86_64-linux-gnu
> This will prefer the heimdal/libkrb5.so over the non-heimdal one.
> But libgse.so is linked with -L/usr/lib/x86_64-linux-gnu before
> -L/usr/lib/x86_64-linux-gnu/heimdal, causing this build failure.
> Someone who understands waf will need to dig through the build rules to
> figure out where this is coming from. Ideally, we would not be passing
> -L$system_dir as an argument at all, since it's unnecessary.
Almost certainly this is due to the output of cups-config. We have had
similar issues before, including a patch posted to the list just last
Can someone post the cups-config --libs and --ldflags output on a
Andrew Bartlett http://samba.org/~abartlet/
Authentication Developer, Samba Team http://samba.org
More information about the Pkg-samba-maint