Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

[solved] debian buster: libgfortran.so.3

Linux Kernel, Network, and Services configuration.
Post Reply
Message
Author
maxbre
Posts: 76
Joined: 2014-11-08 16:44

[solved] debian buster: libgfortran.so.3

#1 Post by maxbre »

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.

LE_746F6D617A7A69
Posts: 932
Joined: 2020-05-03 14:16
Has thanked: 7 times
Been thanked: 65 times

Re: debian buster: libgfortran.so.3

#2 Post by LE_746F6D617A7A69 »

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

maxbre
Posts: 76
Joined: 2014-11-08 16:44

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

#3 Post by maxbre »

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 :?

Post Reply