Bug 37383 - libvorbisfile.so.3 not compiled with -fPIC, so executables cannot prelink
Bug#: 37383 Product:  Gentoo Linux Version: unspecified Platform: x86
OS/Version: Linux Status: RESOLVED Severity: minor Priority: P2
Resolution: FIXED Assigned To: sound@gentoo.org Reported By: schiotz@fysik.dtu.dk
Component: Applications
URL: 
Summary: libvorbisfile.so.3 not compiled with -fPIC, so executables cannot prelink
Keywords:  
Status Whiteboard: 
Opened: 2004-01-06 04:40 0000
Description:   Opened: 2004-01-06 04:40 0000
When prelinking (prelink -afmR), it complains that executables using
/usr/lib/libvorbisfile.so.3 cannot be prelinked because the library is not
compiled with -fPIC

I have version 1.0.1 of media-libs/libvorbis



Reproducible: Always
Steps to Reproduce:
1. prelink -afmR


Actual Results:  
Several warning messages of the type:
prelink: /usr/XXXXX: Cannot prelink against non-PIC shared library
/usr/lib/libvorbisfile.so.3

Expected Results:  
No such warnings.


~>emerge info
Portage 2.0.49-r20 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r3, 2.4.23)
=================================================================
System uname: 2.4.23 i686 Mobile Intel(R) Pentium(R) 4     CPU 3.06GHz
Gentoo Base System version 1.4.3.10
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O3 -march=pentium3 -pipe -fomit-frame-pointer -fprefetch-loop-arrays
-falign-functions=4"
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/tex/generic/config/ /usr/share/texmf/tex/platex/config/
/var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-O3 -march=pentium3 -pipe -fomit-frame-pointer -fprefetch-loop-arrays
-falign-functions=4"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="ftp://trumpetti.atm.tut.fi/gentoo/ http://gentoo.linux.no/
ftp://gentoo.linux.no/pub/gentoo/ ftp://ftp.uninett.no/pub/linux/Gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X Xaw3d aalib acpi arts avi berkdb cdr crypt cups dga directfb doc dvd
emacs encode esd foomaticdb gdbm gif gpm gtk gtk2 imap imlib java jpeg kde
libg++ libwww mad maildir mbox mikmod motif mozilla mpeg mule ncurses nls
oggvorbis opengl oss pam pcmcia pdflib perl png pnp ppds python qt quicktime
readline sdl slang spell ssl svga tcltk tcpd tetex tiff truetype trusted usb
wxwindows x86 xml2 xmms xv zlib"

------- Comment #1 From Nick Hadaway 2004-01-23 22:50:01 0000 -------
libvorbis-1.0.1-r1 has been added to portage.  Please test and let me know how
things go.  You should now be able to prelink without a problem.