From owner-freebsd-questions@FreeBSD.ORG Fri Mar 29 20:27:27 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 03F9A3AD for ; Fri, 29 Mar 2013 20:27:27 +0000 (UTC) (envelope-from illoai@gmail.com) Received: from mail-pb0-f45.google.com (mail-pb0-f45.google.com [209.85.160.45]) by mx1.freebsd.org (Postfix) with ESMTP id D76C996A for ; Fri, 29 Mar 2013 20:27:26 +0000 (UTC) Received: by mail-pb0-f45.google.com with SMTP id ro8so391075pbb.32 for ; Fri, 29 Mar 2013 13:27:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:in-reply-to:references:date:message-id :subject:from:to:cc:content-type; bh=SldswFInsR1oPi69kMT19n+Tnfe54xc+G8HUp55GivE=; b=pOGtWa5Tk2luiIGxnnfk8nu5z/OIUJ0qkyEehkH26pceEVzV/649jiBnwZ4SRaiF2B fwbOQIDWPXe3SmVoXn/DfxNLDFeKwielgZItn+D/SZuAO33B1mOX38k4K/pv9nE/d1pu PBMaWlv7QnPjbyWCSbSvCrpBcaJNfOMD+g4pvHLMHD7V/f4LfsIzUe/MsWKXvsgaa0I8 VfdD+mM0CGyGYZi8jH5OK1o8ky4ZXijzKE6+Mc0D039Rh6dDlzCSwUOwueM3d8+QN0o2 TGmON0c8OcRn0isvoTYANGCioGpOdZkzgy3ICCkIMzhOEAdvcu+rCk5PyGizl0ICIe6M UgWQ== MIME-Version: 1.0 X-Received: by 10.67.10.238 with SMTP id ed14mr6442447pad.41.1364588840198; Fri, 29 Mar 2013 13:27:20 -0700 (PDT) Received: by 10.68.82.106 with HTTP; Fri, 29 Mar 2013 13:27:20 -0700 (PDT) In-Reply-To: References: Date: Fri, 29 Mar 2013 16:27:20 -0400 Message-ID: Subject: Re: x11-toolkits/gtksourceview2 is broken From: "illoai@gmail.com" To: Walter Hurry Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: "freebsd-questions@freebsd.org" X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 29 Mar 2013 20:27:27 -0000 On 29 March 2013 15:11, Walter Hurry 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 -- --