From 1be510f9529cb082f802408b472a77d074b394c0 Mon Sep 17 00:00:00 2001 From: Nicolas Vigier Date: Sun, 14 Apr 2013 13:46:12 +0000 Subject: Add zarb MLs html archives --- zarb-ml/mageia-dev/2011-June/005358.html | 184 +++++++++++++++++++++++++++++++ 1 file changed, 184 insertions(+) create mode 100644 zarb-ml/mageia-dev/2011-June/005358.html (limited to 'zarb-ml/mageia-dev/2011-June/005358.html') diff --git a/zarb-ml/mageia-dev/2011-June/005358.html b/zarb-ml/mageia-dev/2011-June/005358.html new file mode 100644 index 000000000..8f049801c --- /dev/null +++ b/zarb-ml/mageia-dev/2011-June/005358.html @@ -0,0 +1,184 @@ + + + + [Mageia-dev] [RFC] Removing .la files + + + + + + + + + +

[Mageia-dev] [RFC] Removing .la files

+ Olav Vitters + olav at vitters.nl +
+ Fri Jun 10 16:26:35 CEST 2011 +

+
+ +
On Fri, Jun 10, 2011 at 04:15:01PM +0200, Christiaan Welvaart wrote:
+> >https://live.gnome.org/GnomeShell/RemovingLaFiles
+> 
+> "... but the dirty hacks that jhbuild plays ..."
+> 
+> Problems with dirty hacks are NOT a valid reason to remove libtool
+> convenience libraries aka .la files.
+
+Seems you skipped the initial bit, where it explains that the .la has
+the full path.
+
+> >Seems some distributions misunderstand the need and changed the wiki
+> >page. Removing .la files is needed however, otherwise you'll quickly mix
+> >distribution installed libraries and self-compiled libraries.
+> 
+> What are you talking about here?
+
+"The particular problem with these .la files is that they have hardcoded
+paths in them. So, for example, if /usr/lib/libgnome-menu.so just
+contains the information that it requires libglib-2.0.so.0 but
+/usr/lib/libgnome-menu.la says that it wants /usr/lib/libglib-2.0.la, it
+causes libtool to link against /usr/lib/libglib-2.0.so at link time.
+This is fine for a lot of typical build scenarios, but the dirty hacks
+that jhbuild plays to get it to sandbox your system understandably
+breaks. "
+
+> >Difficulty is that this only works when you remove *all* .la files. If
+> >only one is left compilation is broken.
+> 
+> It is more likely that your build system is broken. If you do not
+> want to link against system libraries, remove /lib and /usr/lib from
+> the library search dirs list.
+
+That's not enough, the .la files add libraries in /lib and /usr/lib.
+
+Fedora has for instance already removed the .la files. Other
+distributions are working on it (even Debian).
+-- 
+Regards,
+Olav
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+

+ +
+More information about the Mageia-dev +mailing list
+ -- cgit v1.2.1