From: Ari H. <ahe...@an...> - 2001-01-31 17:11:00
|
On Wed, Jan 31, 2001 at 12:15:26AM -0800, David P. Reese Jr. wrote: > How platform independent is the code base of visual python? I managed to Um. As far as I know Linux is the only Unix we've got it working under (one of these days I'll give Solaris a try). But considering that it runs on Windows and Mac as well ... I'd call it pretty bloody platform independent :) > get it to compile on FreeBSD Release 4.1, but when i try to run something > that uses the visual python modules, i get the following: > > Traceback (innermost last): > File "bounce.py", line 1, in ? > from visual import * > File "/usr/local/lib/python1.5/site-packages/visual/__init__.py", line 16, in ? > import cvisual > ImportError: /usr/local/lib/python1.5/site-packages/cvisualmodule.so: > Undefined symbol "__get_eh_context" > Try doing a 'ldd /usr/local/lib/python1.5/site-packages/cvisualmodule.so' and seeing if ld is finding all of the libraries it thinks cvisualmodule.so is linked against. Considering that you *compiled* it, that means the linker *can* find all the symbols. So it's probably something dumb like a library path setting or somesuch. I'm vaguely inclined to think that symbols looks like a python internal symbol. Finding where it lives means doing an 'nm | grep __get_eh_context' on *everything* cvisualmodule.so is linked against, however ... (i guess it's not really that bad. i'll poke around and try to find it later if you're still having trouble). ari |