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

**URL:** <https://precice.discourse.group/t/libyaml-cpp-so-0-7-cannot-open-shared-object-file-no-such-file-or-directory/1525>\
**Category:** Installing preCICE\
**Tags:** adapters, calculix\
**Created:** [August 19, 2023, 11:31am UTC](https://precice.discourse.group/t/libyaml-cpp-so-0-7-cannot-open-shared-object-file-no-such-file-or-directory/1525 "2023-08-19T11:31:53Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Chambernan](https://avatars.discourse-cdn.com/v4/letter/c/82dd89/32.png) [@Chambernan](https://precice.discourse.group/u/Chambernan)\
**Post date:** [August 19, 2023, 11:31am UTC](https://precice.discourse.group/t/libyaml-cpp-so-0-7-cannot-open-shared-object-file-no-such-file-or-directory/1525/1 "2023-08-19T11:31:53Z")

</div>

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！

---

<div class="post-metadata">

**Author:** ![fsimonis](https://yyz2.discourse-cdn.com/free1/user_avatar/precice.discourse.group/fsimonis/32/6_2.png) [@fsimonis](https://precice.discourse.group/u/fsimonis)\
**Post date:** [August 25, 2023, 10:56am UTC](https://precice.discourse.group/t/libyaml-cpp-so-0-7-cannot-open-shared-object-file-no-such-file-or-directory/1525/2 "2023-08-25T10:56:26Z")

</div>

Hi there,

> [@Chambernan](#):
>
> ccx\_preCICE: error while loading shared libraries: libyaml-cpp.so.0.7: cannot open shared object file: No such file or directory

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`?

> **[Releases · precice/calculix-adapter](https://github.com/precice/calculix-adapter/releases)**
>
> preCICE-adapter for the CSM code CalculiX. Contribute to precice/calculix-adapter development by creating an account on GitHub.

---

<div class="post-metadata">

**Author:** ![Chambernan](https://avatars.discourse-cdn.com/v4/letter/c/82dd89/32.png) [@Chambernan](https://precice.discourse.group/u/Chambernan)\
**Post date:** [August 25, 2023, 11:27am UTC](https://precice.discourse.group/t/libyaml-cpp-so-0-7-cannot-open-shared-object-file-no-such-file-or-directory/1525/3 "2023-08-25T11:27:26Z")

</div>

Thank you! This suggestion successfully solved my problem.

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/free1/uploads/precice/original/1X/67d2a5fa6f80e597e2267ff17fa8c1673cd11caa.svg) [@system](https://precice.discourse.group/u/system)\
**Post date:** [August 28, 2023, 11:27am UTC](https://precice.discourse.group/t/libyaml-cpp-so-0-7-cannot-open-shared-object-file-no-such-file-or-directory/1525/4 "2023-08-28T11:27:38Z")

</div>

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