[SciPy-user] SUSe 64 bit

Joe Cooper joe at enthought.com
Thu Apr 21 15:32:22 EDT 2005


I spent a little time on Fedora Core 3 on x86_64, and also ran into 
quite a few problems of this sort.  I don't think it is unique to any 
particular brand of Linux/x86_64...I haven't had time to deal with many 
of the problems though.  Getting SciPy running on x86_64 is on my todo 
list, but it hasn't happened yet.

Then again, the fastumath problem seems familiar even on i386 platforms. 
    Try deleting your whole source tree and doing a fresh CVS checkout 
and build.  I could be wrong, but this sounds very familiar.

Jarmila Bohmanova wrote:
> Does anybody has an experience with SciPy on SUSe 9.1 64 bit?
> 
> When I try to import scipy it gives me:
> 
>  File "<stdin>", line 1, in ?
> 
>   File "/usr/lib64/python2.3/site-packages/PIL/__init__.py", line 11, in ?
> 
>    
> 
>   File "/usr/lib64/python2.3/site-packages/scipy_base/__init__.py", line 
> 16, in ?
> 
>     import fastumath  # no need to use scipy_base.fastumath
> 
> ImportError: /usr/lib64/python2.3/site-packages/scipy_base/fastumath.so: 
> cannot open shared object file: No such file or directory
> 
> 
> I also tried to recompile setup_scipy_base.py
> 
> ‘python setup_scipy_base.py install’
> 
> But I got another error message:
> 
> package init file 
> '/usr/lib64/python2.3/site-packages/scipy_base/tests/__init__.py' not 
> found (or not a regular file)
> 
> package init file 
> '/usr/lib64/python2.3/site-packages/scipy_base/tests/__init__.py' not 
> found (or not a regular file)
> 
> running build_ext
> 
> customize UnixCCompiler
> 
> customize UnixCCompiler using build_ext
> 
> building 'scipy_base.display_test' extension
> 
> compiling C sources
> 
> gcc options: '-pthread -fno-strict-aliasing -DNDEBUG 
> -DHAVE_LARGEFILE_SUPPORT -O2 -fmessage-length=0 -Wall -fPIC'
> 
> compile options: '-DHAVE_X11 -I/usr/X11R6/include 
> -I/usr/include/python2.3 -c'
> 
> gcc: /usr/lib64/python2.3/site-packages/scipy_base/src/display_test.c
> 
> /usr/lib64/python2.3/site-packages/scipy_base/src/display_test.c:65: 
> warning: initialization from incompatible pointer type
> 
> gcc -pthread -shared 
> build/temp.linux-x86_64-2.3/usr/lib64/python2.3/site-packages/scipy_base/src/display_test.o 
> -L/usr/X11R6/lib -lX11 -o 
> build/lib.linux-x86_64-2.3/scipy_base/display_test.so
> 
> /usr/lib64/gcc-lib/x86_64-suse-linux/3.3.3/../../../../x86_64-suse-linux/bin/ld: 
> skipping incompatible /usr/X11R6/lib/libX11.so when searching for -lX11
> 
> /usr/lib64/gcc-lib/x86_64-suse-linux/3.3.3/../../../../x86_64-suse-linux/bin/ld: 
> skipping incompatible /usr/X11R6/lib/libX11.a when searching for -lX11
> 
> /usr/lib64/gcc-lib/x86_64-suse-linux/3.3.3/../../../../x86_64-suse-linux/bin/ld: 
> cannot find -lX11
> 
> collect2: ld returned 1 exit status
> 
> /usr/lib64/gcc-lib/x86_64-suse-linux/3.3.3/../../../../x86_64-suse-linux/bin/ld: 
> skipping incompatible /usr/X11R6/lib/libX11.so when searching for -lX11
> 
> /usr/lib64/gcc-lib/x86_64-suse-linux/3.3.3/../../../../x86_64-suse-linux/bin/ld: 
> skipping incompatible /usr/X11R6/lib/libX11.a when searching for -lX11
> 
> /usr/lib64/gcc-lib/x86_64-suse-linux/3.3.3/../../../../x86_64-suse-linux/bin/ld: 
> cannot find -lX11
> 
> collect2: ld returned 1 exit status
> 
> error: Command "gcc -pthread -shared 
> build/temp.linux-x86_64-2.3/usr/lib64/python2.3/site-packages/scipy_base/src/display_test.o 
> -L/usr/X11R6/lib -lX11 -o 
> build/lib.linux-x86_64-2.3/scipy_base/display_test.so" failed with exit 
> status 1
> 
> Jarmila.
> 
> 
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> SciPy-user mailing list
> SciPy-user at scipy.net
> http://www.scipy.net/mailman/listinfo/scipy-user




More information about the SciPy-User mailing list