Comment 37 for bug 777670

Revision history for this message
Till Kamppeter (till-kamppeter) wrote :

Hin-Tak Leung, upstream author of the pxljr driver has found out what the problem was:

----------
I have worked out what's the problem, after looking at Ubuntu's x86_64 libjpeg build log. Recent Ubuntu adds '-Wl,-Bsymbolic-functions' to the LDFLAGS . This flag has exactly the effect I described: disallow programs to override symbols in a shared library.

There are a few past and present bugs/discussion about this:
https://lists.ubuntu.com/archives/ubuntu-devel/2008-May/025367.html
https://bugs.launchpad.net/ubuntu/+source/libxfont/+bug/230460
https://bugs.launchpad.net/ubuntu/+source/xfe/+bug/644645
and possibly others.

I guess you could ask Ubuntu's libjpeg maintainer to drop that LDFLAGS . There are some performance penalty, obviously system-wide. That depends on how much you want hplip to work (without them modifying to cope).

[...]

Hin-Tak

----------

So I rebuilt libjpeg6b with the LDFLAGS removed ("LDFLAGS= " before "./configure ..." in debian/rules) and this made HPLIP working with the HP Color LaserJet 3500/3550/3600. That's it! Thank you, Hin-Tak!

The debdiff for the change is attached. Please apply it to the Ubuntu package.