Date: Mon, 28 Mar 2011 18:55:38 -0500 From: Troy <troy@twisted.net> To: Ade Lovett <ade@FreeBSD.org> Cc: FreeBSD Ports <freebsd-ports@freebsd.org> Subject: Re: Failed building kdebase-workspace-4.5.5_1 cannot find the library liblzma.la Message-ID: <4D911FFA.2010000@twisted.net> In-Reply-To: <3B4FC419-4555-481C-930B-C92ADA1AF549@FreeBSD.org> References: <4D8ED71B.8010804@twisted.net> <20110327070503.GB73511@magic.hamla.org> <4D8F9840.1070002@twisted.net> <imocj1$1j8v$1@lorvorc.mips.inka.de> <4D8FF159.9090306@twisted.net> <3B4FC419-4555-481C-930B-C92ADA1AF549@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On 3/28/2011 2:35 AM, Ade Lovett wrote: > On Mar 27, 2011, at 21:24 , Troy wrote: >> I do have those libs there. I'm not sure why it's looking in /usr/local/lib to find it. I double checked and have /usr/lib in my PATH. Do you have any thoughts here? > At a rough guess, you source-upgraded your system from a time when archivers/xz was required (and included the .la file) to a point where it was in the base system without essentially rebuilding everything. > > You could _probably_ temporarily fix this by looking for /usr/local/lib/liblzma.la in _every_ .la file installed under /usr/local/lib, and replace it with -lzma but this is just a very temporary fix to a horribly fragile .la interdependency framework. > > There are various solutions to this, but they're all by nature very invasive and can cause other issues. Sadly, there is no easy one-liner fix to this either. > > -aDe Anytime I've ever upgraded the system, I built the kernel and the world. I have 419 .la files in /usr/local/lib. I don't think I want to try that idea. Are you saying if I rebuilt the kernel/world it would not fix this properly?
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4D911FFA.2010000>