Opened 15 years ago

Closed 15 years ago

Last modified 13 years ago

#2875 closed task (fixed)

libjpeg-7

Reported by: Guy Dalziel Owned by: Guy Dalziel
Priority: normal Milestone:
Component: BOOK Version: SVN
Severity: normal Keywords:
Cc:

Description

There's a new version of libjpeg, I'm not sure when it was released but it's version 7. I would like to get it in to the book but the trouble is a _lot_ of packages use it as a dependency - optional or otherwise - and it would prove a monumental task to check it against every package. I propose that we throw it in and see if any issues come up. I've done some basic testing and tiff compiled fine against it, I'll do some more testing as I come across packages that require it.

Change History (12)

comment:1 by Randy McMurchy, 15 years ago

Milestone: 6.46.5

Modified milestone from 6.4 to 6.5

comment:2 by willimm, 15 years ago

Looking on their fourms, it turns out that Arch Linux is having problems with libjpeg7. The solution: build libjpeg62, then copy the libs over to /usr/lib. Hope that works.

comment:3 by willimm, 15 years ago

Exact process, step by step:

  1. After installing libjpeg7, get libjpeg62 from ftp://ftp.uu.net/graphics/jpeg/jpegsrc.v6b.tar.gz (JIG dosen't have libjpeg62, and this mirror has libjpeg62.)
  1. Then run ./configure --prefix=/usr --enable-shared --enable-static
  1. And then run make.
  1. Then run this command:
cp -v .libs/libjpeg.so.* /usr/lib

This should work out for you.

comment:4 by Guy Dalziel, 15 years ago

I would be more interested in hearing the specific problems that they had, I don't like implementing solutions if I don't know what it's supposed to fix.

comment:5 by thomasp@…, 15 years ago

I see no problems based on the research I just did, the main problem was due to the .so version change (.62 -> .7) which broke a lot of packages looking for that library, they have since been rebuilding everything against the new libjpeg. The only reason you might need the old 6.2 is for binary packages that you can't compile from source. You can't use a symlink to fix it as the two versions are binary incompatible.

comment:6 by Guy Dalziel, 15 years ago

Owner: changed from blfs-book@… to Guy Dalziel

Thank you Thomas, this confirms my original findings. I noticed the library incompatibility quite early on, but fortunately I only had a couple of packages that were linked against it. I'll update libjpeg to version 7, I've had no problem with it in the packages I've compiled against it.

in reply to:  4 comment:7 by willimm, 15 years ago

Replying to gdalziel:

I would be more interested in hearing the specific problems that they had, I don't like implementing solutions if I don't know what it's supposed to fix.

My workaround will plobary be the best one for you. It builds the old version, and also keeps the new version too, so that they can live in unision.

Some older binary packages and KDE 3.5 malfunction if just libjpeg-7 is installed, or libjpeg-62 is symlinked to libjpeg7.

comment:8 by Guy Dalziel, 15 years ago

Resolution: fixed
Status: newclosed

Updated to libjpeg-7. If there are any problems this can be reopened. Ticket closed.

comment:9 by willimm, 15 years ago

There are issues with some older packages, and they need libjpeg-62 to work. Repopening thrus.

And follow my method above to fix that plobrem.

in reply to:  9 comment:10 by willimm, 15 years ago

Replying to willimm:

There are issues with some older packages, and they need libjpeg-62 to work. Repopening thrus.

And follow my method above to fix that plobrem.

Thrus, please repoen this ticket.

in reply to:  description comment:11 by Trent Shea, 15 years ago

Replying to gdalziel:

I propose that we throw it in and see if any issues come up.

The shared and static libraries are now installed by default.

comment:12 by (none), 13 years ago

Milestone: 6.5

Milestone 6.5 deleted

Note: See TracTickets for help on using tickets.