Installation on Ubuntu 20.04

Hello everybody,
I would like to install FreeFem onto Ubuntu 20.04 (LTS).

I downloaded the .deb file from the “Download” section of the official website. However, when I run the command FreeFem++ in my terminal, I am prompted the following error message:

FreeFem++: error while loading shared libraries: libhdf5_serial.so.100: cannot open shared object file: No such file or directory

I searched for a solution on the internet and I found this link where a similar issue is addressed.

Could you please help me solve?

Thanks :slight_smile:

This will be fixed in the next release where we have explicitly removed the HDF5 dependency.
In the meantime, either recompile the develop branch, or try to do as in the link that you used (find an HDF5 shared object and link it appropriately).

Thank you for the clarification.
I have found the following solution, that does not require the installation from source.

These are the commands I executed to fix.

cd /usr/lib

sudo ln -srv ./x86_64-linux-gnu/libhdf5_serial.so.103  libhdf5_serial.so.100

Thank you very much again! :slight_smile: