From: Flavio C. <fcc...@gm...> - 2006-02-17 13:55:02
|
Solved. Just copying to the list in cased anyone runs into the same problem... ---------- Forwarded message ---------- From: Flavio Coelho <fcc...@gm...> Date: 16/02/2006 14:04 Subject: Re: [Visualpython-users] boost bug To: Jonathan Brandmeyer <jbr...@ea...> I actually had an old visual under python2.3/site-packages. I removed it an= d recompiled/reinstalled vpython. Curiously, > > # ldd /usr/local/lib/python2.4/site-packages/cvisualmodule.so > linux-gate.so.1 =3D> (0xffffe000) > libgtk-1.2.so.0 =3D> /usr/lib/libgtk-1.2.so.0 (0xb7ce1000) > libgdk-1.2.so.0 =3D> /usr/lib/libgdk- 1.2.so.0 (0xb7ca9000) > libgmodule-1.2.so.0 =3D> /usr/lib/libgmodule-1.2.so.0 (0xb7ca6000= ) > libdl.so.2 =3D> /lib/libdl.so.2 (0xb7ca2000) > libXi.so.6 =3D> /usr/lib/libXi.so.6 (0xb7c9a000) > libXext.so.6 =3D> /usr/lib/libXext.so.6 (0xb7c8c000) > libX11.so.6 =3D> /usr/lib/libX11.so.6 (0xb7bc0000) > libgtkgl.so.5 =3D> /usr/lib/libgtkgl.so.5 (0xb7bbc000) > libGL.so.1 =3D> /usr/lib/opengl/nvidia/lib/libGL.so.1 (0xb7b4e000= ) > libgthread-1.2.so.0 =3D> /usr/lib/libgthread-1.2.so.0 (0xb7b4b000= ) > libpthread.so.0 =3D> /lib/libpthread.so.0 (0xb7af9000) > libglib-1.2.so.0 =3D> /usr/lib/libglib-1.2.so.0 (0xb7ad4000) > libboost_python.so.1.33.0 =3D> not found > libstdc++.so.5 =3D> > /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.6/libstdc++.so.5 (0xb7a16000) > libm.so.6 =3D> /lib/libm.so.6 (0xb79f3000) > libc.so.6 =3D> /lib/libc.so.6 (0xb78dd000) > libgcc_s.so.1 =3D> > /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.6/libgcc_s.so.1 (0xb78d5000) > /lib/ld-linux.so.2 (0x80000000) > libGLU.so.1 =3D> /usr/lib/libGLU.so.1 (0xb7858000) > libGLcore.so.1 =3D> /usr/lib/opengl/nvidia/lib/libGLcore.so.1 > (0xb7167000) > libnvidia-tls.so.1 =3D> /usr/lib/opengl/nvidia/lib/libnvidia- > tls.so.1 (0xb7165000) it still tries fo find the old libboost which is no longer there. # locate libboost_python /usr/lib/libboost_python.a /usr/lib/libboost_python.so /usr/lib/libboost_python.so.1.33.1 First off, be sure that you built Boost with GCC 3.3.6, and not > 4.something. I Used 3.3.6 Second - since cvisualmodule.so linked correctly, but the boost-python > library cannot be found by the runtime linker, find out where > Boost.Python was installed and also find out if that location is on the > library search path. See ld.so(8) and ldconfig(8). My hunch is that > Boost was installed under /usr/local and /usr/local/lib isn't > in /etc/ld.so.conf. No, see above. Finally, since libboost_python.so.1.33.0 cannot be found at all, if this > extension module was loaded by Python, you should get an ImportError or > somesuch when you try to "from visual import *". Make sure you don't > have an older version of Visual installed somewhere. interestingly enough, after all these maneuvers made my original problem go away... thanks Fl=E1vio -- Fl=E1vio Code=E7o Coelho registered Linux user # 386432 --------------------------- "Laws are like sausages. It's better not to see them being made." Otto von Bismark -- Fl=E1vio Code=E7o Coelho registered Linux user # 386432 --------------------------- "Laws are like sausages. It's better not to see them being made." Otto von Bismark |