It seems that almost every new version of wxPython I try involves spending
days trying to get the build to work! Sigh, if there was a way for me to
dump the application and move on to something better for a GUI, I'd have
done it a long time ago.
This is perhaps the final straw....if this doesn't work, please tell me how
to port the GUI to something else. I love Python, but the wxPython module
makes me question why I ever did GUI work in python.
After the failures in building previous versions of wxPython, I have
attempted to build in a path other than /usr/local so as not to pollute the
tree with this wxPython.
So, on to the problem: The system is a 64 bit RedHat machine. I have had to
build GTK from scratch, plus wxWidgets 2.8 and all the related modules. I
built wxPython 2.8.9.2 with no GL (BUILD_GLCANVAS = 0) .. and no apparent
problems.
On import wx, I get the following error:
ImportError:
/peasd/fesg/users/apps/linux64/usr/local/lib/python2.5/site-packages/wx-2.8-gtk2-unicode/wx/_core_.so:
undefined symbol: _ZN5wxApp10InitializeERiPPw
Now, I am using the right wx-config, the LD_LIBRARY_PATH is pointing to the
right place, everything is built with unicode and, yes, the PYTHONPATH IS
set properly.
The installation is Here: /peasd/fesg/users/apps/linux64/usr/local/lib
wx-config --version
2.8.9
wx-config --libs
-L/peasd/fesg/users/apps/linux64/usr/local/lib -pthread -L/usr/X11R6/lib64
-lwx_gtk2u_richtext-2.8 -lwx_gtk2u_aui-2.8 -lwx_gtk2u_xrc-2.8
-lwx_gtk2u_qa-2.8 -lwx_gtk2u_html-2.8 -lwx_gtk2u_adv-2.8 -lwx_gtk2u_core-2.8
-lwx_baseu_xml-2.8 -lwx_baseu_net-2.8 -lwx_baseu-2.8
echo $LD_LIBRARY_PATH
/peasd/fesg/users/apps/srcs/srcs/databases/instantclient_10_2:/peasd/fesg/users/apps/srcs/VTK5bin/bin:/peasd/fesg/users/apps/linux64/usr/local/lib:/peasd/fesg/users/apps/linux64/usr/local/bin:/ep/appl01/ep/orabase_lnx/ora10G_lnx/lib:/csd/appl/opt/lib:/usr/lib
Simply, supporting an application built under WxPython is a real pain to
update and I wish there was a cleaner procedure.
···
--
View this message in context: http://www.nabble.com/wxpython-import-core-error-tp22522941p22522941.html
Sent from the wxPython-users mailing list archive at Nabble.com.