Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 168164

Summary: Perl imagemagick-6.3.0.5 module - undefined symbol: InitializeMagick
Product: Gentoo Linux Reporter: CJ Kucera <pez>
Component: Current packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: VERIFIED DUPLICATE    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description CJ Kucera 2007-02-23 17:32:58 UTC
I just upgraded my box to imagemagick-6.3.0.5, with the "perl" USE flag, and whenever I try to use Image::Magick, I get the following:

cj@supplicant ~/bin $ perl -e 'use Image::Magick'
perl: symbol lookup error: /usr/lib/perl5/site_perl/5.8.8/i686-linux/auto/Image/Magick/Magick.so: undefined symbol: InitializeMagick

I've found this mentioned a couple of times in the past, but the last bugzilla entry I found said that it was fixed in a 6.2.x.x imagemagick build, and its mention on the forums said to build Perl without ithreads, and my Perl is already without ithreads.  I've tried re-emerging imagemagick, and I recompiled Perl yesterday.

Reproducible: Always

Steps to Reproduce:
1. emerge imagemagick
2. perl -e 'use Image::Magick'
Actual Results:  
/usr/lib/perl5/site_perl/5.8.8/i686-linux/auto/Image/Magick/Magick.so: undefined symbol: InitializeMagick


Portage 2.1.2-r9 (default-linux/x86/2006.0, gcc-4.1.1, glibc-2.5-r0, 2.6.15.4 i686)
=================================================================
System uname: 2.6.15.4 i686 Intel(R) Pentium(R) M processor 1.86GHz
Gentoo Base System version 1.6.14
Timestamp of tree: Thu, 22 Feb 2007 16:30:07 +0000
dev-lang/python:     2.3.4-r1, 2.4.3-r4
dev-python/pycrypto: 2.0.1-r5
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.61
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.14
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=pentium3 -O3 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib/mozilla/defaults/pref /usr/share/X11/xkb"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/terminfo"
CXXFLAGS="-O2 -mcpu=i686 -pipe"
DISTDIR="/usr/distfiles"
FEATURES="autoconfig distlocks metadata-transfer parallel-fetch sandbox sfperms strict"
GENTOO_MIRRORS="http://gentoo.chem.wisc.edu/gentoo/"
PKGDIR="/usr/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage /usr/portage/local/layman/enlightenment"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac aalib acpi aim alsa apm avi bash-completion berkdb bitmap-fonts bzlib calendar cdparanoia cli cracklib crypt cups curl curlwrappers dga divx4linux dri dvd dvdread emboss encode esd ethereal exif ffmpeg flac foomaticdb fortran freetype ftp gd-external gdbm gif gnome gpm gstreamer gtk gtk2 iconv imagemagick imap imlib innodb isdnlog jabber javascript jpeg lcms ldap libcaca libg++ libwww mad maildir mailwrapper mbox midi mikmod mmx mng motif mp3 mpeg mysql ncurses network nls nptl offensive ogg oggvorbis openal opengl oss pam pcmcia pcre pdflib perl php png pppd python qt qt3 qt4 quicktime readline reflection samba sdl session shorten slang snmp speex spell spl sse sse2 ssl tcpd theora truetype truetype-fonts type1-fonts unicode usb v4l vcd videos vorbis win32codecs x86 xine xml xorg xv xvid zlib" ALSA_CARDS="intel8x0 intel8x0m" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="i810"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2007-02-23 17:39:43 UTC

*** This bug has been marked as a duplicate of bug 155804 ***
Comment 2 CJ Kucera 2007-02-23 17:46:54 UTC
Um, am I just totally misreading that other bug?  Imagemagick builds just fine on my system, it's just when I'm trying to use the Perl module Image::Magick that I ahve problems.  Also, as you can see, I'm not doing parallel makes - I'm not specifying -j<anything>.  I don't see how these two bugs are related.
Comment 3 Jakub Moc (RETIRED) gentoo-dev 2007-02-23 17:54:27 UTC
(In reply to comment #2)
> Um, am I just totally misreading that other bug?  

Probably... It's broken because of that patch to _that_ bug. :)
Comment 4 CJ Kucera 2007-02-23 17:57:29 UTC
Ah, okay, thanks.  Apologies for the DUP.  :)