Uwe Grauer wrote:
Chris Carlen wrote:
Hi:
On my Suse Linux 9.1 machine, I have compiled wxPython from the tarball,
and installed the wxWidgets libs into /opt/wx/2.8 and wxPython into
/usr/lib/python2.5/site-packages/wx-2.8-gtk2-unicodeI can now successfully use wxPython! Except for one problem. I have to
do: "export LD_LIBRARY_PATH=/opt/wx/2.8/lib" before running python2.5
in order to be able to `import wx`.I also have a Python 2.3 installation, with wxPython built from the rpm
sources, and this one automatically finds the wxWidgets, which live in:/usr/lib/wxPython-2.8.4.0-gtk2-unicode
I tried making a link:
/usr/lib/wxPython-2.8.6.0-gtk2-unicode -> /opt/wx/2.8
and ran ldconfig, but to no avail. I can't get wxPython under the
Python2.5 installation to automatically find the wxWidgets libs.How to make this work?
Thanks.
Try to include /opt/wx/2.8/lib in your /etc/ld.so.conf file and run
ldconfig again.Uwe
Well, I reconfigured with /usr4 prefix, now it works. I didn't want to have to put a customization in /etc/ld.so.conf
Good day!
ยทยทยท
--
_____________________
Christopher R. Carlen
crobc@bogus-remove-me.sbcglobal.net
SuSE 9.1 Linux 2.6.5