Hi, everyone.
Today I plan to upgrade preCICE to version 3.0. I reinstalled calculix2.20, but after the installation, the following error message appeared when I use the ‘ccx_preCICE’ test :
ccx_preCICE: error while loading shared libraries: libyaml-cpp.so.0.7: cannot open shared object file: No such file or directory
I understand that you are installing the CalculiX adapter Debian package for Ubuntu 20.04 (focal) on Ubuntu 22.04 (jammy). Is that correct? This would explain the dependencies mix-up you are getting.
In fact I installed the CalculiX adapter Debian packageon on Ubuntu 20.04 (focal). But for some reason I don’t know, the yaml0.7.0 is required. This is why I did the above two steps post 2.
My guess is that there are somehow two versions of yaml-cpp on that system, and there is a version mix-up. I would try removing 0.7 anyway and stick to the default 0.6. (yes, I know you installed 0.7 afterwards, but let’s reset to the default state first).
What happens if you run which ccx_preCICE and then ldd /path/to/ccx_preCICE (where /path/to/ccx_preCICE is what the first command gives you)?
P.S.: If everything else fails, you can always build the CalculiX adapter from source very easily, but this is interesting for us to debug and document.
hi,@Makis,
I encountered the same problem. I used ‘sudo apt install ./calculix-precice3_2.20.1-2_amd64_focal.deb’ to install it, but my ccx_preCICE is not working properly.
I followed the steps in your previous reply and it is shown in the following figure: