Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 29 Mar 2011 19:54:08 -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:  <4D927F30.8040607@twisted.net>
In-Reply-To: <90238A55-FBEC-4025-9B7A-F3F246A7C2AC@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> <4D911FFA.2010000@twisted.net> <90238A55-FBEC-4025-9B7A-F3F246A7C2AC@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help

>> 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?
>
> Rebuilding src/ will have absolutely no effect, since it's not the problem.
>
> Somewhere along the lines (by virtue of the reference to the lzma.la file), archivers/xz was installed on the system.  Then src/ was upgraded to a point in time where xz was in the base system, rendering the port as IGNORE.
>
> At a rough guess, a ports upgrade after that fact found the now-defunct archivers/xz and most likely removed it WITHOUT also rebuilding all ports that depend on liblzma.so -- resulting in a system where some ports are using the src/ library, some are _perhaps_ using the old one from the port (check /usr/local/lib/compat/pkg -- it may be in there), but worse, a number of installed ports have references to liblzma.la in their own .la files.
>
> What you could try doing is grepping for liblzma.la in all of those .la files, making a note of which ones are affected, then use pkg_info -W<name-of-file>  to determine which ports they belong to and forcibly rebuild them.
>
> -aDe

That worked. It was ImageMagick-6.6.7.10 that was the culprit.  Once I 
re-built it, I was able to rebuild kdebase-workspace-4.5.5._1




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4D927F30.8040607>