[MPlayer-dev-eng] configure problems on Linux x86_64

Barry Fishman barry_fishman at att.net
Wed May 19 00:15:13 CEST 2004


The configure script looks for X libraries in the /usr/X11R6/lib
directory prior to the /usr/X11R6/lib64 directory.  On 64 bit
machines this picks the wrong directory to link with.  The
/usr/X11R5/lib64 directory wouldn't exist on 32 bit processors, so I
don't see problems with changing this order.

*** configure-	2004-05-13 18:03:08.000000000 -0400
--- configure	2004-05-15 13:29:56.000000000 -0400
***************
*** 2993,2999 ****
  
  echocheck "X11 libs presence"
  if test -z "$_ld_x11" ; then
!   for I in /usr/X11R6/lib /usr/lib/X11R6 /usr/X11/lib /usr/lib32 /usr/openwin/lib /usr/X11R6/lib64 ; do
      if test -d "$I" && ( test -f "$I/libX11.so" || test -f "$I/libX11.a" ) ; then
        _ld_x11="-L$I"
        echores "yes (using $I)"
--- 2993,2999 ----
  
  echocheck "X11 libs presence"
  if test -z "$_ld_x11" ; then
!   for I in /usr/X11R6/lib64 /usr/X11R6/lib /usr/lib/X11R6 /usr/X11/lib /usr/lib32 /usr/openwin/lib ; do
      if test -d "$I" && ( test -f "$I/libX11.so" || test -f "$I/libX11.a" ) ; then
        _ld_x11="-L$I"
        echores "yes (using $I)"


-- 
Barry Fishman




More information about the MPlayer-dev-eng mailing list