# Undefined symbols while builidng OpenFoam adapter

**URL:** <https://precice.discourse.group/t/undefined-symbols-while-builidng-openfoam-adapter/801>\
**Category:** Official adapters and tutorials\
**Tags:** openfoam\
**Created:** [November 20, 2021, 4:48pm UTC](https://precice.discourse.group/t/undefined-symbols-while-builidng-openfoam-adapter/801 "2021-11-20T16:48:21Z")\
**Posts on this page:** 1\
**Showing post:** 6

<div class="post-metadata">

**Author:** ![ajaust](https://yyz2.discourse-cdn.com/free1/user_avatar/precice.discourse.group/ajaust/32/160_2.png) [@ajaust](https://precice.discourse.group/u/ajaust)\
**Post date:** [November 25, 2021, 2:21pm UTC](https://precice.discourse.group/t/undefined-symbols-while-builidng-openfoam-adapter/801/6 "2021-11-25T14:21:59Z")

</div>

This sounds a bit mysterious. What is the output of

```bash
nm -D /home/hgcastro/precice/lib64/libprecice.so | grep precice15SolverInterface

```

This will you a longer cryptic output looking similar to this (but more output):

```bash
000000000036e830 T _ZN7precice15SolverInterface10initializeEv
000000000036e9f0 T _ZN7precice15SolverInterface11setMeshEdgeEiii
000000000036ea20 T _ZN7precice15SolverInterface11setMeshQuadEiiiii
000000000036ea40 T _ZN7precice15SolverInterface13mapReadDataToEi
000000000036e9a0 T _ZN7precice15SolverInterface13setMeshVertexEiPKd
000000000036e840 T _ZN7precice15SolverInterface14initializeDataEv
000000000036ea00 T _ZN7precice15SolverInterface15setMeshTriangleEiiii
000000000036e9c0 T _ZN7precice15SolverInterface15setMeshVerticesEiiPKdPi
000000000036ea90 T _ZN7precice15SolverInterface15writeScalarDataEiid
000000000036ea70 T _ZN7precice15SolverInterface15writeVectorDataEiiPKd
000000000036ea50 T _ZN7precice15SolverInterface16mapWriteDataFromEi
000000000036e8d0 T _ZN7precice15SolverInterface19markActionFulfilledERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE
000000000036ea30 T _ZN7precice15SolverInterface20setMeshQuadWithEdgesEiiiii
000000000036ea80 T _ZN7precice15SolverInterface20writeBlockScalarDataEiiPKiPKd
000000000036ea60 T _ZN7precice15SolverInterface20writeBlockVectorDataEiiPKiPKd
000000000036ea10 T _ZN7precice15SolverInterface24setMeshTriangleWithEdgesEiiii
000000000036e850 T _ZN7precice15SolverInterface7advanceEd
000000000036e860 T _ZN7precice15SolverInterface8finalizeEv

```

It would be interesting to see whether the missing symbol `_ZN7precice15SolverInterfaceC1ERKSsS2_ii` (as mentionde in the `ldd.log`) is indeed missing.

Currently, my best guess would be that the compilers are still somehow mixed up as [in this older forum post](https://precice.discourse.group/t/continuing-openfoam-adapter-installation-issue/443).

---

_[View the full topic](https://precice.discourse.group/t/undefined-symbols-while-builidng-openfoam-adapter/801)._
