[MPlayer-users] Building mplayer (CVS) with x11 or xv -support on x86-64 (CentOS 4)

Simen Thoresen simentt at dolphinics.no
Sat May 28 16:38:01 CEST 2005

Hi All,

I had problems posting this the first time around (March 20th), so I'm 
trying now again seeing that my previous post went thru without any hickups.

I'm not sure if this is a bug or not, but using the CVS version (checkout 
1.0pre7, March 19th), I had to specify --with-x11libdir=/usr/X11R6/lib64/ to 
get x11 or xv support on my x864_64 CentOS 4 system. Without this, _ld_x11 
gets set to the 32-bit libraries, and sadness ensues;

_ld_x11=-L/usr/X11R6/lib -lXext -lX11 -lnsl=

I assume the reason for this is that I have installed the
'compatibility-arch' packages, and I have the i386-version of the
xorg-x11-devel -package installed in addition to the x86_64 version

I'm also a bit surprised to see my ld.so.conf list the 32-bit library dir
before the 64-bit library dir, but my understanding is that this file is not
used by the compiler but only the runtime linker, and that 64-bit and 32-bit
libraries have sufficiently different symbols to avoid problems.

My point is that perhaps configure should pick the 64-bit libraries 
automatically when building for a 64-bit architecture?

Simen Thoresen, Wulfkit Support, Dolphin ICS

More information about the MPlayer-users mailing list