Score:0

How to install libgfortran.so.4 on Xubuntu 22.04 LTS?

kr flag

Calculix Crunchix FEA program does not run due to a missing library. the excutable was downloaded at http://www.dhondt.de/. Note that it was running on Xubuntu 20.04 LTS.

The error is:

ccx_2.20: error while loading shared libraries: libgfortran.so.4: cannot open shared object file: No such file or directory

I search on internet and some recommend to install gfortran which I did, but the error is the same.

In which package is this library ?

hr flag
How did you obtain / install Calculix? AFAIK, Ubuntu 22.04 uses libgfortran.so.5 - so perhaps the software you are trying to use was built for a different version?
Fabrice avatar
kr flag
I edited the question to answer @steeldriver.
waltinator avatar
it flag
You can ask the packaging system which package (if any) provides `dpkg -S libgfortran.so.4`
Fabrice avatar
kr flag
@waltinator *dpkg-query* did not find no such package. Thanks.
I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.