# CCX 2.20 not work on my Xubuntu 22.04 installation

**URL:** <https://calculix.discourse.group/t/ccx-2-20-not-work-on-my-xubuntu-22-04-installation/1572>\
**Category:** Uncategorized\
**Created:** [April 2, 2023, 9:02pm UTC](https://calculix.discourse.group/t/ccx-2-20-not-work-on-my-xubuntu-22-04-installation/1572 "2023-04-02T21:02:56Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Fabrice](https://avatars.discourse-cdn.com/v4/letter/f/5fc32e/32.png) [@Fabrice](https://calculix.discourse.group/u/Fabrice)\
**Post date:** [April 2, 2023, 9:02pm UTC](https://calculix.discourse.group/t/ccx-2-20-not-work-on-my-xubuntu-22-04-installation/1572/1 "2023-04-02T21:02:56Z")

</div>

Hi,

Until last year, I was able to run CCX programs provided by Guido Dhondt with Xubuntu 18.04 and 20.4. For 22.04, I cannot make it run since a Fortran library is missing: `libgfortran.so.4`.

I cannot find in Ubuntu repository the proper package for this library. I try to install `fort77` and `gfortran` packages hoping that this library would be provided along but I have still the same issue.

Does someone have this issue on Ubuntu ?

---

<div class="post-metadata">

**Author:** ![teeps](https://avatars.discourse-cdn.com/v4/letter/t/58f4c7/32.png) [@teeps](https://calculix.discourse.group/u/teeps)\
**Post date:** [April 2, 2023, 10:32pm UTC](https://calculix.discourse.group/t/ccx-2-20-not-work-on-my-xubuntu-22-04-installation/1572/2 "2023-04-02T22:32:51Z")

</div>

The required package is “libgfortran4”. It may be possible to install even if not part of the standard setup.

---

<div class="post-metadata">

**Author:** ![Fabrice](https://avatars.discourse-cdn.com/v4/letter/f/5fc32e/32.png) [@Fabrice](https://calculix.discourse.group/u/Fabrice)\
**Post date:** [April 3, 2023, 7:29pm UTC](https://calculix.discourse.group/t/ccx-2-20-not-work-on-my-xubuntu-22-04-installation/1572/3 "2023-04-03T19:29:50Z")

</div>

I found a package for a previous version of Ubuntu (focal) at [UbuntuUpdates - Package "libgfortran4" (focal 20.04)](https://www.ubuntuupdates.org/package/core/focal/universe/base/libgfortran4) → `libgfortran4_7.5.0-6ubuntu2_amd64.deb`  
But I cannot install the package with `dpkg`: it seems it is not a debian archive…

---

<div class="post-metadata">

**Author:** ![jlucas](https://avatars.discourse-cdn.com/v4/letter/j/b4bc9f/32.png) [@jlucas](https://calculix.discourse.group/u/jlucas)\
**Post date:** [April 4, 2023, 12:57pm UTC](https://calculix.discourse.group/t/ccx-2-20-not-work-on-my-xubuntu-22-04-installation/1572/4 "2023-04-04T12:57:12Z")

</div>

Hello,  
You can always compile the program. Ive already posted a makefile and instructions which would probably work (this is with spooles only…)

> [@Compilation error with gfortran10](https://calculix.discourse.group/t/compilation-error-with-gfortran10/1048):
>
> Hello, Just a quick note to say that I found compilation errors while compiling with gfortran10 (which is probably standard on newer linux distributions as in debian11). To solve these errors the “-fallow-argument-mismatch” flag needs to be included. I share my makefile which links ccx\_v2.19 with system libraries. So on debian based distributions (ubuntu,etc), these libraries are installed by: $ sudo apt install libspooles-dev libarpack2-dev liblapack-dev libblas-dev ##### MAKEFILE\_MT ###…

---

<div class="post-metadata">

**Author:** ![Fabrice](https://avatars.discourse-cdn.com/v4/letter/f/5fc32e/32.png) [@Fabrice](https://calculix.discourse.group/u/Fabrice)\
**Post date:** [April 4, 2023, 7:22pm UTC](https://calculix.discourse.group/t/ccx-2-20-not-work-on-my-xubuntu-22-04-installation/1572/5 "2023-04-04T19:22:32Z")

</div>

thank you @jlucas, but I am not comfortable with compiling CCX. I will keep it as a last resort.

I found an old CCX 2.17 in Ubuntu repo and installed it. It does not solve the library issue for CCX 2.20 but it does run without error. A mystery to me…
