Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 158148 - vlc: The linker (ld) reports: "recompile with -fPIC"
Summary: vlc: The linker (ld) reports: "recompile with -fPIC"
Status: RESOLVED DUPLICATE of bug 157746
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-12-14 10:08 UTC by toon
Modified: 2006-12-14 11:03 UTC (History)
0 users

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 toon 2006-12-14 10:08:08 UTC
The emerge of vlc breaks on my system with the following message:

/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.6/../../../../x86_64-pc-linux-gnu/bin/ld: /usr/lib64/libvlc.a(libvlc_a-mtime.o): relocation R_X86_64_32 against `a local symbol' can not be used when making a shared object; recompile with -fPIC
/usr/lib64/libvlc.a: could not read symbols: Bad value
collect2: ld returned 1 exit status
libtool: install: error: relink `libdvb_plugin.la' with the above command before installing it

# emerge --info
Portage 2.1.1-r2 (default-linux/amd64/2006.1/desktop, gcc-3.4.6, glibc-2.4-r4, 2.6.17-gentoo-r8 x86_64)
=================================================================
System uname: 2.6.17-gentoo-r8 x86_64 AMD Athlon(tm) 64 Processor 3200+
Gentoo Base System version 1.12.6
Last Sync: Thu, 14 Dec 2006 17:30:01 +0000
app-admin/eselect-compiler: [Not Present]
dev-java/java-config: 1.2.11-r1
dev-lang/python:     2.3.5-r2, 2.4.3-r4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     [Not Present]
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.60
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.14
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=k8 -O2 -pipe -fomit-frame-pointer"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/lib64/mozilla/defaults/pref /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c"
CXXFLAGS="-march=k8 -O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://darkstar.ist.utl.pt/gentoo/ ftp://ftp.tu-clausthal.de/pub/linux/gentoo/ http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/"
LC_ALL="nl_NL.utf8"
LINGUAS="nl"
MAKEOPTS="-j1"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage-overlay"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="amd64 X X509 a52 aac acpi4linux alsa apache2 arts beagle berkdb bidi bindist bitmap-fonts bluetooth bzlib cairo caps cdda cdio cdparanoia cdr chardet chroot cli corba cracklib crypt cups dbus dga dlloader doc dri dvb dvd dvdr dvdread eds elibc_glibc emboss encode esd evo evo2 fam fbcon ffmpeg firefox flac fortran freetype gb gdbm gif gimp gimpprint gnokii gnome gnome-print gnomedb gphoto2 gpm gs gstreamer gtk gtk2 hal iconv ieee1394 imap inkjar innodb input_devices_keyboard input_devices_mouse insecure-drivers ipv6 irmc isdnlog ithreads j2ee jabber jack javadoc javamail javascript jboss jdepend jmx jpeg kde kerberos kernel_linux largeterminal ldap leim libg++ libgda libnotify linguas_nl live lm_sensors lprng mad mailwrapper mbox mikmod mod modplug mono mozcalendar mozp3p mozplaintext mp3 mpeg mpeg2 mpeg4 mplayer mule musepack ncurses nls nptl nptlonly nsplugin oav offensive ogg oggvorbis on-the-fly-crypt opengl oss pam pam_console passfile pcap pcre pdf perl php pic png ppds pppd procmail python qt3 qt4 quicktime readline reflection rrdtool sasl scanner sdl session slp smime sndfile snmp soap socks5 sox spell spl ssl stream syslog tcpd theora threads truetype truetype-fonts type1 type1-fonts udev unicode userland_GNU utf8 vcd video_cards_nvidia vlm vorbis wavelan wma wmf wmp wxwindows xanim xface xine xinerama xml xmlrpc xorg xosd xprint xv zeo zlib"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 toon 2006-12-14 10:12:42 UTC
By the way, this is the version of vlc I'm building, including the USE flags:

# emerge -uDptv vlc

These are the packages that would be merged, in reverse order:

Calculating dependencies... done!
[ebuild     U ] media-video/vlc-0.8.6 [0.8.5-r5] USE="X a52 alsa arts* bidi cdda corba dvb dvd esd fbcon flac hal* libnotify%* live mod mp3 mpeg ncurses nsplugin ogg opengl oss* png sdl stream theora truetype* vcd vlm vorbis wxwindows xinerama xml* xosd xv (-3dfx) -aalib (-altivec) -avahi -cddb -daap -debug -directfb -dts -ggi -gnutls -httpd -libcaca -lirc -matroska -optimisememory -rtsp -samba -seamonkey -shout -skins -speex -svg (-svga) -upnp -v4l (-win32codecs)" 0 kB

Please let me know if you have any additional questions.

Oh, and I found this report on the internet:
http://www.mail-archive.com/debian-bugs-closed@lists.debian.org/msg63832.html
Comment 2 Peter Weller (RETIRED) gentoo-dev 2006-12-14 10:37:06 UTC

*** This bug has been marked as a duplicate of 157746 ***