Yt installation fails with the message "usr/bin/ld: cannot find -lgcc_s".
Hello, The yt installation script fails with the message "usr/bin/ld: cannot find -lgcc_s" . I am running Ubuntu 11.04. The script is the one at http://hg.yt-project.org/yt/raw/stable/doc/install_script.sh, and I ran it a few minutes ago. The full yt_install.log is very large and I can't upload it to pastebin.com. Let me know if these is a way of sharing it. I am including a few lines from the beginning and the end of yt_install.log. The first few lines from yt_install.log: df5-1.8.6.tar.gz: OK zlib-1.2.3.tar.bz2: OK bzip2-1.0.5.tar.gz: OK libpng-1.2.43.tar.gz: OK freetype-2.4.4.tar.gz: OK sqlite-autoconf-3070500.tar.gz: OK Python-2.7.1.tgz: OK numpy-1.5.1.tar.gz: OK matplotlib-1.0.0.tar.gz: OK mercurial-1.8.1.tar.gz: OK ipython-0.10.tar.gz: OK h5py-1.3.1.tar.gz: OK Cython-0.14.tar.gz: OK Forthon-0.8.4.tar.gz: OK ext-3.3.2.zip: OK ext-slate-110328.zip: OK PhiloGL-1.1.0.zip: OK If compilation produces errors, or a large number of warnings, please read README.COMPILATION.PROBLEMS -- you might be able to adjust the flags in this Makefile to improve matters. Also in README.COMPILATION.PROBLEMS are some hints that may help if your build produces an executable which is unable to correctly handle so-called 'large files' -- files of size 2GB or more. Last few lines from yt_install.log: creating build/temp.linux-i686-2.7/numpy/linalg compile options: '-DATLAS_INFO="\"3.8.3\"" -I/usr/include/atlas -Inumpy/core/include -Ibuild/src.linux-i686-2.7/numpy/core/include/numpy -Inumpy/core/src/private -Inumpy/core/src -Inumpy/core -Inumpy/core/src/npymath -Inumpy/core/src/multiarray -Inumpy/core/src/umath -Inumpy/core/include -I/home/phn/Downloads/yt-i686/include/python2.7 -Ibuild/src.linux-i686-2.7/numpy/core/src/multiarray -Ibuild/src.linux-i686-2.7/numpy/core/src/umath -c' gcc: numpy/linalg/python_xerbla.c as: /home/phn/Downloads/yt-i686/lib/libz.so.1: no version information available (required by /usr/lib/libbfd-2.21.0-system.20110327.so) gcc: numpy/linalg/lapack_litemodule.c as: /home/phn/Downloads/yt-i686/lib/libz.so.1: no version information available (required by /usr/lib/libbfd-2.21.0-system.20110327.so) /usr/bin/g77 -g -Wall -g -Wall -shared build/temp.linux-i686-2.7/numpy/linalg/lapack_litemodule.o build/temp.linux-i686-2.7/numpy/linalg/python_xerbla.o -L/usr/lib/atlas-base/atlas -L/usr/lib/atlas-base -Lbuild/temp.linux-i686-2.7 -llapack -lptf77blas -lptcblas -latlas -lg2c -o build/lib.linux-i686-2.7/numpy/linalg/lapack_lite.so /usr/bin/ld: /home/phn/Downloads/yt-i686/lib/libz.so.1: no version information available (required by /usr/lib/libbfd-2.21.0-system.20110327.so ) /usr/bin/ld: cannot find -lgcc_s collect2: ld returned 1 exit status /usr/bin/ld: /home/phn/Downloads/yt-i686/lib/libz.so.1: no version information available (required by /usr/lib/libbfd-2.21.0-system.20110327.so ) /usr/bin/ld: cannot find -lgcc_s collect2: ld returned 1 exit status error: Command "/usr/bin/g77 -g -Wall -g -Wall -shared build/temp.linux-i686-2.7/numpy/linalg/lapack_litemodule.o build/temp.linux-i686-2.7/numpy/linalg/python_xerbla.o -L/usr/lib/atlas-base/atlas -L/usr/lib/atlas-base -Lbuild/temp.linux-i686-2.7 -llapack -lptf77blas -lptcblas -latlas -lg2c -o build/lib.linux-i686-2.7/numpy/linalg/lapack_lite.so" failed with exit status 1 Thanks, Prasanth
Hi Prasanth,
This looks like it is trying to build a shared library using g77,
which as I recall is a bit of a known issue. Could you apt-get
install gfortran, remove the $YT_DEST/src/nump-* directory and then
re-run the install script? It will refrain from building any of the
other component parts.
Thanks,
Matt
On Mon, Dec 5, 2011 at 12:25 PM, Prasanth
Hello,
The yt installation script fails with the message "usr/bin/ld: cannot find -lgcc_s" . I am running Ubuntu 11.04. The script is the one at http://hg.yt-project.org/yt/raw/stable/doc/install_script.sh, and I ran it a few minutes ago.
The full yt_install.log is very large and I can't upload it to pastebin.com. Let me know if these is a way of sharing it. I am including a few lines from the beginning and the end of yt_install.log.
The first few lines from yt_install.log:
df5-1.8.6.tar.gz: OK zlib-1.2.3.tar.bz2: OK bzip2-1.0.5.tar.gz: OK libpng-1.2.43.tar.gz: OK freetype-2.4.4.tar.gz: OK sqlite-autoconf-3070500.tar.gz: OK Python-2.7.1.tgz: OK numpy-1.5.1.tar.gz: OK matplotlib-1.0.0.tar.gz: OK mercurial-1.8.1.tar.gz: OK ipython-0.10.tar.gz: OK h5py-1.3.1.tar.gz: OK Cython-0.14.tar.gz: OK Forthon-0.8.4.tar.gz: OK ext-3.3.2.zip: OK ext-slate-110328.zip: OK PhiloGL-1.1.0.zip: OK
If compilation produces errors, or a large number of warnings, please read README.COMPILATION.PROBLEMS -- you might be able to adjust the flags in this Makefile to improve matters.
Also in README.COMPILATION.PROBLEMS are some hints that may help if your build produces an executable which is unable to correctly handle so-called 'large files' -- files of size 2GB or more.
Last few lines from yt_install.log:
creating build/temp.linux-i686-2.7/numpy/linalg compile options: '-DATLAS_INFO="\"3.8.3\"" -I/usr/include/atlas -Inumpy/core/include -Ibuild/src.linux-i686-2.7/numpy/core/include/numpy -Inumpy/core/src/private -Inumpy/core/src -Inumpy/core -Inumpy/core/src/npymath -Inumpy/core/src/multiarray -Inumpy/core/src/umath -Inumpy/core/include -I/home/phn/Downloads/yt-i686/include/python2.7 -Ibuild/src.linux-i686-2.7/numpy/core/src/multiarray -Ibuild/src.linux-i686-2.7/numpy/core/src/umath -c' gcc: numpy/linalg/python_xerbla.c as: /home/phn/Downloads/yt-i686/lib/libz.so.1: no version information available (required by /usr/lib/libbfd-2.21.0-system.20110327.so) gcc: numpy/linalg/lapack_litemodule.c as: /home/phn/Downloads/yt-i686/lib/libz.so.1: no version information available (required by /usr/lib/libbfd-2.21.0-system.20110327.so) /usr/bin/g77 -g -Wall -g -Wall -shared build/temp.linux-i686-2.7/numpy/linalg/lapack_litemodule.o build/temp.linux-i686-2.7/numpy/linalg/python_xerbla.o -L/usr/lib/atlas-base/atlas -L/usr/lib/atlas-base -Lbuild/temp.linux-i686-2.7 -llapack -lptf77blas -lptcblas -latlas -lg2c -o build/lib.linux-i686-2.7/numpy/linalg/lapack_lite.so /usr/bin/ld: /home/phn/Downloads/yt-i686/lib/libz.so.1: no version information available (required by /usr/lib/libbfd-2.21.0-system.20110327.so) /usr/bin/ld: cannot find -lgcc_s collect2: ld returned 1 exit status /usr/bin/ld: /home/phn/Downloads/yt-i686/lib/libz.so.1: no version information available (required by /usr/lib/libbfd-2.21.0-system.20110327.so) /usr/bin/ld: cannot find -lgcc_s collect2: ld returned 1 exit status error: Command "/usr/bin/g77 -g -Wall -g -Wall -shared build/temp.linux-i686-2.7/numpy/linalg/lapack_litemodule.o build/temp.linux-i686-2.7/numpy/linalg/python_xerbla.o -L/usr/lib/atlas-base/atlas -L/usr/lib/atlas-base -Lbuild/temp.linux-i686-2.7 -llapack -lptf77blas -lptcblas -latlas -lg2c -o build/lib.linux-i686-2.7/numpy/linalg/lapack_lite.so" failed with exit status 1
Thanks, Prasanth
_______________________________________________ yt-users mailing list yt-users@lists.spacepope.org http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org
participants (2)
-
Matthew Turk
-
Prasanth