[solved] debian buster: libgfortran.so.3

Kernels & Hardware, configuring network, installing services

[solved] debian buster: libgfortran.so.3

Postby maxbre » 2020-07-24 12:04

does anyone can help me installing the missing library libgfortran.so.3

when I'm trying to run a fortran executable (namely, aermet.x) that was compiled under a previous machine I've got the following error message:
Code: Select all
./aermet.x: error while loading shared libraries: libgfortran.so.3: cannot open shared object file: No such file or directory


this is what I have done so far:
I've added a backport string to my /etc/apt/sources.list.d/buster-backports.list, like:
Code: Select all
deb http://deb.debian.org/debian buster-backports main contrib non-free


and then issued
Code: Select all
sudo apt-get -t buster-backports install libgfortran3


but got the following message
Code: Select all
E: Unable to locate package libgfortran3


apparently libgfortran.so.3 is no longer supported, any other way to deal with the problem?

thanks
Last edited by maxbre on 2020-07-24 14:32, edited 1 time in total.
maxbre
 
Posts: 71
Joined: 2014-11-08 16:44

Re: debian buster: libgfortran.so.3

Postby LE_746F6D617A7A69 » 2020-07-24 13:05

maxbre wrote:apparently libgfortran.so.3 is no longer supported, any other way to deal with the problem?

1. Best option: Recompile the program against new version of the library.
2. If You don't have the sources:
- download the libgfortran3 package from stretch (for Your architecture, ofc)
- unpack the package and copy the libgfortran.so.3.0.0 to /usr/local/lib,
- then run:
Code: Select all
sudo ldconfig
Bill Gates: "(...) In my case, I went to the garbage cans at the Computer Science Center and I fished out listings of their operating system."
The_full_story and Nothing_have_changed
LE_746F6D617A7A69
 
Posts: 280
Joined: 2020-05-03 14:16

[solved] Re: debian buster: libgfortran.so.3

Postby maxbre » 2020-07-24 14:09

option 1 :(
I already did that but the recompilation of the source did not work for me, for some unknown reasons (apparently, I can't set up a viable makefile - it's the very same one that I've been using to built the source within the previous environment - stretch)

option 2 :D
it worked well (it seems to me up to now)

thank you so much for the help

best

ps still wondering why option 1 did not work :?
maxbre
 
Posts: 71
Joined: 2014-11-08 16:44


Return to System configuration

Who is online

Users browsing this forum: No registered users and 6 guests

fashionable