[wxPython] Q. on libwxgtk-2.3.so.

Hello,
When trying to run the demo.py script I had an import error.
Should I put this file in ld.so.conf and run ldconfig? Is there
another solution to this problem?
Here the error message-

[wayne@localhost demo]$ /usr/local/Python-2.1.2/python demo.py
Traceback (most recent call last):
  File "demo.py", line 3, in ?
    import Main
  File "Main.py", line 15, in ?
    from wxPython.wx import *
  File "/usr/local/lib/python2.1/site-packages/wxPython/__init__.py", line 20, in ?
    import wxc
ImportError: libwx_gtk-2.3.so: cannot open shared object file: No such file or directory

Thanks.
Wayne

When trying to run the demo.py script I had an import error.
Should I put this file in ld.so.conf and run ldconfig?

Not file, but the directory where it is located.

Is there
another solution to this problem?

There is an environment variable that can be set as well, but I don't recall
it off the top of my head. Something like LD_LIBRARY_PATH.

···

--
Robin Dunn
Software Craftsman
robin@AllDunn.com Java give you jitters?
http://wxPython.org Relax with wxPython!