From: Mathieu M. <mat...@gm...> - 2008-06-17 13:31:27
|
oukaci, Could you please CC the ML instead of direct mail, I'd appreciate :) On Tue, Jun 17, 2008 at 3:13 PM, oukaci <ou...@te...> wrote: > oukaci@adesmia:~$ export > PYTHONPATH=GDCM-2.0.5-Linux-i686/lib/python2.4/site-packages/gdcm-2.0 > oukaci@adesmia:~$ export LD_LIBRARY_PATH=GDCM-2.0.5-Linux-i686/lib/ You need to check with your admin system but I believe that PYTHONPATH/LD_LIBRARY_PATH are fullpath, do not use relative path, thanks. > oukaci@adesmia:~$ python > Python 2.4.4 (#2, Apr 15 2008, 23:43:20) > [GCC 4.1.2 20061115 (prerelease) (Debian 4.1.1-21)] on linux2 > Type "help", "copyright", "credits" or "license" for more information. >>>> import gdcm > Traceback (most recent call last): > File "<stdin>", line 1, in ? > File > "/amd/mahe/home/oukaci/GDCM-2.0.5-Linux-i686/lib/python2.4/site-packages/gdcm-2.0/gdcm.py", > line 11, in ? > import _gdcm > ImportError: /usr/lib/libstdc++.so.6: version `GLIBCXX_3.4.9' not found > (required by > /amd/mahe/home/oukaci/GDCM-2.0.5-Linux-i686/lib/python2.4/site-packages/gdcm-2.0/_gdcm.so) >>>> Bad luck :) you are using a system slightly older than the one I was using, and gcc is not forward compatible (yes forward). Which means that anything build on any newer glibc system is not garanteed to be compatible in an older system (the contrary is true though) I used a very early gcc 4.0 release, so you are using someting even older and I am not sure the ABI are compatible. Are you using gcc 3.4 or something like that ? If so you need to compile gdcm yourself :( The (minimal) compilation steps are also described in the very same email I previsouly sent you: http://sourceforge.net/mailarchive/message.php?msg_id=bf0c3b3f0806100759l49c6708arbe1ded97a8a92cc8%40mail.gmail.com HTH -- Mathieu |