#4636 closed task (fixed)
ICA: .la files change the libraries that are linked into programs
Reported by: | Bruce Dubbs | Owned by: | lfs-book |
---|---|---|---|
Priority: | normal | Milestone: | 10.0 |
Component: | Book | Version: | SVN |
Severity: | normal | Keywords: | |
Cc: |
Description
Because of a bug in ICA (now fixed), .la files were deleted after first pass, but not after second. This was leading to various programs begin linked differently between 2nd and 3rd pass, and also some RPATH added on 3rd pass.
Solution .la files are evil! Strongly suggest to delete them, but "your distro, your rules".
Possible side effect Several if not removing .la files (specially because of the mixture between meson and libtool).
Change History (4)
follow-up: 2 comment:1 by , 5 years ago
comment:2 by , 5 years ago
Replying to bdubbs:
From pierre.labastie:
.la files are really evil. In BLFS, libxml2.la makes everything depending on libxml2.so.2 also depending on libicu*.so.${version}. And when icu is upgraded (its soname often changes) tons of packages have to be rebuilt. Now I remove those .la files after installing any package.
it's from xry111, actually.
From pierre.labastie:
.la files are really evil. In BLFS, libxml2.la makes everything depending on libxml2.so.2 also depending on libicu*.so.${version}. And when icu is upgraded (its soname often changes) tons of packages have to be rebuilt. Now I remove those .la files after installing any package.