Frank Schafer wrote:

Hi,

!!! ERROR: media-gfx/imagemagick-6.1.3.4 failed.
!!! Function src_compile, Line 83, Exitcode 2

I did an ``emerge -u world''. As I saw gcc was upgraded to 3.3.5. This
seems to break libtool.

Today I tried to emerge ImageMagick (and yes, I DID ``emerge --unmerge
libtool; emertge libtool'' before this).

d -lm -lpthread ltdl/libltdl.la grep: /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.4/libstdc++.la: No such
file or directory
/bin/sed: can't read /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.4/libstdc
++.la: No such file or directory
libtool: link: `/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.4/libstdc++.la'
is not a valid libtool archive
make[1]: *** [magick/libMagick.la] Error 1
make[1]: Leaving directory
`/var/tmp/portage/imagemagick-6.1.3.4/work/ImageMagick-6.1.3'
make: *** [all] Error 2


Seems libtool has the path to the gcc libraries hardcoded. Wouldn't it
be a good idea to change libtool whenever we upgrade GCC?

Regards
Frank


-- gentoo-user@gentoo.org mailing list



This problem has been going around with gcc 3.3.5. I don't really understand what the problem is, but I do know a fix is described in this thread -> http://forums.gentoo.org/viewtopic.php?t=278673

Basically I ran:
gcc-config 1
fix_libtool_files.sh 3.3.4 --oldarch i386-pc-linux-gnu

Maybe someone else can explain the how's and why's if it hasn't already been done so...

Scott





--
gentoo-user@gentoo.org mailing list



Reply via email to