symbolic link to libturbojpeg.so missing

Bug #1369067 reported by Florian Echtler
26
This bug affects 5 people
Affects Status Importance Assigned to Milestone
libjpeg-turbo (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

On amd64, the missing symlink (libturbojpeg.so -> libturbojpeg.so.0) can lead to the following link error:

    /usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libturbojpeg.a(libturbojpeg_la-turbojpeg.o): relocation R_X86_64_32 against `.data' can not be used when making a shared object; recompile with -fPIC
    /usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libturbojpeg.a: error adding symbols: Bad value

Manually adding the missing symlink in /usr/lib/x86_64-linux-gnu/ fixes the issue.

Revision history for this message
Matthias Klose (doko) wrote :

no, you need to install the -dev package.

Changed in libjpeg-turbo (Ubuntu):
status: New → Invalid
Revision history for this message
Florian Echtler (floe) wrote :

Sorry, I filed the bug against the wrong package, I did indeed mean libjpeg-turbo8-dev.

Installing that package does _not_ fix the issue, as it does not contain any softlink to libturbojpeg.so.

Changed in libjpeg-turbo (Ubuntu):
status: Invalid → New
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in libjpeg-turbo (Ubuntu):
status: New → Confirmed
Revision history for this message
Dennis Schridde (devurandom) wrote :

On my system (Ubuntu 14.04) there is not even a shared object "libturbojpeg.so.0".

Version: libjpeg-turbo8 1.3.0-0ubuntu2

$ dpkg -L libjpeg-turbo8 | grep /usr/lib
/usr/lib
/usr/lib/x86_64-linux-gnu
/usr/lib/x86_64-linux-gnu/libjpeg.so.8.0.2
/usr/lib/x86_64-linux-gnu/libjpeg.so.8

$ dpkg -L libjpeg-turbo8-dev | grep /usr/lib
/usr/lib
/usr/lib/x86_64-linux-gnu
/usr/lib/x86_64-linux-gnu/libjpeg.a
/usr/lib/x86_64-linux-gnu/libturbojpeg.a
/usr/lib/x86_64-linux-gnu/libjpeg.so

Revision history for this message
Bart van Strien (bartbes) wrote :

The so file is installed by libturbojpeg, not libjpeg-turbo, which may be why this occurs in the first place. (And libturbojpeg has no dev package.)

Revision history for this message
Florian Echtler (floe) wrote :

Hmm, this doesn't seem to be correct:

$ dpkg -L libturbojpeg
/.
/usr
/usr/share
/usr/share/doc
/usr/share/doc/libturbojpeg
/usr/share/doc/libturbojpeg/copyright
/usr/share/doc/libturbojpeg/changelog.Debian.gz
/usr/lib
/usr/lib/x86_64-linux-gnu
/usr/lib/x86_64-linux-gnu/libturbojpeg.so.0.0.0
/usr/lib/x86_64-linux-gnu/libturbojpeg.so.0
$

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.