Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Portage & Programming
  • Search

Image::Magick undefined symbol error [SOLVED]

Problems with emerge or ebuilds? Have a basic programming question about C, PHP, Perl, BASH or something else?
Post Reply
Advanced search
16 posts • Page 1 of 1
Author
Message
wrs4
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 98
Joined: Tue May 27, 2003 7:55 pm
Location: Alexandria, VA

Image::Magick undefined symbol error [SOLVED]

  • Quote

Post by wrs4 » Wed Feb 28, 2007 6:42 pm

I'm running the latest gentoo updates. Perl is 5.8.8.

eix reports the following:

Code: Select all

[I] media-gfx/imagemagick 
     Available versions:  6.2.9.5 ~6.2.9.5-r1 6.3.0.5
     Installed:           6.3.0.5(10:50:21 AM 02/28/2007)(X -bzip2 -doc -fpx -graphviz -gs -jbig jpeg -jpeg2k -lcms mpeg -nocxx perl png -tiff truetype -wmf xml zlib)
     Homepage:            http://www.imagemagick.org/
     Description:         A collection of tools and libraries for many image formats
When I try to use it the Perl Image::Magick module, however, I get:

Code: Select all

$ perl 
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
$
From googling various sources, it appears that Image::Magick has gotten itself out of sync and that replacing the .so file with an older version of itself should fix things. I don't happen to have one lying around, and in any case it seems that it ought to be fixed the right way :)

I have re-emerged (emerge -e, actually) media-gfx/imagemagick. I have run perl-cleaner reallyall. The problem is still there. Any help would be appreciated.
Last edited by wrs4 on Wed Mar 07, 2007 7:46 pm, edited 1 time in total.
Top
Nahor
n00b
n00b
Posts: 51
Joined: Thu Jun 05, 2003 12:42 am

  • Quote

Post by Nahor » Tue Mar 06, 2007 1:13 am

I have the same problem:

Code: Select all

# perl -e ' use Image::Magick'
perl: symbol lookup error: /usr/lib64/perl5/site_perl/5.8.8/x86_64-linux/auto/Image/Magick/Magick.so: undefined symbol: InitializeMagick
On one of my machines it works fine. Now I'm installing gentoo on another machine and this one fails. Both uses the same version of ImageMagick (6.3.0.5) so it's not just the fact that it's new.

On the broken machine, I noticed that the Magick.so perl library does not reference libMagick.so:

Code: Select all

 # ldd /usr/lib64/perl5/site_perl/5.8.8/x86_64-linux/auto/Image/Magick/Magick.so
        libfreetype.so.6 => /usr/lib/libfreetype.so.6 (0x00002b0a599a5000)
        libz.so.1 => /lib/libz.so.1 (0x00002b0a59b1b000)
        libtiff.so.3 => /usr/lib/libtiff.so.3 (0x00002b0a59c2f000)
        libjpeg.so.62 => /usr/lib/libjpeg.so.62 (0x00002b0a59d88000)
        libbz2.so.1 => /lib/libbz2.so.1 (0x00002b0a59eaa000)
        libpthread.so.0 => /lib/libpthread.so.0 (0x00002b0a59fb9000)
        libm.so.6 => /lib/libm.so.6 (0x00002b0a5a0d3000)
        libc.so.6 => /lib/libc.so.6 (0x00002b0a5a227000)
        /lib64/ld-linux-x86-64.so.2 (0x0000555555554000)
But the working machine does:

Code: Select all

# ldd /usr/lib/perl5/site_perl/5.8.8/i686-linux/auto/Image/Magick/Magick.so
        libMagick.so.10 => /usr/lib/libMagick.so.10 (0x4003a000)
        libfreetype.so.6 => /usr/lib/libfreetype.so.6 (0x4015e000)
        libz.so.1 => /lib/libz.so.1 (0x401df000)
        libtiff.so.3 => /usr/lib/libtiff.so.3 (0x401f1000)
        libjpeg.so.62 => /usr/lib/libjpeg.so.62 (0x40248000)
        libbz2.so.1 => /lib/libbz2.so.1 (0x40269000)
        libpthread.so.0 => /lib/libpthread.so.0 (0x40279000)
        libm.so.6 => /lib/libm.so.6 (0x402cc000)
        libc.so.6 => /lib/libc.so.6 (0x402f0000)
        libdl.so.2 => /lib/libdl.so.2 (0x4040a000)
        /lib/ld-linux.so.2 (0x80000000)
It's hard to compare my two machines to find the difference because they don't have the same config: one is fairly old (x86, kernel 2.4, gcc 3.4.6, ...) while the other is brand new (amd64, kernel 2.6, gcc 4.1, ...).
Top
Nahor
n00b
n00b
Posts: 51
Joined: Thu Jun 05, 2003 12:42 am

  • Quote

