[blfs-dev] Removing .la files

Thomas Trepl thomas at linuxfromscratch.org
Sat Dec 9 04:21:28 PST 2017


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


More information about the blfs-dev mailing list