compiling glib20 failed

gahn ipfreak at yahoo.com
Wed Apr 4 14:31:05 UTC 2012


hi, sergey:

thanks for the great tip. i think messed up with this xz thing. last year i played with xz since a package i was trying to install wouldn't use xz package coming with the base system. 


now i disabled those under /usr/local/lib and the system is back to normal.

best regards

_gahn



----- Original Message -----
From: Sergey Kandaurov <pluknet at gmail.com>
To: gahn <ipfreak at yahoo.com>
Cc: free bsd <freebsd-current at freebsd.org>; freebsd general questions <freebsd-questions at freebsd.org>
Sent: Wednesday, April 4, 2012 2:31 AM
Subject: Re: compiling glib20 failed

On 4 April 2012 07:02, gahn <ipfreak at yahoo.com> wrote:
> hi gurus:
>
> i got problem with compiling glib20:
>
> ===>   glib-2.28.8_4 depends on file: /usr/local/bin/perl5.10.1 - found
> /libexec/ld-elf.so.1: /usr/local/lib/liblzma.so.5: version XZ_5.0 required by /usr/bin/xz not defined
> ===>  Missing license file for LGPL20 in /usr/ports/devel/glib20/work/glib-2.28.8/COPYING
> *** Error code 1
>
> Stop in /usr/ports/devel/glib20.
> *** Error code 1
>
>
> basically i was trying to install tshark on freebsd 8.1 but it told me i need to upgrade glib but i got into this mess.
>

Looks like the source of your problem may lie in that your base /usr/bin/xz
tries to dlopen /usr/local/lib/liblzma.so.5 installed from ports and not
the one from base (i.e. there should be /usr/lib/liblzma.so.5 instead).
The one from ports doesn't have the symbol versioning
(or at least doesn't have specific symbols the base xz wants)
and, for aught I know, shall not be used by the base xz in any way.

I wonder how did you manage to install xz from ports on 8.1
as this port is specifically IGNORE'd to install on 8.1 system
with the reason "is already in the base system".

First I would try to pkgrm xz and see how it helps.

-- 
wbr,
pluknet
_______________________________________________
freebsd-questions at freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org"



More information about the freebsd-questions mailing list