Post by Nahor » Tue Mar 06, 2007 1:27 am

Also, when I compile I see a bunch of warning like this one:

Code: Select all

 /bin/sh ./libtool --silent --mode=install /bin/install -c  'wand/libWand.la' '/var/tmp/portage/media-gfx/imagemagick-6.3.0.5/image//usr/lib64/libWand.la'
libtool: install: warning: relinking `wand/libWand.la'
libtool: link: warning: `/usr/lib/libtiff.la' seems to be moved
libtool: link: warning: `/usr/lib/libjpeg.la' seems to be moved
libtool: link: warning: `/usr/lib/libfreetype.la' seems to be moved
libtool: install: warning: remember to run `libtool --finish /usr/lib64'

[...]

 /bin/sh ./libtool --silent --mode=install /bin/install -c  'coders/wpg.la' '/var/tmp/portage/media-gfx/imagemagick-6.3.0.5/image//usr/lib64/ImageMagick-6.3.0/modules-Q16/coders/wpg.la'
libtool: install: warning: relinking `coders/wpg.la'
libtool: link: warning: `/usr/lib/libtiff.la' seems to be moved
libtool: link: warning: `/usr/lib/libjpeg.la' seems to be moved
libtool: link: warning: `/usr/lib/libfreetype.la' seems to be moved
libtool: install: warning: remember to run `libtool --finish /usr/lib64/ImageMagick-6.3.0/modules-Q16/coders'
I don't know if it's related but maybe if libtool doesn't find those, it doesn't find libMagick either, so it's not added to the list of dependencies?
Top
Nahor
n00b
n00b
Posts: 51
Joined: Thu Jun 05, 2003 12:42 am

  • Quote

Post by Nahor » Tue Mar 06, 2007 1:34 am

For info:
http://bugs.gentoo.org/show_bug.cgi?id=155804

A patch to allow the use of parallel make (MAKEOPTS="-j2") broke the ebuild.
Top
wrs4
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 98
Joined: Tue May 27, 2003 7:55 pm
Location: Alexandria, VA

  • Quote

Post by wrs4 » Tue Mar 06, 2007 2:56 pm

Thank you for the information. I tried searching the gentoo bugzilla site with no luck; I'm glad your bugzilla-foo is better than mine :)

It's good to know that make -j1 should work as a temporary fix. I just hope they get the patch into the codebase soon.
Top
skoehler
n00b
n00b
Posts: 26
Joined: Sun Aug 04, 2002 1:20 pm

  • Quote

Post by skoehler » Tue Mar 06, 2007 4:41 pm

If your have the time, please teste the new patches i uploaded to the bug and post the result to the bug.

The new patches try to allow -j2 and above without the nolMagick.patch which caused the problems.
Top
Nahor
n00b
n00b
Posts: 51
Joined: Thu Jun 05, 2003 12:42 am

  • Quote

Post by Nahor » Tue Mar 06, 2007 6:26 pm

wrs4 wrote:It's good to know that make -j1 should work as a temporary fix.
No, this doesn't work. The fix for the "-j1" broke the ebuild for both "j1" and "j2"
Top
wrs4
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 98
Joined: Tue May 27, 2003 7:55 pm
Location: Alexandria, VA

  • Quote

Post by wrs4 » Wed Mar 07, 2007 2:31 pm

