Libyaml-cpp.so.0.7: cannot open shared object file: No such file or directory

Hello! I followed the precice official website tutorial, using Ubuntu20.04, installed precice, openfoam, calculix and adapter. The calculation example for “quickstart” runs successfully. But when I run another calculation, using calculix, I got an error:
ccx_preCICE: error while loading shared libraries: libyaml-cpp.so.0.7: cannot open shared object file: No such file or directory
I found that the version of yaml seems to be 0.6.2. The location of libyaml-cpp.so.0.0.2 is /usr/lib/x86_64-linux-gnu.
What is the reason? Thank you!

Hi there,

This suggests that you may have accidentally installed the Debian package for Ubuntu 22.04 (Jammy) instead of 20.04 (Focal). Ubuntu 22.04 ships with libyaml at the version 0.7.

Could you please retry with the package calculix-precice2_2.20.0-1_amd64_focal.deb?

Thank you! This suggestion successfully solved my problem.

1 Like

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.