Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 19899 - libMagick++ links against existing libMagick when updating
Summary: libMagick++ links against existing libMagick when updating
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: x86 Linux
: High minor
Assignee: Bartosch Pixa (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-04-24 18:01 UTC by Jeremy Huddleston (RETIRED)
Modified: 2003-10-01 09:21 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jeremy Huddleston (RETIRED) gentoo-dev 2003-04-24 18:01:46 UTC
I just did an 'emerge -u world', and imagemagick was updated... only I noticed the 
following problem: 
 
~ $ ldd /usr/lib/libMagick++-5.5.6-Q16.so.0.0.0 
        libMagick-5.5.5-Q16.so.0 => not found 
        libstdc++.so.5 => /usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.2/libstdc++.so.5 
(0x40086000) 
        libm.so.6 => /lib/libm.so.6 (0x40151000) 
        libc.so.6 => /lib/libc.so.6 (0x40174000) 
        libgcc_s.so.1 => /usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.2/libgcc_s.so.1 
(0x402a4000) 
        /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x80000000) 
 
It appears that when linking, libMagick++ was linked against the existing libMagick.so 
library rather than the one that was being installed. 
 
I'm doing an 'emerge imagemagick' right now, and I expect this will correct the 
problem. 

Reproducible: Always
Steps to Reproduce:
1.
2.
3.



Portage 2.0.47-r10 (default-x86-1.4, gcc-3.2.2, glibc-2.3.1-r4) 
================================================================= 
System uname: 2.4.20-gaming-r2 i686 Intel(R) Pentium(R) 4 Mobile CPU 1.60GHz 
GENTOO_MIRRORS="http://gentoo.oregonstate.edu/ 
http://distro.ibiblio.org/pub/Linux/distributions/gentoo" 
CONFIG_PROTECT="/etc /var/qmail/control /usr/share/config /usr/kde/2/share/config 
/usr/kde/3/share/config 
/usr/X11R6/lib/X11/xkb:/usr/kde/3.1/share/config:/usr/share/config" 
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" 
PORTDIR="/usr/portage" 
DISTDIR="/usr/portage/distfiles" 
PKGDIR="/usr/portage/packages" 
PORTAGE_TMPDIR="/usr/tmp" 
PORTDIR_OVERLAY="/usr/local/portage" 
USE="3dnow zlib bonobo opengl ldap aalib acl acpi alsa apm arts atlas avi berkdb 
bobobo cdr crypt cups dga directfb doc dvb dvd encode esd evo fbcon flash gb gd 
gdbm ggi gif gnome gphoto2 gpm gps gtk gtk2 gtkhtml guile imap imlib innodb ipv6 
java jikes jpeg junit kde kerberos lcms ldam leim libg++ libgda libwww mbox mikmod 
mmx motif mozilla mpeg mule mysql nas ncurses nls odbc oggvorbis oss pam pcmcia 
pda pdflib perl pic plotutils png pnp postgres python qt quicktime radeon readline ruby 
samba sasl scanner sdl slang slp snmp socks5 spell sse ssl svga tcltk tcpd tetex tiff 
truetype trusted usb wmf X xml xml2 xmms xv x86 threads mozsvg mozcalendar 
mozxmlterm" 
COMPILER="gcc3" 
CHOST="i686-pc-linux-gnu" 
CFLAGS="-march=pentium3 -mcpu=pentium4 -O3 -pipe -fomit-frame-pointer 
-falign-functions=4 -falign-jumps=4 -falign-loops=4 " 
CXXFLAGS="-march=pentium3 -mcpu=pentium4 -O3 -pipe -fomit-frame-pointer 
-falign-functions=4 -falign-jumps=4 -falign-loops=4 " 
ACCEPT_KEYWORDS="x86 jer" 
MAKEOPTS="-j2" 
AUTOCLEAN="yes" 
SYNC="rsync://rsync.gentoo.org/gentoo-portage" 
FEATURES="ccache sandbox userpriv usersandbox"
Comment 1 Jeremy Huddleston (RETIRED) gentoo-dev 2003-04-24 18:24:48 UTC
yep, after doing an 'emerge imagemagick', it works fine: 
ldd /usr/lib/libMagick++-5.5.6-Q16.so.0.0.0 
        libMagick-5.5.6-Q16.so.0 => /usr/lib/libMagick-5.5.6-Q16.so.0 (0x40086000) 
... 
Comment 2 Graham Forest 2003-06-08 13:13:38 UTC
After grinding my teeth at it for a while, I've realized that ImageMagick needs a very skilled Makefile monkey, which I am not.
Comment 3 Martin Holzer (RETIRED) gentoo-dev 2003-07-21 14:21:06 UTC
try again with 5.5.7-r1 and report please
Comment 4 Jeremy Huddleston (RETIRED) gentoo-dev 2003-09-14 17:09:06 UTC
It's still not working (sorry for the delay)

(17:06:12 Sun Sep 14 2003 jeremy@cloud)
~ $ ldd /usr/lib/libMagick++.so.6
        libMagick-5.5.6-Q16.so.0 => not found
        libstdc++.so.5 => /usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.3/libstdc++.so.5 (0x4008a000)
        libm.so.6 => /lib/libm.so.6 (0x40155000)
        libc.so.6 => /lib/libc.so.6 (0x40176000)
        libgcc_s.so.1 => /usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.3/libgcc_s.so.1 (0x4029c000)
        /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x80000000)

(17:06:35 Sun Sep 14 2003 jeremy@cloud)
~ $ qpkg -I -v -f /usr/lib/libMagick++.so.6
media-gfx/imagemagick-5.5.7-r1 *
Comment 5 Martin Holzer (RETIRED) gentoo-dev 2003-10-01 09:21:24 UTC
-r2 closes this