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:
@wlzr did you manage to resolve this by now? If yes, how?
My first guess would be that you installed a Debian package that was not made for your system. This package was built for Ubuntu 20.04 Focal Fossa. Is this what you are using?
Thank you for your reply. I have already resolved the issue. My system is Ubuntu 20.04, but I gave up on the precompiled adapter and compiled it locally instead.
Oh, I see… Building the CalculiX adapter from source should anyway not be too complicated or long, I have done it many times on many different systems.
In the next release of the CalculiX adapter, we will anyway generate and test new packages. Maybe something important has changed in the dependencies that Ubuntu 20.04 provides (although that would be unusual).