[mythtv-users] Re: /usr/bin/ld: cannot find -lXext

cythrault at gmail.com cythrault at gmail.com
Tue Apr 5 02:00:24 UTC 2005


On Apr 4, 2005 3:55 PM, cythrault at gmail.com <cythrault at gmail.com> wrote:
> Hi,
> 
> Compiling libmyth-0.17:
> 
> /usr/bin/ld: cannot find -lXext
> collect2: ld returned 1 exit status
> 
> I know… this has been discussed to death. I have red the posts. I must
> be too thick... I had to hack the Makefile to make it work. My older
> backend, running FC1 did not have this problem. I've compared what I
> could think of and did not see appreciable differences...
> 
> /usr/src/mythtv/libs/libmyth/Makefile:
> 
> Before:
> 
> LIBS     = $(SUBLIBS) -L$(QTDIR)/lib -L../libmythsamplerate
> -lmythsamplerate-0.17 -L../libmythsoundtouch -lmythsoundtouch-0.17
> -lqt-mt -lXext -lX11 -lm -lpthread
> 
> After:
> 
> LIBS     = $(SUBLIBS) -L$(QTDIR)/lib -L../libmythsamplerate
> -lmythsamplerate-0.17 -L../libmythsoundtouch -lmythsoundtouch-0.17
> -lqt-mt -I/usr/X11R6/lib -lm -lpthread
> 
> The libs are there since it compiles fine with this hack... it seems a
> matter of ld. Tho everything seems appropriate:
> 
> [root at teevee2 ~]# cat /etc/ld.so.conf
> include ld.so.conf.d/*.conf
> /usr/lib/mysql
> /usr/local/lib
> [root at teevee2 ~]# ls /etc/ld.so.conf.d/
> qt-i386.conf  xorg-x11-i386.conf
> [root at teevee2 ~]# ls /etc/ld.so.conf.d/xorg-x11-i386.conf
> /etc/ld.so.conf.d/xorg-x11-i386.conf
> [root at teevee2 ~]# cat /etc/ld.so.conf.d/xorg-x11-i386.conf
> /usr/X11R6/lib
> 
> [root at teevee2 ~]# ls -lha /usr/X11R6/lib/libXext.*
> -rw-r--r--  1 root root 72K Mar 30 10:26 /usr/X11R6/lib/libXext.a
> lrwxrwxrwx  1 root root  14 Apr  3 17:33 /usr/X11R6/lib/libXext.so ->
> libXext.so.6.4
> lrwxrwxrwx  1 root root  14 Apr  3 17:09 /usr/X11R6/lib/libXext.so.6
> -> libXext.so.6.4
> -rwxr-xr-x  1 root root 53K Mar 30 10:27 /usr/X11R6/lib/libXext.so.6.4
> 
> [root at teevee2 ~]# rpm -qa|grep xorg|grep -vi mesa
> xorg-x11-libs-6.8.2-1.FC3.13_2.rhfc3.at
> xorg-x11-devel-6.8.2-1.FC3.13_2.rhfc3.at
> 
> [root at teevee2 ~]# rpm -qf /usr/X11R6/lib/libXext.*
> xorg-x11-devel-6.8.2-1.FC3.13_2.rhfc3.at
> xorg-x11-devel-6.8.2-1.FC3.13_2.rhfc3.at
> xorg-x11-libs-6.8.2-1.FC3.13_2.rhfc3.at
> xorg-x11-libs-6.8.2-1.FC3.13_2.rhfc3.at
> 
> [root at teevee2 ~]# ldconfig -p |grep Xext
>         libXext.so.6 (libc6) => /usr/X11R6/lib/libXext.so.6
>         libXext.so (libc6) => /usr/X11R6/lib/libXext.so

It seems that the new configure script needs xorg-x11 also. It tests
for "/usr/X11R6/bin/xinit" which is installed by that package.

Sorry for the noise. Tho, I do hope this post help someone.

cyth


More information about the mythtv-users mailing list