As I found out last night when I went to recompile things :( . According to the bugzilla thread on the subject, a new patch is supposed to go in today.
Top
skoehler
n00b
n00b
Posts: 26
Joined: Sun Aug 04, 2002 1:20 pm

  • Quote

Post by skoehler » Wed Mar 07, 2007 2:37 pm

The new ImageMagick ebuild is in portage.
Look here: http://www.gentoo-portage.com/media-gfx/imagemagick

It's the -r1 one.

And in addition, my parallel-make-patch has been commited upstream. It will also be included in any new ImageMagick release.
Top
wrs4
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 98
Joined: Tue May 27, 2003 7:55 pm
Location: Alexandria, VA

  • Quote

Post by wrs4 » Wed Mar 07, 2007 5:52 pm

The new ebuild works. I just ran one of my pet image conversion scripts and created a number of thumbnail images. If you want to give it a test, create a directory, put some files in it, and do the following:

Code: Select all

#!/usr/bin/perl
use File::Basename;
use File::Find;
use File::Slurp;
use Image::Magick;

my $DOC_ROOT    = "/home/you/test";
my $PIC_DIR     = "$DOC_ROOT";
my $MAXPW       = 390;
my $MAXPH       = 160;

my @image_files;
my $cur_image_size  = "not set";
my $image_index     = 1;

# get non-preview images from $PIC_DIR
find sub { push @image_files, $File::Find::name if -f && ! /prv/ }, $PIC_DIR;

# for each image, generate code block
foreach my $fullname (sort @image_files)
{
    my ($name,$path,$suffix) = fileparse($fullname, qw { \.jpg });
    my (undef,undef,$sequence) = split (/-/, $name);

    my $url     = "${name}$suffix";
    my $prv_url = "${name}_prv$suffix";

    my $i = new Image::Magick;
    $i->Read($fullname);

    # accumulate image sizes
    my $iwidth  = $i->Get('width');
    my $iheight = $i->Get('height');

    my $pwidth  = $iwidth;
    my $pheight = $iheight;

    my $wwidth  = $iwidth  / 4;
    my $wheight = $iheight / 4;

    # generate preview image size info
    my $scale   = ($iwidth > 2 * $iheight   ?
                    $iwidth  / $MAXPW       :
                    $iheight / $MAXPH
                  );
    $pwidth     = $iwidth  / $scale;
    $pheight    = $iheight / $scale;

    # print status
    print <<EOF;
Generating $name
    path        $path
    image       $iwidth x $iheight
    prv_image   $pwidth x $pheight
    window      $wwidth x $wheight

EOF

    # create the preview image
    my $preview_image = "$path$prv_url";
    $i->Resize(width    => $pwidth,
               height   => $pheight,
               blur     => 0
    );
    $i->Write(filename  => $preview_image);

    # set perms
    chmod (0755, $fullname);
    chmod (0755, $preview_image);
}
Top
SuperMe
n00b
n00b
Posts: 25
Joined: Mon May 30, 2005 10:10 pm
Location: London, UK

  • Quote

Post by SuperMe » Thu Mar 08, 2007 10:21 pm

emerging media-gfx/imagemagick-6.3.0.5-r1 seems to be broken to me. I get the following stuff spewing out until I kill the emerge.

Code: Select all

/bin/sh ./libtool --silent --tag=CC --mode=link x86_64-pc-linux-gnu-gcc  -march=athlon64 -O2 -pipe -Wall -W -pthread  -lfreetype -lz -L/usr/lib -o coders/cip.la -rpath /usr/lib64/ImageMagick-6.3.0/modules-Q16/coders -no-undefined -module -avoid-version coders/coders_cip_la-cip.lo magick/libMagick.la
/bin/sh ./libtool --silent --tag=CC --mode=link x86_64-pc-linux-gnu-gcc  -march=athlon64 -O2 -pipe -Wall -W -pthread  -lfreetype -lz -L/usr/lib -o coders/clip.la -rpath /usr/lib64/ImageMagick-6.3.0/modules-Q16/coders -no-undefined -module -avoid-version coders/coders_clip_la-clip.lo magick/libMagick.la
/bin/sh ./libtool --silent --tag=CC --mode=link x86_64-pc-linux-gnu-gcc  -march=athlon64 -O2 -pipe -Wall -W -pthread  -lfreetype -lz -L/usr/lib -o coders/cmyk.la -rpath /usr/lib64/ImageMagick-6.3.0/modules-Q16/coders -no-undefined -module -avoid-version coders/coders_cmyk_la-cmyk.lo magick/libMagick.la
libtool: link: warning: `/usr/lib/libtiff.la' seems to be moved
libtool: link: warning: `/usr/lib/libtiff.la' seems to be moved
libtool: link: warning: `/usr/lib/libjpeg.la' seems to be moved
libtool: link: warning: `/usr/lib/libfontconfig.la' seems to be moved
libtool: link: warning: `/usr/lib/libjpeg.la' seems to be moved
libtool: link: warning: `/usr/lib/libfontconfig.la' seems to be moved
libtool: link: warning: `/usr/lib/libXext.la' seems to be moved
libtool: link: warning: `/usr/lib/libSM.la' seems to be moved
libtool: link: warning: `/usr/lib/libtiff.la' seems to be moved
libtool: link: warning: `/usr/lib/libICE.la' seems to be moved
libtool: link: warning: `/usr/lib/libXext.la' seems to be moved
libtool: link: warning: `/usr/lib/libX11.la' seems to be moved
libtool: link: warning: `/usr/lib/libjpeg.la' seems to be moved
libtool: link: warning: `/usr/lib/libXt.la' seems to be moved
libtool: link: warning: `/usr/lib/libfontconfig.la' seems to be moved
libtool: link: warning: `/usr/lib/libSM.la' seems to be moved
libtool: link: warning: `/usr/lib/libICE.la' seems to be moved
libtool: link: warning: `/usr/lib/libXext.la' seems to be moved
libtool: link: warning: `/usr/lib/libX11.la' seems to be moved
libtool: link: warning: `/usr/lib/libfreetype.la' seems to be moved
libtool: link: warning: `/usr/lib/libXt.la' seems to be moved
libtool: link: warning: `/usr/lib/libSM.la' seems to be moved
libtool: link: warning: `/usr/lib/libICE.la' seems to be moved
libtool: link: warning: `/usr/lib/libX11.la' seems to be moved
libtool: link: warning: `/usr/lib/libXt.la' seems to be moved
libtool: link: warning: `/usr/lib/libfreetype.la' seems to be moved
libtool: link: warning: `/usr/lib/libfreetype.la' seems to be moved
My portage environment is as follows. I tried using MAKEOPTS="-j1" but that didn't help either. Any ideas?

Code: Select all

emerge --info
Portage 2.1.2.2 (default-linux/amd64/2006.0, gcc-3.4.6, glibc-2.5-r0, 2.6.17-gentoo-r4 x86_64)
=================================================================
System uname: 2.6.17-gentoo-r4 x86_64 AMD Athlon(tm) 64 X2 Dual Core Processor 3800+
Gentoo Base System release 1.12.9
Timestamp of tree: Thu, 08 Mar 2007 21:20:01 +0000
dev-lang/python:     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="amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=athlon64 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-march=athlon64 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://www.mirrorservice.org/sites/www.ibiblio.org/gentoo/ ftp://ftp.mirrorservice.org/sites/www.ibiblio.org/gentoo/ http://mirror.etf.bg.ac.yu/gentoo ftp://mirror.etf.bg.ac.yu/gentoo/ "
MAKEOPTS="-j3"
PKGDIR="/usr/portage/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 --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X alsa amd64 apache2 arts bash-completion berkdb bitmap-fonts cli cracklib crypt cups dedicated dri dvd eds emboss encode foomaticdb fortran gif gpm gstreamer gtk gtk2 hal iconv imlib ipv6 isdnlog jpeg kde lzw lzw-tiff midi mp3 mpeg mysql ncurses nls nptl nptlonly oggvorbis openal opengl oss pam pcre pdf perl php png pppd python qt3 qt4 quicktime readline reflection samba sdl session spell spl ssl tcpd tiff tokenizer truetype truetype-fonts type1-fonts unicode usb vorbis xml xorg xpm xv zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" 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 evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="apm ark ati chips cirrus cyrix dummy fbdev glint i128 i810 mga neomagic nv rendition s3 s3virge savage siliconmotion sis sisusb tdfx tga trident tseng v4l vesa vga via vmware voodoo"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Top
skoehler
n00b
n00b
Posts: 26
Joined: Sun Aug 04, 2002 1:20 pm

  • Quote

Post by skoehler » Thu Mar 08, 2007 10:41 pm

SuperMe wrote:emerging media-gfx/imagemagick-6.3.0.5-r1 seems to be broken to me. I get the following stuff spewing out until I kill the emerge.

Code: Select all

/bin/sh ./libtool --silent --tag=CC --mode=link x86_64-pc-linux-gnu-gcc  -march=athlon64 -O2 -pipe -Wall -W -pthread  -lfreetype -lz -L/usr/lib -o coders/cip.la -rpath /usr/lib64/ImageMagick-6.3.0/modules-Q16/coders -no-undefined -module -avoid-version coders/coders_cip_la-cip.lo magick/libMagick.la
/bin/sh ./libtool --silent --tag=CC --mode=link x86_64-pc-linux-gnu-gcc  -march=athlon64 -O2 -pipe -Wall -W -pthread  -lfreetype -lz -L/usr/lib -o coders/clip.la -rpath /usr/lib64/ImageMagick-6.3.0/modules-Q16/coders -no-undefined -module -avoid-version coders/coders_clip_la-clip.lo magick/libMagick.la
/bin/sh ./libtool --silent --tag=CC --mode=link x86_64-pc-linux-gnu-gcc  -march=athlon64 -O2 -pipe -Wall -W -pthread  -lfreetype -lz -L/usr/lib -o coders/cmyk.la -rpath /usr/lib64/ImageMagick-6.3.0/modules-Q16/coders -no-undefined -module -avoid-version coders/coders_cmyk_la-cmyk.lo magick/libMagick.la
libtool: link: warning: `/usr/lib/libtiff.la' seems to be moved
libtool: link: warning: `/usr/lib/libtiff.la' seems to be moved
libtool: link: warning: `/usr/lib/libjpeg.la' seems to be moved
libtool: link: warning: `/usr/lib/libfontconfig.la' seems to be moved
libtool: link: warning: `/usr/lib/libjpeg.la' seems to be moved
libtool: link: warning: `/usr/lib/libfontconfig.la' seems to be moved
libtool: link: warning: `/usr/lib/libXext.la' seems to be moved
libtool: link: warning: `/usr/lib/libSM.la' seems to be moved
libtool: link: warning: `/usr/lib/libtiff.la' seems to be moved
libtool: link: warning: `/usr/lib/libICE.la' seems to be moved
libtool: link: warning: `/usr/lib/libXext.la' seems to be moved
libtool: link: warning: `/usr/lib/libX11.la' seems to be moved
libtool: link: warning: `/usr/lib/libjpeg.la' seems to be moved
libtool: link: warning: `/usr/lib/libXt.la' seems to be moved
libtool: link: warning: `/usr/lib/libfontconfig.la' seems to be moved
libtool: link: warning: `/usr/lib/libSM.la' seems to be moved
libtool: link: warning: `/usr/lib/libICE.la' seems to be moved
libtool: link: warning: `/usr/lib/libXext.la' seems to be moved
libtool: link: warning: `/usr/lib/libX11.la' seems to be moved
libtool: link: warning: `/usr/lib/libfreetype.la' seems to be moved
libtool: link: warning: `/usr/lib/libXt.la' seems to be moved
libtool: link: warning: `/usr/lib/libSM.la' seems to be moved
libtool: link: warning: `/usr/lib/libICE.la' seems to be moved
libtool: link: warning: `/usr/lib/libX11.la' seems to be moved
libtool: link: warning: `/usr/lib/libXt.la' seems to be moved
libtool: link: warning: `/usr/lib/libfreetype.la' seems to be moved
libtool: link: warning: `/usr/lib/libfreetype.la' seems to be moved
Hmm, that's a problem related to libtool, i guess.
But it's different from the undefined symbol / parallel make issue.

What do you mean, with that "I get the following stuff spewing out until I kill the emerge" ?
Is it writing line by line? Or is it writing the lines above, and then going into an endless loop?

Can you show us all the output (stdout + stderr) of emerge imagemagick?
Top
SuperMe
n00b
n00b
Posts: 25
Joined: Mon May 30, 2005 10:10 pm
Location: London, UK

  • Quote

Post by SuperMe » Fri Mar 09, 2007 12:09 am

Unfortunately I can't post the whole output because it's too large. The bit I posted appears to be repeated until emerge is terminated.

Code: Select all

Calculating dependencies  ..... ...... done!

>>> Emerging (1 of 1) media-gfx/imagemagick-6.3.0.5-r1 to /
 * ImageMagick-6.3.0-5.tar.bz2 RMD160 ;-) ...                                                 [ ok ]
 * ImageMagick-6.3.0-5.tar.bz2 SHA1 ;-) ...                                                   [ ok ]
 * ImageMagick-6.3.0-5.tar.bz2 SHA256 ;-) ...                                                 [ ok ]
 * ImageMagick-6.3.0-5.tar.bz2 size ;-) ...                                                   [ ok ]
 * checking ebuild checksums ;-) ...                                                          [ ok ]
 * checking auxfile checksums ;-) ...                                                         [ ok ]
 * checking miscfile checksums ;-) ...                                                        [ ok ]
 * checking ImageMagick-6.3.0-5.tar.bz2 ;-) ...                                               [ ok ]
