Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 99935 - media-video/mplayer-1.0_pre7 does not compile
Summary: media-video/mplayer-1.0_pre7 does not compile
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Media-video project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-07-22 11:45 UTC by Stefan Lindstrom
Modified: 2005-07-23 07:24 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 Stefan Lindstrom 2005-07-22 11:45:29 UTC
When trying to emerge mplayer it fails when linking the libdl library, e.g dlopen.

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

Actual Results:  
cc -I../libvo -I../../libvo -I/usr/X11R6/include -fno-PIC -O4 -march=athlon
-mtune=athlon -pipe -ffast-math -fomit-frame-pointer -D_REENTRANT
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gtk-1.2
-I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include -I.
-I/usr/include/freetype2 -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2
-I/usr/lib/glib/include -I/usr/X11R6/include  -I/usr/include/SDL
-D_REENTRANT -I/usr/X11R6/include       -o mplayer mplayer.o mp_msg.o
cpudetect.o codec-cfg.o spudec.o playtree.o playtreeparser.o asxparser.o
vobsub.o subreader.o sub_cc.o find_sub.o m_config.o m_option.o parser-cfg.o
m_struct.o edl.o unrarlib.o mixer.o parser-mpcmd.o subopt-helper.o
libvo/libvo.a libao2/libao2.a libmenu/libmenu.a vidix/libvidix.a
Gui/libgui.a libmpcodecs/libmpcodecs.a   libaf/libaf.a
libmpdemux/libmpdemux.a input/libinput.a postproc/libswscale.a
osdep/libosdep.a -Llibmpdvdkit2 -lmpdvdkit libavcodec/libavcodec.a
libavformat/libavformat.a  -lmad     -lmp3lame    -lpng -lz -lz -ljpeg
-lasound  -lpthread /usr/lib/libxmms.so.1 -export-dynamic  -lfreetype -lz
-ltermcap  -lnsl  -lungif  -lsmbclient  -lfontconfig    mp3lib/libMP3.a
liba52/liba52.a libmpeg2/libmpeg2.a tremor/libvorbisidec.a -L/usr/lib
-L/usr/X11R6/lib -lgtk -lgdk -rdynamic -lgmodule -lglib -ldl -lXi -lXext
-lX11 -lm -L/usr/lib -lglib  -lGL  -lXv  -lXxf86vm  -L/usr/X11R6/lib -lXext
-lX11 -lnsl -lnsl -L/usr/lib -Wl,-rpath,/usr/lib -lSDL -lpthread    -lvgagl
-lvga -lm   -L/usr/kde/3.3/lib -ldl -lartsc -lpthread -lgmodule-2.0 -ldl
-lgthread-2.0 -lglib-2.0 -L/usr/lib -lesd -laudiofile -lm   -llirc_client
-lpthread     -lm
vidix/libvidix.a(vidixlib.o)(.text+0x9c): In function vdlOpen':
: warning: Using 'dlopen' in statically linked applications requires at
runtime the shared libraries from the glibc version used for linking
/usr/lib/libdl.a(dlopen.o)(.text+0x1b): In function dlopen':
: undefined reference to __dlopen'
/usr/lib/libdl.a(dlclose.o)(.text+0x1): In function dlclose':
: undefined reference to __dlclose'
/usr/lib/libdl.a(dlsym.o)(.text+0x1b): In function dlsym':
: undefined reference to __dlsym'
/usr/lib/libdl.a(dlerror.o)(.text+0x1): In function dlerror':
: undefined reference to __dlerror'
collect2: ld returned 1 exit status
make: *** [mplayer] Error 1

!!! ERROR: media-video/mplayer-1.0_pre7 failed.
!!! Function src_compile, Line 488, Exitcode 2
!!! Failed to build MPlayer!
!!! If you need support, post the topmost build error, NOT this status
message.



Expected Results:  
Successful compilation of mplayer.

Portage 2.0.51.22-r2 (default-linux/x86/2005.0, gcc-3.4.4, glibc-2.3.5-r0,
2.6.9-gentoo-r13 i686)
=================================================================
System uname: 2.6.9-gentoo-r13 i686 AMD Athlon(tm) Processor
Gentoo Base System version 1.6.8
dev-lang/python:     2.3.4
sys-apps/sandbox:    1.2.8
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9, 1.8.5-r2, 1.9.3
sys-devel/binutils:  2.15.92.0.2-r2
sys-devel/libtool:   1.5.18-r1
virtual/os-headers:  2.6.8.1-r2
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=i686 -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.2/share/config
/usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown
/usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /var/bind
/var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=i686 -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks session sfperms strict"
GENTOO_MIRRORS="http://ds.thn.htu.se/linux/gentoo http://ftp.du.se/pub/os/gentoo
http://ftp.linux.ee/pub/gentoo/distfiles/"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X alsa apm arts avi berkdb bitmap-fonts cdr cpdflib crypt cups curl dba
dvd emboss encode esd fam flac foomaticdb fortran gd gd-external gdbm gif gnome
gpm gstreamer gtk gtk2 imap imlib ipv6 jpeg kde libg++ libwww lirc mad mikmod
motif mp3 mpeg mysql mythtv ncurses nls ogg oggvorbis opengl oss pam pdflib perl
png python qt quicktime readline samba sdl session slang spell ssl svga tcltk
tcpd tiff truetype truetype-fonts type1-fonts usb vorbis xml xml2 xmms xv zlib
userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS, PORTDIR_OVERLAY
Comment 1 Stefan Lindstrom 2005-07-23 07:24:14 UTC
Creating symlinks for /usr/lib/
lrwxr-xr-x  1 root root    19 Jul 23 15:17 libdl.so -> /lib/libdl-2.3.5.so
lrwxr-xr-x  1 root root    19 Jul 23 15:17 libdl.so.2 -> /lib/libdl-2.3.5.so

..makes mplayer link successfully.