Re: [cgkit-user] Issues with cgkit-2.0.0alpha8 and python2.5
Brought to you by:
mbaas
|
From: Ben H. <bh...@we...> - 2008-04-03 06:01:44
|
I tracked this down to the version of libboost I was compiling with (it was linked against libpython2.4). -- Ben Ben Hall wrote: > Hi, > > I've compiled cgkit successfully for python2.5 in kubuntu linux 6.06 > following the standard instructions but for some reason '_core.so' is > dependent on libpython2.4.so.1.0. > > This causes the following warning on 32bit linux: > > Python 2.5.1 (r251:54863, Mar 11 2008, 19:00:00) > [GCC 4.0.3 (Ubuntu 4.0.3-1ubuntu5)] on linux2 > Type "help", "copyright", "credits" or "license" for more information. > >>> from cgkit import _core > __main__:1: RuntimeWarning: Python C API version mismatch for module > _core: This Python has API version 1013, module _core has version 1012. > > Attempting the same under 64bit linux causes a segfault: > > Python 2.5.1 (r251:54863, Mar 14 2008, 15:47:52) > [GCC 4.0.3 (Ubuntu 4.0.3-1ubuntu5)] on linux2 > Type "help", "copyright", "credits" or "license" for more information. > >>> from cgkit import _core > Segmentation fault > > It's definitely trying to load the correct newly compiled _core.so > (confirmed with python -v). The PYTHONPATH has been unset. > > Why would it need libpython2.4.so.1.0? It's being compiled against the > python2.5 includes. > > Thanks, > -- > Ben > |