diff options
Diffstat (limited to 'zarb-ml/mageia-dev/2011-June/005358.html')
-rw-r--r-- | zarb-ml/mageia-dev/2011-June/005358.html | 184 |
1 files changed, 184 insertions, 0 deletions
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 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN"> +<HTML> + <HEAD> + <TITLE> [Mageia-dev] [RFC] Removing .la files + </TITLE> + <LINK REL="Index" HREF="index.html" > + <LINK REL="made" HREF="mailto:mageia-dev%40mageia.org?Subject=Re%3A%20%5BMageia-dev%5D%20%5BRFC%5D%20Removing%20.la%20files&In-Reply-To=%3C20110610142635.GD4719%40bkor.dhs.org%3E"> + <META NAME="robots" CONTENT="index,nofollow"> + <META http-equiv="Content-Type" content="text/html; charset=us-ascii"> + <LINK REL="Previous" HREF="005357.html"> + <LINK REL="Next" HREF="005362.html"> + </HEAD> + <BODY BGCOLOR="#ffffff"> + <H1>[Mageia-dev] [RFC] Removing .la files</H1> + <B>Olav Vitters</B> + <A HREF="mailto:mageia-dev%40mageia.org?Subject=Re%3A%20%5BMageia-dev%5D%20%5BRFC%5D%20Removing%20.la%20files&In-Reply-To=%3C20110610142635.GD4719%40bkor.dhs.org%3E" + TITLE="[Mageia-dev] [RFC] Removing .la files">olav at vitters.nl + </A><BR> + <I>Fri Jun 10 16:26:35 CEST 2011</I> + <P><UL> + <LI>Previous message: <A HREF="005357.html">[Mageia-dev] [RFC] Removing .la files +</A></li> + <LI>Next message: <A HREF="005362.html">[Mageia-dev] [RFC] Removing .la files +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#5358">[ date ]</a> + <a href="thread.html#5358">[ thread ]</a> + <a href="subject.html#5358">[ subject ]</a> + <a href="author.html#5358">[ author ]</a> + </LI> + </UL> + <HR> +<!--beginarticle--> +<PRE>On Fri, Jun 10, 2011 at 04:15:01PM +0200, Christiaan Welvaart wrote: +><i> ><A HREF="https://live.gnome.org/GnomeShell/RemovingLaFiles">https://live.gnome.org/GnomeShell/RemovingLaFiles</A> +</I>><i> +</I>><i> "... but the dirty hacks that jhbuild plays ..." +</I>><i> +</I>><i> Problems with dirty hacks are NOT a valid reason to remove libtool +</I>><i> convenience libraries aka .la files. +</I> +Seems you skipped the initial bit, where it explains that the .la has +the full path. + +><i> >Seems some distributions misunderstand the need and changed the wiki +</I>><i> >page. Removing .la files is needed however, otherwise you'll quickly mix +</I>><i> >distribution installed libraries and self-compiled libraries. +</I>><i> +</I>><i> What are you talking about here? +</I> +"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. " + +><i> >Difficulty is that this only works when you remove *all* .la files. If +</I>><i> >only one is left compilation is broken. +</I>><i> +</I>><i> It is more likely that your build system is broken. If you do not +</I>><i> want to link against system libraries, remove /lib and /usr/lib from +</I>><i> the library search dirs list. +</I> +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 +</PRE> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +<!--endarticle--> + <HR> + <P><UL> + <!--threads--> + <LI>Previous message: <A HREF="005357.html">[Mageia-dev] [RFC] Removing .la files +</A></li> + <LI>Next message: <A HREF="005362.html">[Mageia-dev] [RFC] Removing .la files +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#5358">[ date ]</a> + <a href="thread.html#5358">[ thread ]</a> + <a href="subject.html#5358">[ subject ]</a> + <a href="author.html#5358">[ author ]</a> + </LI> + </UL> + +<hr> +<a href="https://www.mageia.org/mailman/listinfo/mageia-dev">More information about the Mageia-dev +mailing list</a><br> +</body></html> |