This is the mail archive of the
fortran@gcc.gnu.org
mailing list for the GNU Fortran project.
Re: 64-bit gfortran: troubles with the binaries distributions
- From: Tim Prince <timothyprince at sbcglobal dot net>
- To: Jorge D'elia <jdelia at intec dot unl dot edu dot ar>
- Cc: fortran at gcc dot gnu dot org
- Date: Sat, 01 Jul 2006 10:31:45 -0700
- Subject: Re: 64-bit gfortran: troubles with the binaries distributions
- References: <1151682352.29837.ezmlm@gcc.gnu.org> <1151775158.44a6b1b6bc683@www.intec.ceride.gov.ar>
- Reply-to: tprince at myrealbox dot com
Jorge D'elia wrote:
Dear GFORTRAN developers,
It is a very good idea the gfortran compiler project for Linux users.
I try to install the packages for 32 and 64 bit processors from the page
http://gcc.gnu.org/wiki/GFortranBinaries
where
1) The 32-bit package was downloaded following the link
"For regular 32-bit processors (i386), download this package"
http://quatramaran.ens.fr/~coudert/gfortran/gfortran-linux.tar.gz
This installation in a 32-bit PC was sucessfull.
2) But I failed with some of the 64-bit packages following the text
"For 64-bit AMD-compatible processors (x86_64), download this package"
http://www.physik.fu-berlin.de/~tburnus/gcc-trunk/gcc-trunk-x86_64.tar.gz
or from the "(directory view)"
http://www.physik.fu-berlin.de/~tburnus/gcc-trunk/
where I tried with some binaries of the "Other nightly x86_64 build of
gfortran" text, for instance
http://quatramaran.ens.fr/~coudert/gfortran
/gfortran-x86_64-linux-20060701.tar.gz
I followed the "detailed instructions" but any installation was sucessfull
in the 64-bit case. For instance, with the
"gfortran-x86_64-linux-20060701.tar.gz" package the shared library
"libgmp.so" is not found:
gfortran -c hellow.f
/net/home/jdelia/PAQUETES/irun/bin/../libexec/gcc/x86_64
-unknown-linux-gnu/4.2.0/f951: error while loading
shared libraries: libgmp.so.3: cannot open shared object file:
No such file or directory
I do not find this library in my system ...
My related enviroment variables are:
LD="/net/home/jdelia/PAQUETES/irun/lib"
export LD_LIBRARY_PATH="$LD:$LD_LIBRARY_PATH"
declare -x PATH=$PATH:$LD_LIBRARY_PATH
export GFORTRAN=/net/home/jdelia/PAQUETES/irun
declare -x PATH=$GFORTRAN/bin:$PATH
while the 64-bit plataform is
Hardware : AMD Athlon 3000 64 bits
Operative system: Open SuSE Linux 10
Related packages:
. gcc (GCC) 4.2.0 20060629 (experimental)
. gfortran --version
GNU Fortran 95 (GCC) 4.2.0 20060701 (experimental)
Copyright (C) 2006 Free Software Foundation, Inc.
Please, what I am doing wrong in the 64-bit plataform case ?
Depending on your linux version, you may be able to download this file, e.g.
http://www.novell.com/products/linuxpackages/enterpriseserver/x86-64/gmp.html
As you can see on that page, it would normally be a symlink to a file of
the same name with subversion numbers appended.
I have had to build it from source, for several of my installations,
even one where a matching library file was available, but apparently
corrupted.