compiling glib20 failed

gahn ipfreak at
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


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

On 4 April 2012 07:02, gahn <ipfreak at> 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/ /usr/local/lib/ 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/ installed from ports and not
the one from base (i.e. there should be /usr/lib/ 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.

freebsd-questions at mailing list
To unsubscribe, send any mail to "freebsd-questions-unsubscribe at"

More information about the freebsd-questions mailing list