>>> Unpacking source...
>>> Unpacking ImageMagick-6.3.0-5.tar.bz2 to /var/tmp/portage/media-gfx/imagemagick-6.3.0.5-r1/work
 * Applying imagemagick-6.3.0.5-docs.patch ...
  [ ok ]
 * Applying imagemagick-6.3.0.5-parallel-build.patch ...
  [ ok ]
 * Applying imagemagick-6.3.0.5-configure-windows-fonts.patch ...
  [ ok ]
>>> Source unpacked.
>>> Compiling source in /var/tmp/portage/media-gfx/imagemagick-6.3.0.5-r1/work/ImageMagick-6.3.0 ...
 * econf: updating ImageMagick-6.3.0/config/config.guess with /usr/share/gnuconfig/config.guess
 * econf: updating ImageMagick-6.3.0/config/config.sub with /usr/share/gnuconfig/config.sub
./configure --prefix=/usr --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --with-threads --with-modules --with-perl --with-gs-font-dir=/usr/share/fonts/default/ghostscript --with-windows-font-dir=/usr/share/fonts/corefonts --with-magick-plus-plus --without-bzlib --without-fpx --without-gslib --without-gvc --without-jbig --with-jpeg --without-jp2 --without-lcms --with-mpeg2 --with-png --with-tiff --with-ttf --without-wmf --with-xml --with-zlib --with-x --libdir=/usr/lib64 --build=x86_64-pc-linux-gnu
configuring ImageMagick 6.3.0
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking target system type... x86_64-pc-linux-gnu
checking whether build environment is sane... yes
Miss out about 1500 lines ...

