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]

4.5 stripped static build 32 bit: a dynamic link trouble


Hi again,

I have a dynamic link trouble with the experimental 4.5 release (stripped static build) for 32-bit processors (i686). From:

http://gcc.gnu.org/wiki/GFortranBinaries#GAnchor.28GNU.2BAC8-Linux.29

I tried to install the package:

http://quatramaran.ens.fr/~coudert/gfortran/gfortran-4.5-linux-i686.tar.gz

following http://gcc.gnu.org/wiki/GFortranBinaries64Linux link (Installation instructions). Then,

$ cat hellow.f90
program test
  implicit none
  print " hellow world "
end program

$ which gfortran
/usr/local/gfortran/bin/gfortran

$ gfortran --version
GNU Fortran (GCC) 4.6.0 20100406 (experimental) [trunk revision 158023]
Copyright (C) 2010 Free Software Foundation, Inc.

$ echo "LD_LIBRARY_PATH = $LD_LIBRARY_PATH"
LD_LIBRARY_PATH = /usr/local/gfortran/lib:/lib:/usr/lib:/usr/local/lib

However,

$ gfortran -o hellow.exe hellow.f90
/usr/local/gfortran/libexec/gcc/i686-pc-linux-gnu/4.6.0/f951: error while loading shared libraries: libmpc.so.2: cannot open shared object file: No such file or directory


where:

# cat /proc/version
Linux version 2.6.27.41-170.2.117.fc10.i686 (mockbuild@x86-1.fedora.phx.redhat.com) (gcc version 4.3.2 20081105 (Red Hat 4.3.2-7) (GCC) ) #1 SMP Thu Dec 10 11:00:29 EST 2009


# find . -name "libmpc*"
./usr/lib/libmpcdec.so.5.0.2
./usr/lib/libmpcdec.so.5
./usr/share/doc/libmpcdec-1.2.6

# find . -name "libmpc.*"
# <nothing found>

# yum install mpc
Loaded plugins: refresh-packagekit
Setting up Install Process
Package mpc-0.16-1.fc10.i386 already installed and latest version

# yum install mpfr
Loaded plugins: refresh-packagekit
Setting up Install Process
Package mpfr-2.3.2-1.fc10.i386 already installed and latest version
Nothing to do

# yum install gmp
Loaded plugins: refresh-packagekit
Setting up Install Process
Package gmp-4.2.2-8.fc10.i386 already installed and latest version
Nothing to do



Please, how can fix this problem?

Regards,
Jorge.
--

----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.


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