On 9.12.2017 13:21, Thomas Trepl wrote:
Am Donnerstag, den 07.12.2017, 00:02 -0600 schrieb Bruce Dubbs:
I've been looking at removing .la (libtool archive) files from
LFS/BLFS.
...
Hi,   do I get that all right, the .la files can be ommited?  So when
building a fresh install, removing all and any .la would solve problems
about missing .la files?  In other words, as long as there is "not a
single one" .la file present, there will be no issue?

Currently i tried to build lightdm - and it fails as libgobject-blah.la
is not present.

make[2]: Verzeichnis \u201e/tmp/lightdm/build/lightdm-
1.24.0/liblightdm-gobject\u201c wird betreten
   CC       liblightdm_gobject_1_la-greeter.lo
   CC       liblightdm_gobject_1_la-system.lo
   CC       liblightdm_gobject_1_la-language.lo
   CC       liblightdm_gobject_1_la-layout.lo
   CC       liblightdm_gobject_1_la-power.lo
   CC       liblightdm_gobject_1_la-session.lo
   CC       liblightdm_gobject_1_la-user.lo
   CCLD     liblightdm-gobject-1.la
/bin/sed: can't read /usr/lib/libgobject-2.0.la: No such file or
directory
libtool:   error: '/usr/lib/libgobject-2.0.la' is not a valid libtool
archive
make[2]: *** [Makefile:560: liblightdm-gobject-1.la] Fehler 1
make[2]: Verzeichnis \u201e/tmp/lightdm/build/lightdm-
1.24.0/liblightdm-gobject\u201c wird verlassen
make[1]: *** [Makefile:484: all-recursive] Fehler 1
make[1]: Verzeichnis \u201e/tmp/lightdm/build/lightdm-1.24.0\u201c wird
verlassen
make: *** [Makefile:416: all] Fehler 2


Whats the "standard" way to get around those issues?

--
Thomas


sed -i "s#/usr/lib/libgobject-2.0.la#-lgobject-2.0#g" /usr/lib/*.la

OR

mkdir /usr/lib/libtool-bak &&
mv /usr/lib/*.la /usr/lib/libtool-bak

alternatively, just

rm -v /usr/lib/*.la

(but not from subdirs of /usr/lib)
--
http://lists.linuxfromscratch.org/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to