Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 35414 - libgimpprintui-4.3.25.so from gimp-print links with older libgimpprint .so file
Summary: libgimpprintui-4.3.25.so from gimp-print links with older libgimpprint .so file
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Printing (show other bugs)
Hardware: x86 Linux
: High major (vote)
Assignee: Printing Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-12-08 21:03 UTC by John Ross Hunt
Modified: 2004-02-12 07:32 UTC (History)
2 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 John Ross Hunt 2003-12-08 21:03:25 UTC
Upgraded to gimp-print-4.3.25 and noticed libgimpprintui-4.3.25.so links with
older version .so file.

% qpkg -nc -I -v -f /usr/lib/libgimpprint-4.3.25.so
media-gfx/gimp-print-4.3.25

% qpkg -nc -I -v -f /usr/lib/libgimpprintui-4.3.25.so
media-gfx/gimp-print-4.3.25

% ldd /usr/lib/libgimpprint-4.3.25.so
        libm.so.6 => /lib/libm.so.6 (0x4004b000)
        libdl.so.2 => /lib/libdl.so.2 (0x4006d000)
        libc.so.6 => /lib/libc.so.6 (0x40070000)
        /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x80000000)

% ldd /usr/lib/libgimpprintui-4.3.25.so
        libgimpprint-4.3.21.so => not found
        libgtk-1.2.so.0 => /usr/lib/libgtk-1.2.so.0 (0x4003e000)
        libgdk-1.2.so.0 => /usr/lib/libgdk-1.2.so.0 (0x401a0000)
        libgmodule-1.2.so.0 => /usr/lib/libgmodule-1.2.so.0 (0x401da000)
        libglib-1.2.so.0 => /usr/lib/libglib-1.2.so.0 (0x401dd000)
        libdl.so.2 => /lib/libdl.so.2 (0x40204000)
        libXi.so.6 => /usr/X11R6/lib/libXi.so.6 (0x40207000)
        libXext.so.6 => /usr/X11R6/lib/libXext.so.6 (0x4020f000)
        libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x4021f000)
        libm.so.6 => /lib/libm.so.6 (0x40301000)
        libc.so.6 => /lib/libc.so.6 (0x40323000)
        /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x80000000)

Reproducible: Always
Steps to Reproduce:
1. emerge gimp-print-4.3.25
2. ldd /usr/lib/libgimpprintui-4.3.25.so
3. libgimpprint-4.3.21.so => not found




Portage 2.0.49-r18 (default-x86-1.4, gcc-3.3.2, glibc-2.3.2-r9, 2.4.20-gentoo-r8)
=================================================================
System uname: 2.4.20-gentoo-r8 i686 Pentium III (Katmai)
Gentoo Base System version 1.4.3.12
distcc 2.11.2 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled]
ccache version 2.3 [enabled]
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-march=pentium3 -O2 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3.1/share/config /usr/kde/3/share/config /usr/share/config
/usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/
/usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/
/usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-march=pentium3 -O2 -pipe -fomit-frame-pointer -Wno-deprecated"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache distcc fixpackages sandbox"
GENTOO_MIRRORS="ftp://ftp.gtlib.cc.gatech.edu/pub/gentoo
http://gentoo.mirrors.pair.com http://gentoo.oregonstate.edu
http://www.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="X aalib alsa apm arts avi berkdb bonobo bots cdr crypt cups curl dedicated
dga directfb doc dvb dvd encode esd evo faad foomaticdb gb gd gdbm ggi gif gnome
gnomedb gphoto2 gpm gtk gtk2 gtkhtml guile i8x0 imlib jack java joystick jpeg
kde kerberos krb4 ladcca lcms ldap libg++ libgda libwww mad maildir mbox mikmod
mmx mng motif mozilla mpeg nas ncurses nls oci8 odbc offensive ofx oggvorbis
openal opengl oss pam pda pdflib perl plotutils png ppds python qt quicktime
readline ruby samba scanner sdl slang slp snmp sox spell sqlite sse ssl svga
tcltk tcpd tetex tiff truetype type1 usb v4l vim-with-x wmf wxwindows x86 xml
xml2 xmms xv xvid zlib"
Comment 1 Heinrich Wendel (RETIRED) gentoo-dev 2003-12-13 05:14:11 UTC
i'm looking how to fix that, a simple workaround is to merge the same version again
Comment 2 Heinrich Wendel (RETIRED) gentoo-dev 2004-01-22 06:07:38 UTC
anybody can help me with that?
Comment 3 Stephane Loeuillet 2004-02-09 11:19:29 UTC
the same happens when updating gimp, it links against globally installed libs instead of local libs that where just built

try to first unmerge it then, re emerge it

Comment 4 Martin Schlemmer (RETIRED) gentoo-dev 2004-02-11 13:38:01 UTC
Fix is simple:

1) inherit libtool

2)  Add to src_unpack() or src_compile before configure:

  elibtoolize --reverse-deps

(note the 'e' in front).
Comment 5 Martin Schlemmer (RETIRED) gentoo-dev 2004-02-11 13:39:01 UTC
Guys, please note that below should not be done if there is not issues like
this where the new version links against the old ones libs in /usr/lib ...
Comment 6 Heinrich Wendel (RETIRED) gentoo-dev 2004-02-12 07:32:31 UTC
thx, that fixed it :)