Re: compiling glib20 failed

From: Sergey Kandaurov <pluknet_at_gmail.com>
Date: Wed, 4 Apr 2012 10:31:15 +0400
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
Received on Wed Apr 04 2012 - 04:31:23 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:25 UTC