It does not work for me (Suse). I have /etc/ld.so.conf that contained
/usr/local/lib. I copied it to /etc/ld.so.config, but I still get :
Traceback (innermost last):
File "demo.py", line 3, in ?
import Main
File "Main.py", line 15, in ?
from wxPython.wx import *
File "/usr/local/lib/python1.5/site-packages/wxPython/__init__.py", line
20, in ? import wxc
ImportError: libwx_gtk.so: cannot open shared object file: No such file or
directory
Paul Casteels
···
On Mon, 19 Jun 2000, Johann Spies wrote:
On Sun, Jul 27, 2036 at 12:44:37AM +0200, Niki Spahiev wrote:
> I had similar problem and soved it by inserting /usr/local/lib in
> /etc/ld.so.config (on RedHat)
Thanks Niki! You are a star. It solved my problem.
It does not work for me (Suse). I have /etc/ld.so.conf that contained
/usr/local/lib. I copied it to /etc/ld.so.config, but I still get :
On my system (debian) it is actually /etc/ld.so.conf. Try and locate
libwx_gtk.so on your system (using "locate" or "find") and see whether
it is on the path indicated in /etc/ld.so.conf. If it is not, add the
path to your /etc/ld.so.conf. If your problem was caused by the same
configuration problem as mine that should solve it.
Did you run ldconfig as root after installing wxPython/wxWindows?
Johann
···
--
J.H. Spies, Hugenotestraat 29, Posbus 80, Franschhoek, 7690, South Africa
Tel/Faks 021-876-2337 Sel/Cell 082 898 1528(Johann) 082 255 2388(Hester)
"There is therefore now no condemnation to them which
are in Christ Jesus, who walk not after the flesh, but
after the Spirit." Romans 8:1
Thanks, ldconfig made this dissapear. I still don't undersstand why the
wxGTK samples did work without problems. I suppose they also need
libwx_gtk.so ?
I am still having problems, and cannot compare with my failing wxPython
demo on our Compaq/Alpha machine. Now I get :
Gdk-ERROR **: Fatal IO error 0 (Success) on X server pcevs12:0.
Other X applications work fine.
Paul Casteels casteels@uia.ua.ac.be Tel: +32.3.8202455
Fax: +32.3.8202470
University of Antwerp Dpt.Physics
Universiteitsplein 1
B-2610 Wilrijk
Belgium
···
On Tue, 20 Jun 2000, Johann Spies wrote:
Paul,
> It does not work for me (Suse). I have /etc/ld.so.conf that contained
> /usr/local/lib. I copied it to /etc/ld.so.config, but I still get :
On my system (debian) it is actually /etc/ld.so.conf. Try and locate
libwx_gtk.so on your system (using "locate" or "find") and see whether
it is on the path indicated in /etc/ld.so.conf. If it is not, add the
path to your /etc/ld.so.conf. If your problem was caused by the same
configuration problem as mine that should solve it.
Did you run ldconfig as root after installing wxPython/wxWindows?
I still don't undersstand why the
wxGTK samples did work without problems. I suppose they also need
libwx_gtk.so ?
The wxGTK samples link such that the full pathname of the library is
embedded in the executable, so they don't have to do a ld search for it at
runtime.