first start of opendict gives me: ** ** Error: wxPython library not found ** Please install wxPython 2.5 or newer to run OpenDict ** but wxpython is on my sys in the latest version: root@libo-podget# [1]emerge -pv wxpython These are the packages that I would merge, in order: Calculating dependencies ...done! [ebuild R ] dev-python/wxpython-2.6.1.0 +gtk +gtk2 +opengl +unicode 18,019 kB Total size of downloads: 18,019 kB root@libo-podget# root@libo-podget# eix wxpython * dev-python/wxpython Available versions: 2.4.2.4 2.4.2.4-r3 ~2.6.0.0-r1 2.6.1.0 Installed: 2.4.2.4-r2 2.6.1.0 Homepage: http://www.wxpython.org/ Description: A blending of the wxWindows C++ class library with Python * dev-python/wxpython-docs Available versions: 2.4.2.4-r1 ~2.6.0.0-r1 Installed: none Homepage: http://www.wxpython.org Description: wxPython documentation
What version of opendict was this? I can't reproduce this with wxpython-2.6.3.2. Upstream said that an older version than 0.6.x might have had a check on wxpython-2.5 without 2.6, back from when 2.6 with multiversion installs in wxpython didn't exist yet. However, we have a patch for that in opendict-0.5.7.ebuild, and I can't reproduce the problem with opendict-0.5.4 either. I will work on bumping opendict to 0.6.1 soon, hopefully that will fix the problem if you're still having it.
Should be fixed in the latest ebuild, thanks Mart.
I got the same Error message and made some test: $ opendict ** ** Error: wxPython library not found ** Please install wxPython 2.5 or later to run OpenDict ** $ python Python 2.4.3 (#1, Apr 30 2006, 14:44:18) [GCC 3.4.6 (Gentoo 3.4.6-r1, ssp-3.4.5-1.0, pie-8.7.9)] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> import wx Traceback (most recent call last): File "<stdin>", line 1, in ? File "/usr/lib/python2.4/site-packages/wx-2.6-gtk2-unicode/wx/__init__.py", line 42, in ? from wx._core import * File "/usr/lib/python2.4/site-packages/wx-2.6-gtk2-unicode/wx/_core.py", line 4, in ? import _core_ ImportError: /usr/lib/libwx_baseu_net-2.6.so.0: undefined symbol: _ZNK11wxClassInfo8IsKindOfEPKS_ /usr/lib/libwx_baseu_net-2.6.so.0 comes from wxGTK-2.6.2.3 so I re-emerge it with conservative CFLAGS but with no luck.
Please use a ~x86 wxGTK AND ~x86 wxpython with ~x86 opendict
installed: (~x86) x11-libs/wxGTK-2.6.3.2 dev-python/wxpython-2.6.3.2 app-dicts/opendict-0.6.1
I see. I got something similar after a wxGTK+wxpython followed by a wxGTK (only) reinstall. Investigating this as soon I arrange enough free HDD space. I hope you aren't using --as-needed in an unstable combination.