[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: "undefined symbol" error from .so file after portupgrade



2008/8/18 Steve Franks <stevefranks_(_at_)_ieee_(_dot_)_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.

-- 
--
_______________________________________________
freebsd-questions_(_at_)_freebsd_(_dot_)_org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscribe_(_at_)_freebsd_(_dot_)_org"