Trying to
import wxPython
i've got an error:
ImportError: shared object not open.
What to do?
Please give more details. What is your platform? Did you use RPMs or build
from source? Where are gtk+, wxGTK, wxPython, Python, etc. installed? What
are the versions of all these? What is the exact errror message?
Platform - redhat 7.0
I've install wxWindows and wxPython from RPMs
gtk+ - /usr/lib
wxGTK-2.2.2-/usr/lib
wxPython-2.2.2, Python2.0 - /usr/local
Exact error message is exactly as I wrote
ImportError: etc...
Thanks in advance, sorry for lack of information %)
···
On Mon, 27 Nov 2000, Robin Dunn wrote:
Please give more details. What is your platform? Did you use RPMs or build
from source? Where are gtk+, wxGTK, wxPython, Python, etc. installed? What
are the versions of all these? What is the exact errror message?
> Please give more details. What is your platform? Did you use RPMs or
build
> from source? Where are gtk+, wxGTK, wxPython, Python, etc. installed?
What
> are the versions of all these? What is the exact errror message?
Platform - redhat 7.0
I've install wxWindows and wxPython from RPMs
You'll probably have to rebuild wxGTK and wxPython from source. The
unauthorized version of gcc used in Redhat 7.0 supposedly can cause binary
incompatibilities in shared libraries, which sounds like what is happening
to you.
You'll probably have to rebuild wxGTK and wxPython from source. The
unauthorized version of gcc used in Redhat 7.0 supposedly can cause binary
incompatibilities in shared libraries, which sounds like what is happening
to you.
Thanx. But it is pain - trying to compile something with this c00l version
of gcc - it is quite broken.
Thanks again.
Yes, gcc 2.96 has an incompatible c++ abi from gcc 2.91 and gcc 2.95.
C++ programs and libaries have to be compile using the same compiler,
otherwise you'll get errors. BTW, this also happens if you have c++ code
compiled by gcc 2.91 and gcc 2.95.
···
On Mon, Nov 27, 2000 at 12:30:24PM -0800, Robin Dunn wrote:
> On Mon, 27 Nov 2000, Robin Dunn wrote:
>
> > Please give more details. What is your platform? Did you use RPMs or
build
> > from source? Where are gtk+, wxGTK, wxPython, Python, etc. installed?
What
> > are the versions of all these? What is the exact errror message?
> Platform - redhat 7.0
> I've install wxWindows and wxPython from RPMs
You'll probably have to rebuild wxGTK and wxPython from source. The
unauthorized version of gcc used in Redhat 7.0 supposedly can cause binary
incompatibilities in shared libraries, which sounds like what is happening
to you.