On 9/3/12 5:49 AM, wxpyjoshtron wrote:
> after the successful build, i wanted to take 2.9 for a spin, but i get
> this at the interpreter:
> the file libwx_gtk2u_xrc-2.9.so.4 is a symlink to
> /usr/local/lib/libwx_gtk2u_xrc-2.9.so.4.0.0.0
>
>
>
> Python 2.7.3 (default, Jul 24 2012, 10:05:39)
> [GCC 4.7.0 20120507 (Red Hat 4.7.0-5)] on linux2
> Type "help", "copyright", "credits" or "license" for more information.
> >>> import wxversion as v; v.select('2.9'); import wx; wx.VERSION
> Traceback (most recent call last):
> File "<stdin>", line 1, in <module>
> File "/usr/lib/python2.7/site-packages/wx-2.9.4-gtk2/wx/__init__.py",
> line 45, in <module>
> from wx._core import *
> File "/usr/lib/python2.7/site-packages/wx-2.9.4-gtk2/wx/_core.py",
> line 4, in <module>
> import _core_
> ImportError: libwx_gtk2u_xrc-2.9.so.4: cannot open shared object file:
> No such file or directory
>
Run "ldd /usr/lib/python2.7/site-packages/wx-2.9.4-gtk2/wx/_core_.so" to
see where it is trying to load the wxGTK library from. If it doesn't
have a specific path name for it then you probably need to add
/usr/local/lib/ to the paths in /etc/ld.so.conf (and rerun ldconfig), or
add it to LD_LIBRARY_PATH set in the environment.
--
Robin Dunn
Software Craftsman
http://wxPython.org