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

Rex Dieter rdieter at
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> 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/
>>>/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
>>>-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.
>>>-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/
>>>-rpath /usr/local/kde-svn-fc5/lib/kde3 ./kopete/libkopete/
>>>-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/ No such file or directory /bin/sed: can't
>>>read /usr/lib/ No such file or directory libtool: link:
>>>`/usr/lib/' is not a valid libtool archive Error
>>>creating ./kopete/plugins/nowlistening/ 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/ /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 anywhere on our system. 

Correct, but *something* *somewhere* is incorrectly referring to this 
missing/non-existent file.  -> PROBLEM.  (-:

It's one of:
 >>>-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 
grep /usr/lib/ /usr/local/lib/lib*.la

> As a result,
> "grep /usr/lib/ /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
>, 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:
More info:

More information about the kde mailing list