Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 18 Aug 2008 15:23:13 -0500
From:      "illoai@gmail.com" <illoai@gmail.com>
To:        stevefranks@ieee.org
Cc:        FreeBSD Mailing List <freebsd-questions@freebsd.org>
Subject:   Re: "undefined symbol" error from .so file after portupgrade
Message-ID:  <d7195cff0808181323i299e4b77sd695b7e91d0fa7b@mail.gmail.com>
In-Reply-To: <539c60b90808180740k2dea7004xd708dab3c0a1cb40@mail.gmail.com>
References:  <539c60b90808180740k2dea7004xd708dab3c0a1cb40@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
2008/8/18 Steve Franks <stevefranks@ieee.org>:
> 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 <whatever-it-is>

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 <something>

Not quite as fire&fail as portupgrade -a, but much less
time-consuming than portupgrade -af.

-- 
--



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