x11-toolkits/gtksourceview2 is broken

illoai at gmail.com illoai at gmail.com
Fri Mar 29 20:27:27 UTC 2013

On 29 March 2013 15:11, Walter Hurry <walterhurry at 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

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
(that's including the "libxml2-2.7.8_5 is required by: " line though)



More information about the freebsd-questions mailing list