Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

Update libjpeg?

New to Debian (Or Linux in general)? Ask your questions here!
Post Reply
Message
Author
Swedish_newbie
Posts: 42
Joined: 2012-06-08 12:33
Location: Orebro, Sweden

Update libjpeg?

#1 Post by Swedish_newbie »

I have problems with converting jpeg-images with ImageMagick, and i noticed that i have an old version of libjpeg (6.2).
It seems that there aren't any new version for Debian, yet? Am i right?

If not, how can i update/upgrade the library?
Thanks in advance!

User avatar
roseway
Posts: 1528
Joined: 2007-12-31 22:50
Location: Kent, UK
Has thanked: 3 times
Been thanked: 4 times

Re: Update libjpeg?

#2 Post by roseway »

Eric

Swedish_newbie
Posts: 42
Joined: 2012-06-08 12:33
Location: Orebro, Sweden

Sv: Update libjpeg?

#3 Post by Swedish_newbie »

I tried that, but it still says that i have version 6.

Skickat från min GT-I9300 via Tapatalk 2

Swedish_newbie
Posts: 42
Joined: 2012-06-08 12:33
Location: Orebro, Sweden

Re: Update libjpeg?

#4 Post by Swedish_newbie »

I tried to remove libjpeg62, and then install libjpeg8, but it seems that i stil have both. :shock:
root@jupiter:~# find /usr | grep "libjpeg"
/usr/lib/libjpeg.so.8
/usr/lib/libjpeg.so.8.0.2
/usr/lib/libjpeg.so.62
/usr/lib/libjpeg.so.62.0.0
/usr/share/doc/libjpeg62
/usr/share/doc/libjpeg62/copyright
/usr/share/doc/libjpeg62/changelog.gz
/usr/share/doc/libjpeg62/README.gz
/usr/share/doc/libjpeg62/changelog.Debian.gz
/usr/share/doc/libjpeg8
/usr/share/doc/libjpeg8/copyright
/usr/share/doc/libjpeg8/changelog.gz
/usr/share/doc/libjpeg8/README.gz
/usr/share/doc/libjpeg8/changelog.Debian.gz

User avatar
stevepusser
Posts: 12930
Joined: 2009-10-06 05:53
Has thanked: 41 times
Been thanked: 71 times

Re: Update libjpeg?

#5 Post by stevepusser »

It's normal to have both versions in Squeeze. Some packages depend on the older version, and some the newer libjpeg8.

In Squeeze, the 62 version supplies the default "libjpeg-dev", but it's provided by libjpeg8-dev in Wheezy.
MX Linux packager and developer

Swedish_newbie
Posts: 42
Joined: 2012-06-08 12:33
Location: Orebro, Sweden

Re: Update libjpeg?

#6 Post by Swedish_newbie »

stevepusser wrote:It's normal to have both versions in Squeeze. Some packages depend on the older version, and some the newer libjpeg8.

In Squeeze, the 62 version supplies the default "libjpeg-dev", but it's provided by libjpeg8-dev in Wheezy.
Ok! But "convert -list format" says that i´m still using the old version instead of version 8.
How to fix that?
JPEG* JPEG rw- Joint Photographic Experts Group JFIF format (62)
JPG* JPEG rw- Joint Photographic Experts Group JFIF format (62)

User avatar
stevepusser
Posts: 12930
Joined: 2009-10-06 05:53
Has thanked: 41 times
Been thanked: 71 times

Re: Update libjpeg?

#7 Post by stevepusser »

I guess that the Squeeze version of Imagemagick was compiled against the older version's headers (the -dev package), so it uses that. Possibly rebuilding the packages against libjpeg8-dev would get it to use the newer version. The alternative is to upgrade to Wheezy and use the program there.

Let me know if you're running 32 or 64-bit, and I'll rebuild the imagemagick packages against the newer libjpeg for you, and see if that works.
MX Linux packager and developer

Swedish_newbie
Posts: 42
Joined: 2012-06-08 12:33
Location: Orebro, Sweden

Sv: Update libjpeg?

#8 Post by Swedish_newbie »

My server runs with 64 bit.

Is there any SAFE way to upgrade to wheezy?

Skickat från min GT-I9300 via Tapatalk 2

User avatar
stevepusser
Posts: 12930
Joined: 2009-10-06 05:53
Has thanked: 41 times
Been thanked: 71 times

Re: Update libjpeg?

#9 Post by stevepusser »

It turns out that many of the -dev packages needed to build imagemagick also depend on libjpeg62-dev, and we can't have both that and libjpeg8-dev installed (the apt system has them conflict with each other).

Exactly what problem are you having with converting jpeg images? It seems to me this might be solved without changing any packages, since I think it would be a big bug that would have popped up before, since Squeeze has been out so long.
MX Linux packager and developer

Swedish_newbie
Posts: 42
Joined: 2012-06-08 12:33
Location: Orebro, Sweden

Sv: Update libjpeg?

#10 Post by Swedish_newbie »

I have problem with smeard lines on most of my jpeg-files.

Skickat från min GT-I9300 via Tapatalk 2

Swedish_newbie
Posts: 42
Joined: 2012-06-08 12:33
Location: Orebro, Sweden

Sv: Update libjpeg?

#11 Post by Swedish_newbie »

Any suggestions?

Skickat från min GT-I9300 via Tapatalk 2

User avatar
stevepusser
Posts: 12930
Joined: 2009-10-06 05:53
Has thanked: 41 times
Been thanked: 71 times

Re: Update libjpeg?

#12 Post by stevepusser »

Well, I'm stumped, unless you can provide a sample of a file that gives the trouble and the convert command used on it. Then someone running wheezy can check to see it the problem is gone there.

Anyone else have any ideas?
MX Linux packager and developer

Post Reply