Code: Select all

libtool: link: warning: `/usr/lib/libfreetype.la' seems to be moved
/bin/sh ./libtool --silent --tag=CC --mode=link x86_64-pc-linux-gnu-gcc  -march=athlon64 -O2 -pipe -Wall -W -pthread  -lfreetype -lz -L/usr/lib -o coders/html.la -rpath /usr/lib64/ImageMagick-6.3.0/modules-Q16/coders -no-undefined -module -avoid-version coders/coders_html_la-html.lo magick/libMagick.la 
libtool: link: warning: `/usr/lib/libfreetype.la' seems to be moved
libtool: link: warning: `/usr/lib/libtiff.la' seems to be moved
libtool: link: warning: `/usr/lib/libjpeg.la' seems to be moved
libtool: link: warning: `/usr/lib/libfontconfig.la' seems to be moved
libtool: link: warning: `/usr/lib/libXext.la' seems to be moved
/bin/sh ./libtool --silent --tag=CC --mode=link x86_64-pc-linux-gnu-gcc  -march=athlon64 -O2 -pipe -Wall -W -pthread  -lfreetype -lz -L/usr/lib -o coders/icon.la -rpath /usr/lib64/ImageMagick-6.3.0/modules-Q16/coders -no-undefined -module -avoid-version coders/coders_icon_la-icon.lo magick/libMagick.la 
/bin/sh ./libtool --silent --tag=CC --mode=link x86_64-pc-linux-gnu-gcc  -march=athlon64 -O2 -pipe -Wall -W -pthread  -lfreetype -lz -L/usr/lib -o coders/info.la -rpath /usr/lib64/ImageMagick-6.3.0/modules-Q16/coders -no-undefined -module -avoid-version coders/coders_info_la-info.lo magick/libMagick.la 
libtool: link: warning: `/usr/lib/libSM.la' seems to be moved
libtool: link: warning: `/usr/lib/libICE.la' seems to be moved
libtool: link: warning: `/usr/lib/libX11.la' seems to be moved
libtool: link: warning: `/usr/lib/libXt.la' seems to be moved
libtool: link: warning: `/usr/lib/libfreetype.la' seems to be moved
libtool: link: warning: `/usr/lib/libtiff.la' seems to be moved
libtool: link: warning: `/usr/lib/libtiff.la' seems to be moved
libtool: link: warning: `/usr/lib/libjpeg.la' seems to be moved
libtool: link: warning: `/usr/lib/libfontconfig.la' seems to be moved
libtool: link: warning: `/usr/lib/libjpeg.la' seems to be moved
libtool: link: warning: `/usr/lib/libfontconfig.la' seems to be moved
libtool: link: warning: `/usr/lib/libXext.la' seems to be moved
libtool: link: warning: `/usr/lib/libSM.la' seems to be moved
/bin/sh ./libtool --silent --tag=CC --mode=link x86_64-pc-linux-gnu-gcc  -march=athlon64 -O2 -pipe -Wall -W -pthread  -lfreetype -lz -L/usr/lib -o coders/label.la -rpath /usr/lib64/ImageMagick-6.3.0/modules-Q16/coders -no-undefined -module -avoid-version -lm coders/coders_label_la-label.lo magick/libMagick.la 
libtool: link: warning: `/usr/lib/libXext.la' seems to be moved
libtool: link: warning: `/usr/lib/libICE.la' seems to be moved
libtool: link: warning: `/usr/lib/libX11.la' seems to be moved
libtool: link: warning: `/usr/lib/libSM.la' seems to be moved
libtool: link: warning: `/usr/lib/libXt.la' seems to be moved
libtool: link: warning: `/usr/lib/libICE.la' seems to be moved
libtool: link: warning: `/usr/lib/libX11.la' seems to be moved
libtool: link: warning: `/usr/lib/libXt.la' seems to be moved
libtool: link: warning: `/usr/lib/libfreetype.la' seems to be moved
libtool: link: warning: `/usr/lib/libfreetype.la' seems to be moved
libtool: link: warning: `/usr/lib/libtiff.la' seems to be moved
libtool: link: warning: `/usr/lib/libjpeg.la' seems to be moved
libtool: link: warning: `/usr/lib/libfontconfig.la' seems to be moved
/bin/sh ./libtool --silent --tag=CC --mode=link x86_64-pc-linux-gnu-gcc  -march=athlon64 -O2 -pipe -Wall -W -pthread  -lfreetype -lz -L/usr/lib -o coders/magick.la -rpath /usr/lib64/ImageMagick-6.3.0/modules-Q16/coders -no-undefined -module -avoid-version coders/coders_magick_la-magick.lo magick/libMagick.la 
libtool: link: warning: `/usr/lib/libXext.la' seems to be moved
/bin/sh ./libtool --silent --tag=CC --mode=link x86_64-pc-linux-gnu-gcc  -march=athlon64 -O2 -pipe -Wall -W -pthread  -lfreetype -lz -L/usr/lib -o coders/map.la -rpath /usr/lib64/ImageMagick-6.3.0/modules-Q16/coders -no-undefined -module -avoid-version coders/coders_map_la-map.lo magick/libMagick.la 
libtool: link: warning: `/usr/lib/libSM.la' seems to be moved
libtool: link: warning: `/usr/lib/libICE.la' seems to be moved
libtool: link: warning: `/usr/lib/libX11.la' seems to be moved
libtool: link: warning: `/usr/lib/libXt.la' seems to be moved
libtool: link: warning: `/usr/lib/libfreetype.la' seems to be moved
libtool: link: warning: `/usr/lib/libtiff.la' seems to be moved
libtool: link: warning: `/usr/lib/libjpeg.la' seems to be moved
libtool: link: warning: `/usr/lib/libtiff.la' seems to be moved
libtool: link: warning: `/usr/lib/libfontconfig.la' seems to be moved
libtool: link: warning: `/usr/lib/libjpeg.la' seems to be moved
libtool: link: warning: `/usr/lib/libXext.la' seems to be moved
libtool: link: warning: `/usr/lib/libfontconfig.la' seems to be moved
libtool: link: warning: `/usr/lib/libSM.la' seems to be moved
libtool: link: warning: `/usr/lib/libICE.la' seems to be moved
libtool: link: warning: `/usr/lib/libXext.la' seems to be moved
libtool: link: warning: `/usr/lib/libSM.la' seems to be moved
libtool: link: warning: `/usr/lib/libICE.la' seems to be moved
libtool: link: warning: `/usr/lib/libX11.la' seems to be moved
libtool: link: warning: `/usr/lib/libX11.la' seems to be moved
libtool: link: warning: `/usr/lib/libXt.la' seems to be moved
libtool: link: warning: `/usr/lib/libXt.la' seems to be moved
/bin/sh ./libtool --silent --tag=CC --mode=link x86_64-pc-linux-gnu-gcc  -march=athlon64 -O2 -pipe -Wall -W -pthread  -lfreetype -lz -L/usr/lib -o coders/mat.la -rpath /usr/lib64/ImageMagick-6.3.0/modules-Q16/coders -no-undefined -module -avoid-version coders/coders_mat_la-mat.lo magick/libMagick.la 
libtool: link: warning: `/usr/lib/libfreetype.la' seems to be moved
libtool: link: warning: `/usr/lib/libfreetype.la' seems to be moved
libtool: link: warning: `/usr/lib/libtiff.la' seems to be moved
/bin/sh ./libtool --silent --tag=CC --mode=link x86_64-pc-linux-gnu-gcc  -march=athlon64 -O2 -pipe -Wall -W -pthread  -lfreetype -lz -L/usr/lib -o coders/matte.la -rpath /usr/lib64/ImageMagick-6.3.0/modules-Q16/coders -no-undefined -module -avoid-version coders/coders_matte_la-matte.lo magick/libMagick.la 
libtool: link: warning: `/usr/lib/libjpeg.la' seems to be moved
libtool: link: warning: `/usr/lib/libfontconfig.la' seems to be moved
libtool: link: warning: `/usr/lib/libXext.la' seems to be moved
libtool: link: warning: `/usr/lib/libSM.la' seems to be moved
/bin/sh ./libtool --silent --tag=CC --mode=link x86_64-pc-linux-gnu-gcc  -march=athlon64 -O2 -pipe -Wall -W -pthread  -lfreetype -lz -L/usr/lib -o coders/meta.la -rpath /usr/lib64/ImageMagick-6.3.0/modules-Q16/coders -no-undefined -module -avoid-version coders/coders_meta_la-meta.lo magick/libMagick.la 
libtool: link: warning: `/usr/lib/libICE.la' seems to be moved
libtool: link: warning: `/usr/lib/libX11.la' seems to be moved
libtool: link: warning: `/usr/lib/libXt.la' seems to be moved
libtool: link: warning: `/usr/lib/libfreetype.la' seems to be moved
libtool: link: warning: `/usr/lib/libtiff.la' seems to be moved
libtool: link: warning: `/usr/lib/libjpeg.la' seems to be moved
libtool: link: warning: `/usr/lib/libfontconfig.la' seems to be moved
libtool: link: warning: `/usr/lib/libXext.la' seems to be moved
libtool: link: warning: `/usr/lib/libSM.la' seems to be moved
libtool: link: warning: `/usr/lib/libICE.la' seems to be moved
libtool: link: warning: `/usr/lib/libX11.la' seems to be moved
libtool: link: warning: `/usr/lib/libXt.la' seems to be moved
libtool: link: warning: `/usr/lib/libtiff.la' seems to be moved
libtool: link: warning: `/usr/lib/libjpeg.la' seems to be moved
libtool: link: warning: `/usr/lib/libfreetype.la' seems to be moved
libtool: link: warning: `/usr/lib/libfontconfig.la' seems to be moved
libtool: link: warning: `/usr/lib/libXext.la' seems to be moved
libtool: link: warning: `/usr/lib/libSM.la' seems to be moved
libtool: link: warning: `/usr/lib/libICE.la' seems to be moved
libtool: link: warning: `/usr/lib/libX11.la' seems to be moved
libtool: link: warning: `/usr/lib/libXt.la' seems to be moved
/bin/sh ./libtool --silent --tag=CC --mode=link x86_64-pc-linux-gnu-gcc  -march=athlon64 -O2 -pipe -Wall -W -pthread  -lfreetype -lz -L/usr/lib -o coders/miff.la -rpath /usr/lib64/ImageMagick-6.3.0/modules-Q16/coders -no-undefined -module -avoid-version coders/coders_miff_la-miff.lo magick/libMagick.la -lz   
libtool: link: warning: `/usr/lib/libfreetype.la' seems to be moved
/bin/sh ./libtool --silent --tag=CC --mode=link x86_64-pc-linux-gnu-gcc  -march=athlon64 -O2 -pipe -Wall -W -pthread  -lfreetype -lz -L/usr/lib -o coders/mono.la -rpath /usr/lib64/ImageMagick-6.3.0/modules-Q16/coders -no-undefined -module -avoid-version coders/coders_mono_la-mono.lo magick/libMagick.la 
/bin/sh ./libtool --silent --tag=CC --mode=link x86_64-pc-linux-gnu-gcc  -march=athlon64 -O2 -pipe -Wall -W -pthread  -lfreetype -lz -L/usr/lib -o coders/mpc.la -rpath /usr/lib64/ImageMagick-6.3.0/modules-Q16/coders -no-undefined -module -avoid-version coders/coders_mpc_la-mpc.lo magick/libMagick.la 
libtool: link: warning: `/usr/lib/libtiff.la' seems to be moved
libtool: link: warning: `/usr/lib/libjpeg.la' seems to be moved
libtool: link: warning: `/usr/lib/libfontconfig.la' seems to be moved
libtool: link: warning: `/usr/lib/libXext.la' seems to be moved
libtool: link: warning: `/usr/lib/libSM.la' seems to be moved
libtool: link: warning: `/usr/lib/libICE.la' seems to be moved
libtool: link: warning: `/usr/lib/libX11.la' seems to be moved
make: *** [coders/mono.la] Interrupt
make: *** [coders/mpc.la] Interrupt
make: *** [coders/miff.la] Interrupt

