[SciPy-user] Building Scipy on Dell 64bit Xeon

David Noriega neruocomp at yahoo.com
Tue Jul 12 10:07:10 CDT 2005


Hello, I've been put in charge of setting up a Dell
64bit Xeon workstation and on the side I've been tring
to get scipy to install, but I haven't had any luck. 
I compiled LAPACK, BLAS, and ATLAS sucsesfuly and
scipy finds them.  Its when I try to build scipy that
I get problems.  I try just plain "./setup.py build"
and I get these errors:

/usr/bin/ld:
/usr/lib/gcc-lib/x86_64-redhat-linux/3.2.3/libg2c.a(s_stop.o):
relocation R_X86_64_32 against `a local symbol' can
not be used when making a shared object; recompile
with -fPIC
/usr/lib/gcc-lib/x86_64-redhat-linux/3.2.3/libg2c.a:
could not read symbols: Bad value
collect2: ld returned 1 exit status
/usr/bin/ld:
/usr/lib/gcc-lib/x86_64-redhat-linux/3.2.3/libg2c.a(s_stop.o):
relocation R_X86_64_32 against `a local symbol' can
not be used when making a shared object; recompile
with -fPIC
/usr/lib/gcc-lib/x86_64-redhat-linux/3.2.3/libg2c.a:
could not read symbols: Bad value
collect2: ld returned 1 exit status
error: Command "/usr/bin/g77 -shared
build/temp.linux-x86_64-2.4/Lib/special/cephesmodule.o
build/temp.linux-x86_64-2.4/Lib/special/amos_wrappers.o
build/temp.linux-x86_64-2.4/Lib/special/specfun_wrappers.o
build/temp.linux-x86_64-2.4/Lib/special/toms_wrappers.o
build/temp.linux-x86_64-2.4/Lib/special/cdf_wrappers.o
build/temp.linux-x86_64-2.4/Lib/special/ufunc_extras.o
-Lbuild/temp.linux-x86_64-2.4 -lamos -ltoms -lc_misc
-lcephes -lmach -lcdf -lspecfun -lg2c -o
build/lib.linux-x86_64-2.4/scipy/special/cephes.so"
failed with exit status 1

I also installed Intel's compiler, but I get different
errors:

ld: skipping incompatible
build/temp.linux-x86_64-2.4/libc_misc.a when searching
for -lc_misc
ld: cannot find -lc_misc
ld: skipping incompatible
build/temp.linux-x86_64-2.4/libc_misc.a when searching
for -lc_misc
ld: cannot find -lc_misc
error: Command "/usr/local/intel/bin/ifort -shared
-nofor_main
build/temp.linux-x86_64-2.4/Lib/special/cephesmodule.o
build/temp.linux-x86_64-2.4/Lib/special/amos_wrappers.o
build/temp.linux-x86_64-2.4/Lib/special/specfun_wrappers.o
build/temp.linux-x86_64-2.4/Lib/special/toms_wrappers.o
build/temp.linux-x86_64-2.4/Lib/special/cdf_wrappers.o
build/temp.linux-x86_64-2.4/Lib/special/ufunc_extras.o
-Lbuild/temp.linux-x86_64-2.4 -lamos -ltoms -lc_misc
-lcephes -lmach -lcdf -lspecfun -o
build/lib.linux-x86_64-2.4/scipy/special/cephes.so"
failed with exit status 1

In trying to figure out whats wrong, I changed some
items in scipy_distutils.  I'm running Fedora Core 4
x86_64, so I had scipy looking in /usr/lib64 and
/usr/X11R6/lib64 for libraries. I also set scipy to
use gcc32, just because when I compiled ATLAS

Don't fear that philosophy's an impious way
--superstition's more likely to lead folk astray.

~Lucretius, De rerum natura, Book One

http://mindbender.deviantart.com

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 



More information about the SciPy-user mailing list