Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 29 Mar 2013 16:27:20 -0400
From:      "illoai@gmail.com" <illoai@gmail.com>
To:        Walter Hurry <walterhurry@gmail.com>
Cc:        "freebsd-questions@freebsd.org" <freebsd-questions@freebsd.org>
Subject:   Re: x11-toolkits/gtksourceview2 is broken
Message-ID:  <CAHHBGkqn5CabjzL0gZejmg_qmFPvrND5G0fCAXrfiuYwML6fGw@mail.gmail.com>
In-Reply-To: <kj4p1f$21t$1@ger.gmane.org>
References:  <kj4p1f$21t$1@ger.gmane.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On 29 March 2013 15:11, Walter Hurry <walterhurry@gmail.com> wrote:

> FreeBSD 9.1-RELEASE on amd64
>
> This afternoon I upgraded textproc/libxml2 from version 2.7.8_5 to
> version 2.7.8_0 (at least I think it's libxml2 that's the problem - I
> upgraded py27-libxml2 and gdk-pixbuf2 at the same time).
>
> Then x11-toolkits/gtksourceview2 would not compile. I got the following
> error:
>
>   CCLD   test-widget
> ../gtksourceview/.libs/libgtksourceview-2.0.so: undefined reference to
> `xmlTextReaderRelaxNGValidate'
> gmake[2]: *** [test-widget] Error 1
>
> Sure enough, I see a similar error when I try to open a shell script with
> gedit:
>
> /usr/local/lib/libgtksourceview-2.0.so.0: Undefined symbol
> "xmlTextReaderRelaxNGValidate"
>
> Where do I go from here?
>
>
Looks like xmlTextReaderRelaxNGValidate is provided by
/usr/local/include/libxml2/libxml/xmlreader.h

As an analogy, I seem to recall having trouble in the past
with the freetype2/freetype nested directories & #include
statements that never seemed to pick up the subtleties
& my solution at the time was to:
# ln -s /usr/local/include/freetype2/freetype /usr/local/include/freetype

This probably caused an orphan in Mumbai to experience an
existential dread they still don't understand, but I'll be danged
if it didn't work.

Otherwise, you can blindly run
# portmaster -r libxml2
(or some perverted equivalent thereof)
& pray.  It'll probably run for a good while.
% pkg info -r libxml2 | wc -l
148
(that's including the "libxml2-2.7.8_5 is required by: " line though)

HTH

-- 
--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAHHBGkqn5CabjzL0gZejmg_qmFPvrND5G0fCAXrfiuYwML6fGw>