View previous topic :: View next topic |
Author |
Message |
Syzygy n00b
Joined: 30 Apr 2004 Posts: 31 Location: Beloit, WI
|
Posted: Wed Feb 01, 2006 12:16 am Post subject: [SOLVED] ImageMagick no longer recognizes gif's |
|
|
I emerged version 6.2.5.5 of ImageMagick on my server today, only to discover it no longer reads gif files.
Code: | www gallery2 # identify /var/www/localhost/www.retiredsquirrels.com/htdocs/modules/gallery2/modules/imagemagick/data/test.gif
identify: no decode delegate for this image format `/var/www/localhost/www.retiredsquirrels.com/htdocs/modules/gallery2/modules/imagemagick/data/test.gif'. |
(There is the possibility that test.gif is an invalid file, but that possibility is low.)
Before I roll back to 6.2.4, I was wondering if anyone had any immediate suggestions.
Code: | www gallery2 # emerge --info
Portage 2.0.54 (default-linux/x86/2005.1, gcc-3.4.4, glibc-2.3.5-r2, 2.6.15-gentoo-r1 i686)
=================================================================
System uname: 2.6.15-gentoo-r1 i686 Pentium III (Coppermine)
Gentoo Base System version 1.6.14
dev-lang/python: 2.3.5-r2, 2.4.2
sys-apps/sandbox: 1.2.12
sys-devel/autoconf: 2.13, 2.59-r6
sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils: 2.16.1
sys-devel/libtool: 1.5.22
virtual/os-headers: 2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium3 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /usr/X11R6/bin/startx /etc/env.d"
CXXFLAGS="-O2 -march=pentium3 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://gentoo.osuosl.org/ http://modzer0.cs.uaf.edu/public/gentoo/ http://gentoo.cites.uiuc.edu/pub/gentoo/ http://distro.ibiblio.org/pub/linux/distributions/gentoo/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.us.gentoo.org/gentoo-portage"
USE="x86 X apache2 apm avi bzip2 crypt curl emboss encode expat foomaticdb gdbm gif gpm imagemagick imlib ipv6 jpeg libg++ libwww maildir mhash mpeg mysql mysqli ncurses nls pam pcre pdflib perl php png python quicktime readline ruby spell ssl symlink tcpd tiff udev vhosts xml2 zlib userland_GNU kernel_linux elibc_glibc"
Unset: ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY |
_________________ Tim Morgan
DP G5/1.8GHz, no working Gentoo (yet...)
Last edited by Syzygy on Wed Feb 01, 2006 7:54 pm; edited 1 time in total |
|
Back to top |
|
|
dmpogo Advocate
Joined: 02 Sep 2004 Posts: 3269 Location: Canada
|
Posted: Wed Feb 01, 2006 12:24 am Post subject: Re: ImageMagick no longer recognizes gif's |
|
|
It does the same for me for ANY formats !! |
|
Back to top |
|
|
Syzygy n00b
Joined: 30 Apr 2004 Posts: 31 Location: Beloit, WI
|
Posted: Wed Feb 01, 2006 12:31 am Post subject: |
|
|
dmpogo, by golly you're right!
I tried it with a png and a jpeg ... same results. I'm going to look into this a bit more. _________________ Tim Morgan
DP G5/1.8GHz, no working Gentoo (yet...) |
|
Back to top |
|
|
ipic Guru
Joined: 29 Dec 2003 Posts: 383 Location: UK
|
Posted: Wed Feb 01, 2006 9:31 am Post subject: |
|
|
I don't know if this is relevant to this problem, but I've just emerged media-gfx/imagemagick-6.2.5.5 as an upgrade from 6.2.4.2-r1. Following that, I did Code: | revdep-rebuild -X -pv | Despite imagemagick being the only change since I last did this, it insisted that I needed to emerge it again. The broken link causing this was shown as
Code: | Checking dynamic linking consistency...
broken /usr/lib/perl5/vendor_perl/5.8.7/i586-linux/auto/Image/Magick/Magick.so (requires libMagick.so.6)
done. |
Like I say, not sure if it helps, but looks fishy. The emerge details I used are like this:
Code: | [ebuild R ] media-gfx/imagemagick-6.2.5.5 -X +bzip2 -doc -fpx -graphviz -gs -jbig +jpeg +lcms +mpeg -nocxx +perl +png +tiff +truetype -wmf +xml2 +zlib 0 kB |
Regards
Ian |
|
Back to top |
|
|
ipic Guru
Joined: 29 Dec 2003 Posts: 383 Location: UK
|
Posted: Wed Feb 01, 2006 9:38 am Post subject: |
|
|
Sorry, I should have done this before. The identify example works for me:
Code: | ipic@ian2 /share/pictures $ identify day2004261470715.gif
day2004261470715.gif GIF 400x297 400x297+0+0 PseudoClass 16c 3e+01kb
ian 2005-09-12_Prague # identify DSC01915.jpg
DSC01915.jpg JPEG 1280x960 1280x960+0+0 DirectClass 6e+02kb 0.750u 0:02 |
Probably a different problem.
Regards
Ian |
|
Back to top |
|
|
dmpogo Advocate
Joined: 02 Sep 2004 Posts: 3269 Location: Canada
|
Posted: Wed Feb 01, 2006 4:32 pm Post subject: |
|
|
ipic wrote: | Sorry, I should have done this before. The identify example works for me:
Code: | ipic@ian2 /share/pictures $ identify day2004261470715.gif
day2004261470715.gif GIF 400x297 400x297+0+0 PseudoClass 16c 3e+01kb
ian 2005-09-12_Prague # identify DSC01915.jpg
DSC01915.jpg JPEG 1280x960 1280x960+0+0 DirectClass 6e+02kb 0.750u 0:02 |
Probably a different problem.
Regards
Ian |
Actually for me revdep-rebuild shows that all the programs in
/usr/lib64/ImageMagick-6.2.5/modules-Q16/coders require libMagick.so.6
while imagemagick-6.2.5.5 provides libMagick.so.9 !!!
And these are pieces of the same package ! |
|
Back to top |
|
|
ikshaar Veteran
Joined: 23 Jul 2002 Posts: 1339 Location: Baltimore, MD
|
Posted: Wed Feb 01, 2006 4:50 pm Post subject: |
|
|
Same thing... ImageMagick is broken... _________________ "May God stands between you and harm in all the empty places where you must walk" - Babylon 5 |
|
Back to top |
|
|
dmpogo Advocate
Joined: 02 Sep 2004 Posts: 3269 Location: Canada
|
Posted: Wed Feb 01, 2006 5:01 pm Post subject: |
|
|
Reemerging imagemagick solves the problem !
dmpogo wrote: | ipic wrote: | Sorry, I should have done this before. The identify example works for me:
Code: | ipic@ian2 /share/pictures $ identify day2004261470715.gif
day2004261470715.gif GIF 400x297 400x297+0+0 PseudoClass 16c 3e+01kb
ian 2005-09-12_Prague # identify DSC01915.jpg
DSC01915.jpg JPEG 1280x960 1280x960+0+0 DirectClass 6e+02kb 0.750u 0:02 |
Probably a different problem.
Regards
Ian |
Actually for me revdep-rebuild shows that all the programs in
/usr/lib64/ImageMagick-6.2.5/modules-Q16/coders require libMagick.so.6
while imagemagick-6.2.5.5 provides libMagick.so.9 !!!
And these are pieces of the same package ! |
|
|
Back to top |
|
|
ipic Guru
Joined: 29 Dec 2003 Posts: 383 Location: UK
|
Posted: Wed Feb 01, 2006 7:17 pm Post subject: |
|
|
So it does Not sure why, but revdep-rebuild now comes back clean.
When in doubt, try again...... seems to be the motto!
Regards
Ian |
|
Back to top |
|
|
Syzygy n00b
Joined: 30 Apr 2004 Posts: 31 Location: Beloit, WI
|
Posted: Wed Feb 01, 2006 7:54 pm Post subject: |
|
|
A revdep-rebuild (which forces the package to be re-emerged) solved the problem. _________________ Tim Morgan
DP G5/1.8GHz, no working Gentoo (yet...) |
|
Back to top |
|
|
dmpogo Advocate
Joined: 02 Sep 2004 Posts: 3269 Location: Canada
|
Posted: Thu Feb 02, 2006 7:28 am Post subject: |
|
|
ipic wrote: | So it does Not sure why, but revdep-rebuild now comes back clean.
When in doubt, try again...... seems to be the motto!
Regards
Ian |
I guess ebuild is buggy and offending programs got compiled before the libraries.
So on the first run they were linked to the old libraries which were present at the time.
On the second compile the libraries were already updated. |
|
Back to top |
|
|
ipic Guru
Joined: 29 Dec 2003 Posts: 383 Location: UK
|
|
Back to top |
|
|
|