# Building OpenFOAM adapter results (undefined symbols of dependencies)

**URL:** <https://precice.discourse.group/t/building-openfoam-adapter-results-undefined-symbols-of-dependencies/987>\
**Category:** Official adapters and tutorials\
**Tags:** openfoam\
**Created:** [March 1, 2022, 3:19pm UTC](https://precice.discourse.group/t/building-openfoam-adapter-results-undefined-symbols-of-dependencies/987 "2022-03-01T15:19:21Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![fatiha](https://avatars.discourse-cdn.com/v4/letter/f/bbe5ce/32.png) [@fatiha](https://precice.discourse.group/u/fatiha)\
**Post date:** [March 1, 2022, 3:19pm UTC](https://precice.discourse.group/t/building-openfoam-adapter-results-undefined-symbols-of-dependencies/987/1 "2022-03-01T15:19:21Z")

</div>

Hello everyone,  
i just installed OpenFOAM-v2112 / openfoam-adapter and preCICE but I found the following error:

```nohighlight
Everything looks fine in wmake.log.
=== ERROR: Building completed with linking problems: there were undefined symbols. ===
Possible causes:
- Is preCICE discoverable at runtime? Check the content of ADAPTER_PKG_CONFIG_LIBS above.
See wmake.log and ldd.log for more details.

```

i have ubuntu 20.04 and OpenFOAM 2112 with openfoam adapter v1812-v2112 newer  
can you help me please

[ldd.log](https://precice.discourse.group/uploads/short-url/tIJ5XePRRp2N4XWcFHkB4v0Pttw.log) (9.5 KB)  
[wmake.log](https://precice.discourse.group/uploads/short-url/357wF0TWdMO14ahk25jkGr02FOb.log) (37.2 KB)

---

<div class="post-metadata">

**Author:** ![Makis](https://yyz2.discourse-cdn.com/free1/user_avatar/precice.discourse.group/makis/32/25_2.png) [@Makis](https://precice.discourse.group/u/Makis)\
**Post date:** [March 2, 2022, 11:00am UTC](https://precice.discourse.group/t/building-openfoam-adapter-results-undefined-symbols-of-dependencies/987/2 "2022-03-02T11:00:38Z")

</div>

Looking at your `ldd.log`, these are the undefined symbols:

```nohighlight
undefined symbol: fftw_taint	(/lib/x86_64-linux-gnu/libfftw3_mpi.so.3)
undefined symbol: fftw_join_taint	(/lib/x86_64-linux-gnu/libfftw3_mpi.so.3)

```

This should be related to your system / OpenFOAM installation and looks identical to this topic: [Error while building openfoam-adapter for OpenFOAM-v1912 - #11 by steffenger](https://precice.discourse.group/t/error-while-building-openfoam-adapter-for-openfoam-v1912/794/11)

---

<div class="post-metadata">

**Author:** ![fatiha](https://avatars.discourse-cdn.com/v4/letter/f/bbe5ce/32.png) [@fatiha](https://precice.discourse.group/u/fatiha)\
**Post date:** [March 2, 2022, 8:16pm UTC](https://precice.discourse.group/t/building-openfoam-adapter-results-undefined-symbols-of-dependencies/987/3 "2022-03-02T20:16:44Z")

</div>

Thank you  
everything looks fine

---

<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:** [March 5, 2022, 8:17pm UTC](https://precice.discourse.group/t/building-openfoam-adapter-results-undefined-symbols-of-dependencies/987/4 "2022-03-05T20:17:00Z")

</div>

Closed on March 5, 2022, 8:17pm UTC

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