[Pkg-samba-maint] Bug#726726: Bug#726726: Bug#726726: Bug#726726: samba: Unable to share printer using cups

Steve Langasek vorlon at debian.org
Sat Oct 19 18:02:12 UTC 2013


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.

-- 
Steve Langasek                   Give me a lever long enough and a Free OS
Debian Developer                   to set it on, and I can move the world.
Ubuntu Developer                                    http://www.debian.org/
slangasek at ubuntu.com                                     vorlon at debian.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-samba-maint/attachments/20131019/a6148799/attachment.sig>


More information about the Pkg-samba-maint mailing list