From owner-freebsd-questions@FreeBSD.ORG Mon Aug 18 20:51:06 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BA8F51065684 for ; Mon, 18 Aug 2008 20:51:06 +0000 (UTC) (envelope-from illoai@gmail.com) Received: from rv-out-0506.google.com (rv-out-0506.google.com [209.85.198.234]) by mx1.freebsd.org (Postfix) with ESMTP id 40D8F8FC1E for ; Mon, 18 Aug 2008 20:51:06 +0000 (UTC) (envelope-from illoai@gmail.com) Received: by rv-out-0506.google.com with SMTP id b25so3579089rvf.43 for ; Mon, 18 Aug 2008 13:51:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=b/iHZM7AJfNvlRYN7id5uAID8neX10J2WfodUNBs+8I=; b=J94C6BZToDqbMQplRGGA9DjYpk+LD71VqAjwEUa6zPfvMALpQ6zQocwuv+Ks0StTc+ yo6QO7f3P8UWtcEmK7E0eMB/qxSCYA4BPZNSEtm6qmPgxsYGGq7YwEf2Pvr5FpiWo5xQ +yn3YSI7afACut9pmb0ohNEA2md5olit4Dc/U= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=Jo/sOMoc4Z2J1041FDXQ/shRXfSxke2ptvyDWlWW5PVPq6fWAFP5dxXwlY6a3m/5Mv XuWGc8SPDpHU2rvsMgvEqARESNlJw2y7JsBWFVpK5vVwvNBENy6kxUCfe2qk2hgFZXdd fCxFIoje4pE259WV+j5VcUITCmDsSqwRmwRkk= Received: by 10.141.168.16 with SMTP id v16mr3598119rvo.233.1219090993883; Mon, 18 Aug 2008 13:23:13 -0700 (PDT) Received: by 10.140.139.5 with HTTP; Mon, 18 Aug 2008 13:23:13 -0700 (PDT) Message-ID: Date: Mon, 18 Aug 2008 15:23:13 -0500 From: "illoai@gmail.com" To: stevefranks@ieee.org In-Reply-To: <539c60b90808180740k2dea7004xd708dab3c0a1cb40@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <539c60b90808180740k2dea7004xd708dab3c0a1cb40@mail.gmail.com> Cc: FreeBSD Mailing List Subject: Re: "undefined symbol" error from .so file after portupgrade X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 18 Aug 2008 20:51:06 -0000 2008/8/18 Steve Franks : > I just finished a successful of portupgrade -a, so everything's > supposed to be the latest & greatest, right? Why would I be > experiencing "dll hell" then? These are not obscure ports... > > I get the following when I import gtk in python: > > ImportError: > /usr/local/lib/python2.5/site-packages/gtk-2.0/gconf.so: Undefined > symbol "g_assertion_message_expr" > > My versions: > > python25-2.5.2_1 > py25-gtk-2.12. > > Ideas? When you issued portupgrade -a, you upgraded something that python depends upon (or something that python depends upon depends upon) without recompiling the dependancies (in this case python(?)). Find out what you upgraded that broke python and issue: portupgrade -fr In general, when running portupgrade, I have found it to be a good idea to manually audit the packages to be upgraded for their general state of root-, trunk-, branch-, leaf-iness and issue several runs of portupgrade -fr Not quite as fire&fail as portupgrade -a, but much less time-consuming than portupgrade -af. -- --