> Am 08.11.2010 13:56, schrieb Nicola Pero:
>>
>>>> freetype-config --libs
>>>>
>>>> and it should return the right command options, but obviously it doesn't.
>>>
>>> It looks like the problem is that it is providing the correct flags to pass to ld, but we are passing them to gcc.
>>
>> Why do you say that ? Any evidence ?
>>
>> What I personally immediately noticed in that linker command line is that it has both -Wl,-R/usr/X11R6/lib -L/usr/X11R6/lib
>> *and* -Wl,-R/usr/X11R7/lib -L/usr/X11R7/lib. Wouldn't these refer to different releases of X11 ? Is it wise to link
>> against the two at the same time ? Wouldn't you get conflicting (or just the wrong) libraries linked in ?
>
> Well spotted! I overlooked this even when copying the link line into my
> mail and editing it. Any idea how this could happen? Do we screw up
> within configure or later one?