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?


_______________________________________________
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"

Reply via email to