jdelia@intec.unl.edu.ar wrote:
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
This is unrelated to your main question, but you will eventually
want to change the above line to specify the format (* will work),
e.g.,
print *, "hello world"
$ 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
[...]
# yum install mpc
Loaded plugins: refresh-packagekit
Setting up Install Process
Package mpc-0.16-1.fc10.i386 already installed and latest version
I don't know the specifics for Fedora Core, but typically library
packages are named lib* on most Linux distributions. mpc is actually
a client program for music player daemon, so the package you want is
probably called libmpc or libmpc2. Hopefully the packaged version in
the repository will be new enough, otherwise you may have to find a
newer version or build it yourself (which opens an entirely new can of
worms).