This is the mail archive of the fortran@gcc.gnu.org mailing list for the GNU Fortran project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: 64-bit gfortran: troubles with the binaries distributions


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]