libtool: link: `/usr/lib/libgtk.la' is not a valid libtool archive

Rex Dieter rdieter at math.unl.edu
Fri Mar 24 18:29:07 GMT 2006


Steven P. Ulrick wrote:
> On Fri, 24 Mar 2006 07:17:32 -0600
> Rex Dieter <rdieter at math.unl.edu> wrote:
> 
> 
>>Steven P. Ulrick wrote:
>>
>>>Hello, Rex
>>>Actually, there is no libgtk.la anywhere on our system. 
>>
>>Correct, but *something* *somewhere* is incorrectly referring to this 
>>missing/non-existent file.  -> PROBLEM.  (-:
>>
>>It's one of:
>>./kopete/libkopete/libkopete.la
>> >>>-L/usr/local//lib -L/usr/lib -lgtk -lgdk -lgmodule -lglib -ldl
>> >>>-lXi -lXext -lX11 -lm -lxmms
>>
>>Ah, I see you have -L/usr/local/lib there, which may contain the
>>culprit too:
>>grep /usr/lib/libgtk.la /usr/local/lib/lib*.la
> 
> 
> Here is the output of that command:
> /usr/local/lib/libxmms.la:dependency_libs=' -L/usr/lib
> -L/usr/X11R6/lib /usr/lib/libgtk.la /usr/lib/libgdk.la /usr/lib/libgmodule.la /usr/lib/libgthread.la /usr/lib/libglib.la
> -lpthread -ldl -lXi -lXext -lX11 -lm'
> 
> I had noticed "-lxmms" in the error message the other night when I had
> to run out the door real quick.  I have xmms (compiled from source)
> installed on /usr/local.

Bingo!
rm -f /usr/local/lib/libxmms.la
should do the trick.

This is the main reason why Fedora Extras' xmms packaging omits 
libxmms.la.  (-:

-- Rex
___________________________________________________
This message is from the kde mailing list.
Account management:  https://mail.kde.org/mailman/listinfo/kde.
Archives: http://lists.kde.org/.
More info: http://www.kde.org/faq.html.




More information about the kde mailing list