GFORTRAN library problem: libgFORTRAN.so.1 cannot open....


 
Thread Tools Search this Thread
Top Forums Programming GFORTRAN library problem: libgFORTRAN.so.1 cannot open....
# 1  
Old 04-04-2013
GFORTRAN library problem: libgFORTRAN.so.1 cannot open....

I've received some executable script for test, but executing this script continuously give me following message

Code:
./example: error while loading shared libraries: libgfortran.so.1: cannot open shared object file: No such file or directory

Google search told me to do as following
Code:
     $ LD_LIBRARY_PATH=/usr/local/lib      $ export LD_LIBRARY_PATH      $ ./example

But it doesn't work for me. I couldn't find where gfortran libraries are installed, too.
My machine us Ubuntu 11.04, so gfortran is already installed. Of course there was no problem for compiling and execution of other .f file using my machine. Only this script fails to run.

Because of other matter, I can't have the compilable file. Only executable is given. He told me it should work for Ubuntu 11.04.

How can solve this matter? Please help me. Thank you
# 2  
Old 04-09-2013
Well, usually you can use 'find' to find missing files, or you can download and install them in their native packsge. And of course add them to LD_LIBRARY_PATH!
Login or Register to Ask a Question

Previous Thread | Next Thread

6 More Discussions You Might Find Interesting

1. Programming

problem compiling with gfortran in two different debian releases

Hello, I hope this is the correct forum for this post. I have the following problem: A Fortran 77 program that has to deal with several large matrices (each approx. 5000 x 5000) and uses lapack and blas subroutines has been correctly compiled and executed using Debian Etch. When I tried... (1 Reply)
Discussion started by: currix
1 Replies

2. Linux

./configure problem for libsf library due to apparently missing libdb library.

Hello, ./configure script fails to configure libsf. Please check the following last few lines of configure script error. checking for db1/db.h... no checking for db.h... yes checking for dbopen in -ldb1... no configure: error: No libdb? No libsf. But find command shows the following; ... (4 Replies)
Discussion started by: vectrum
4 Replies

3. Programming

Compilation problem with gfortran

Hello everyone, I'm trying since a few days to compile a f90 program with gfortran (on Ubuntu) with a makefile. The fortran program calls 2 routines written in C. Here is my makefile: FC = gfortran SFC = gfortran FFLAGS = -ffree-form -O... (21 Replies)
Discussion started by: leroygr
21 Replies

4. HP-UX

Can't open shared library problem

I am getting following error when I am trying access PMCMD utility /usr/lib/dld.sl: Can't open shared library: /home/build3p/PMReleases/Zeus/HP-UX/xml/xerces2_4_0-icu2_6_1_811/lib/libxerces-c.sl.24 /usr/lib/dld.sl: No such file or directory Please help me with this (0 Replies)
Discussion started by: imran_affu
0 Replies

5. Programming

gfortran compiling problem,calling too many arguments

Hello, My problem is with compiling a program modelling shallow water. In it there is a subroutine called stat with 9 parameters. In the main program it is called with 9 parameters also I'm running Ubuntu 11.04 with gfortran version 4.5. Thanks. ---------- Post updated at 11:57 PM... (0 Replies)
Discussion started by: b_franz
0 Replies

6. Shell Programming and Scripting

Crontab failure.Can't open shared library

Plz advise on the following error for a crontab job i have scheduled for running a script /usr/lib/dld.sl: Can't open shared library: /home/build3p/PMReleases/Symphony711/HP-UX/rw/710/lib/libtls4d.sl /usr/lib/dld.sl: No such file or directory /ushhquest/data001/Scripts/Inform/Build_Data.sh:... (0 Replies)
Discussion started by: reader_regular
0 Replies
Login or Register to Ask a Question