.la files, again

Aurelien Bompard gauret at free.fr
Tue Mar 29 15:38:59 UTC 2005


Hi,

We've had problem with removed libtool (.la) files in the past, and it
looked like removing /usr/lib/*.la files was harmless, while removing la
files in other directories could cause problems.

Now I have a problem rebuilding amarok's latest version :
--------------------------------
/bin/sh ../../../../libtool --silent --mode=link --tag=CXX g++ 
-Wnon-virtual-dtor -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500
-D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W
-Wpointer-arith -Wwrite-strings -DNDEBUG -DNO_DEBUG -O2 -O2 -g -pipe -m32
-march=i386 -mtune=pentium4 -Wformat-security -Wmissing-format-attribute
-fno-exceptions -fno-check-new -fno-common -DQT_CLEAN_NAMESPACE
-DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION    -o
libamarok_aKode-engine.la -rpath /usr/lib/kde3 -module -avoid-version
-module -no-undefined -Wl,--no-undefined -Wl,--allow-shlib-undefined
-R /usr/lib -R /usr/lib -R /usr/lib/qt-3.3/lib -R /usr/X11R6/lib 
-L/usr/lib -L/usr/lib/qt-3.3/lib -L/usr/X11R6/lib   
akode-engine.lo ../../../../amarok/src/engine/libengine.la ../../../../amarok/src/plugin/libplugin.la
-lkdecore -lakode
grep: /usr/lib/libltdl.la: No such file or directory
/bin/sed: can't read /usr/lib/libltdl.la: No such file or directory
libtool: link: `/usr/lib/libltdl.la' is not a valid libtool archive
make[5]: *** [libamarok_aKode-engine.la] Error 1
--------------------

The missing /usr/lib/libltdl.la file should be provided by the libtool-libs
package, which is in core.

Any idea how to avoid this, and how to avoid this in the future ? Should we
simply keep every .la files, even in core ? If we delete them only to save
space, then maybe it's a good example of "premature optimization". Do we
have an example of something breaking because the .la files were included ?

Thanks for the input


Aurélien
-- 
http://gauret.free.fr   ~~~~   Jabber : abompard at jabber.fr
En essayant continuellement, on finit par réussir. Donc plus ça rate, plus
on a des chances que ça marche. -- devise Shadok.





More information about the fedora-extras-list mailing list