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

Michael T. Dean mtdean at thirdcontact.com
Tue Apr 11 14:13:09 UTC 2006


On 04/11/2006 09:24 AM, Derek Atkins wrote:
> "Mark Spieth" <mark at dclabs.com.au> writes:
>   
>>> SC> Adding LIBS *= -L/usr/X11R6/lib to the settings.pro file seemed to 
>>>       
> [snip]
>   
>>> Development team : Does it make sense to add this line on default?
>> it should be in /etc/ld.so.conf
>> then run ldconfig
>> if its not then your FC4 is broken.
> Um, last I checked the compile-time linker doesn't use ld.so.conf
> to find the compile-time libraries.  ld.so.conf is for the RUNTIME
> linker.
>   

Seems you didn't check well enough...  From configure:

has_library()
{
    if test -f /etc/ld.so.conf ; then
        LIBPATHS=`cat /etc/ld.so.conf | grep -v "#" | grep -v "include"`

... and so on

Mike


More information about the mythtv-dev mailing list