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

Rex Dieter rdieter at math.unl.edu
Fri Mar 24 13:17:32 GMT 2006


Steven P. Ulrick wrote:
> On Thu, 23 Mar 2006 18:21:35 -0600
> Rex Dieter <rdieter at math.unl.edu> wrote:
> 
> 
>>Steven P. Ulrick wrote:
>>
>>
>>>I am compiling and installing KDE from SVN (Branch 3.5) on Fedora
>>>Core 5.  All is going perfectly, except the following:
>>>
>>>linking ./kopete/plugins/nowlistening/kopete_nowlistening.la
>>>/bin/sh ./libtool --silent --mode=link --tag=CXX g++ -Wno-long-long
>>>-Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align
>>>-Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -g3
>>>-fno-inline -Wformat-security -Wmissing-format-attribute
>>>-Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common
>>>-DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT
>>>-DQT_NO_TRANSLATION
>>>-I/home/kdefc5/CVS/KDE-SVN/kdenetwork/kopete/libkopete
>>>-I./kopete/libkopete
>>>-I/home/kdefc5/CVS/KDE-SVN/kdenetwork/kopete/libkopete/avdevice
>>>-I/home/kdefc5/CVS/KDE-SVN/kdenetwork/kopete/libkopete/ui
>>>-I./kopete/libkopete/ui -I/usr/local//include
>>>-I/usr/local//include/xmms -I/usr/include/gtk-1.2
>>>-I/usr/include/glib-1.2 -I/usr/lib/glib/include
>>>-I/usr/local/kde-svn-fc5/include -I/usr/local/qt-src/include -I.
>>>-DQT_THREAD_SUPPORT -D_REENTRANT -D_FILE_OFFSET_BITS=64 -module
>>>-avoid-version -module -no-unde fined -Wl,--no-undefined
>>>-Wl,--allow-shlib-undefined -R /usr/local/kde-svn-fc5/lib
>>>-R /usr/local/kde-svn-fc5/lib -R /usr/local/qt-src/lib -R /usr/lib
>>>-rdynamic -L/usr/local/kde-svn-fc5/lib -L/usr/local/qt-src/lib
>>>-L/usr/lib -o ./kopete/plugins/nowlistening/kopete_nowlistening.la
>>>-rpath /usr/local/kde-svn-fc5/lib/kde3 ./kopete/libkopete/libkopete.la
>>>-L/usr/local//lib -L/usr/lib -lgtk -lgdk -lgmodule -lglib -ldl -lXi
>>>-lXext -lX11 -lm
>>>-lxmms ./kopete/plugins/nowlistening/nowlisteningconfig.lo ./kopete/plugins/nowlistening/nowlisteningplugin.lo ./kopete/plugins/nowlistening/nlkscd.lo ./kopete/plugins/nowlistening/nlnoatun.lo ./kopete/plugins/nowlistening/nlxmms.lo ./kopete/plugins/nowlistening/nowlisteningguiclient.lo ./kopete/plugins/nowlistening/nljuk.lo ./kopete/plugins/nowlistening/nlamarok.lo ./kopete/plugins/nowlistening/nlkaffeine.lo
>>>grep: /usr/lib/libgtk.la: No such file or directory /bin/sed: can't
>>>read /usr/lib/libgtk.la: No such file or directory libtool: link:
>>>`/usr/lib/libgtk.la' is not a valid libtool archive Error
>>>creating ./kopete/plugins/nowlistening/kopete_nowlistening.la. Exit
>>>status 1.
>>
>>...
>>
>>>If this is a Fedora packaging issue, please let me know so that I
>>>can take this up with them.
>>
>>Yep (a Fedora packaging issue).
>>
>>grep /usr/lib/libgtk.la /usr/lib/lib*.la
>>will highlight the offender (and let me/us know which it is, I'm
>>interested too...)

Apparently it's *not* a Fedora packaging issue, because I was unable to 
duplicate the problem(s) you're seeing (*).

> 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


> As a result,
> "grep /usr/lib/libgtk.la /usr/lib/lib*.la" returns no output

Very surprising. ???

> whatsoever.  (I do apologize if I'm being dense :))
> Just for fun, via yum, I installed every package that Fedora would not
> let me install because they took away the Everything install.  Still no
> libgtk.la, and compilation fails just like quoted above.

Are you building kdenetwork or just kopete?
(*) I just successfully built kdenetwork(-3.5.2) on my fc5 mock 
environment just fine. ??

-- 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