compiling glib20 failed

Sergey Kandaurov pluknet at
Wed Apr 4 06:31:23 UTC 2012

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.


More information about the freebsd-questions mailing list