Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 116435 - [prelink] amule cannot prelink against non-PIC shared library
Summary: [prelink] amule cannot prelink against non-PIC shared library
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High minor (vote)
Assignee: Gentoo Toolchain Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-12-22 16:36 UTC by charly
Modified: 2007-03-25 05:12 UTC (History)
1 user (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 charly 2005-12-22 16:36:06 UTC
Hi

In #116402, ive been suggested to post a bug for each ebuild that cannot be prelinked. Althought im here on another gentoo box, i have the same issue:

When trying to prelink /usr/bin/amule, i get:
# prelink -mR /usr/bin/amule
[snip]
prelink: /usr/bin/amule: Cannot prelink against non-PIC shared library  /usr/lib/libtiff.so.3
[snip]

I have the same error for tenth of packages, so i wonder if it is a package related problem or a prelink one. If its a package related problem, maybe i should not post a bug for each of them... Just say

Thanks

Charly


my emerge --info:

Portage 2.0.51.22-r3 (default-linux/x86/2005.0, gcc-3.4.4, glibc-2.3.5-r2, 2.6.13-gentoo-r3 i686)
=================================================================
System uname: 2.6.13-gentoo-r3 i686 AMD Athlon(tm) XP 2500+
Gentoo Base System version 1.6.13
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
dev-lang/python:     2.3.5-r2, 2.4.2
sys-apps/sandbox:    1.2.12
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.20
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O3 -mcpu=i686 -march=athlon-xp -fomit-frame-pointer -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /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/terminfo /etc/env.d"
CXXFLAGS="-O3 -mcpu=i686 -march=athlon-xp -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/"
LANG="C"
LC_ALL="en_US.UTF-8"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 3dnow X alsa apache2 apm audiofile avi berkdb bitmap-fonts bzip2 cdr crypt cups curl directfb dvd dvdread eds emboss encode exif expat fam fbcon ffmpeg flac foomaticdb fortran gdbm gif glut gmp gnustep gpm gstreamer gtk gtk2 idn imagemagick imlib ipv6 java javascript jpeg lcms ldap libg++ libwww mad mhash mikmod mmx mng motif mp3 mpeg mplayer mysql ncurses nls nsplugin nvidia objc ogg oggvorbis openal opengl pam pcre pdflib perl pic png python qt quicktime readline samba sdl sftplogging slang spell sse ssl svga tcltk tcpd tetex tiff truetype truetype-fonts type1-fonts udev unicode vorbis xml2 xv xvid zlib video_cards_nvidia userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LDFLAGS, LINGUAS
Comment 1 moesasji 2006-03-17 22:06:03 UTC
I've tried if this problem reproduces on my system.
I have aMule installed and the file "libtiff.so.3" is also present. 
If i run prelink -amR I the problem does not reproduce here.

Note that I use the options -amR instead of -mR of the first bugreport.
However "prelink -mR" refuses to run on my system. (prelink: no files given and --all not used) so that could be a typo?.

ps) My emerge info looks pretty similar. If needed I can post it. 
Comment 2 Jon Hood (RETIRED) gentoo-dev 2006-04-24 08:06:28 UTC
Steve, could you please verify libtiff is built correctly?
Comment 3 Steve Arnold archtester gentoo-dev 2006-04-30 20:44:56 UTC
AFAICT it is; the new version of tiff (3.8.2) now uses the --with-pic option, but as it is, it appears amule is missing several depends...
Comment 4 SpanKY gentoo-dev 2007-03-25 05:12:56 UTC
should be sane now