/usr/portage/media-gfx/imagemagick/imagemagick-6.3.0.5-r1.ebuild: src_compile aborted; exiting.

sandbox:  Caught signal 2 in pid 18354
Top
Nahor
n00b
n00b
Posts: 51
Joined: Thu Jun 05, 2003 12:42 am

  • Quote

Post by Nahor » Fri Mar 09, 2007 12:16 am

Is it really an endless loop or is it just that you didn't wait long enough? Check if you get repetition of the libtool command line. In your dump samples, it was linking different modules each time (the "-o coders/..." part).

In my case, I got those libtool warnings too but it still compiled fine in the end. However, I can say if it actually runs fine or not, I don't really use ImageMagick, it's just a dependency for another package.
Top
skoehler
n00b
n00b
Posts: 26
Joined: Sun Aug 04, 2002 1:20 pm

  • Quote

Post by skoehler » Fri Mar 09, 2007 1:51 am

I really can't see an endless loop in what SuperMe posted.

The commandline changes everytime. ImageMagick has many of these so called "coders" and each one of them is compiled and causes tha libtool-warnings.
Top
SuperMe
n00b
n00b
Posts: 25
Joined: Mon May 30, 2005 10:10 pm
Location: London, UK

  • Quote

Post by SuperMe » Sat Mar 10, 2007 9:31 pm

OK. Thanks chaps. I'll run the emerge overnight and see if it finishes.
Top
Post Reply

16 posts • Page 1 of 1

Return to “Portage & Programming”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic