# \[SOLVED\] Cinder with arch

**URL:** <https://discourse.libcinder.org/t/solved-cinder-with-arch/887>\
**Category:** Using Cinder\
**Created:** [October 5, 2017, 9:22am UTC](https://discourse.libcinder.org/t/solved-cinder-with-arch/887 "2017-10-05T09:22:38Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![petros](https://yyz2.discourse-cdn.com/flex030/user_avatar/discourse.libcinder.org/petros/32/26_2.png) [@petros](https://discourse.libcinder.org/u/petros)\
**Post date:** [October 5, 2017, 11:25am UTC](https://discourse.libcinder.org/t/solved-cinder-with-arch/887/2 "2017-10-05T11:25:22Z")

</div>

Hey,

Have you compiled Cinder as a shared lib ( i.e `cmake .. -DBUILD_SHARED_LIBS=1` ) by any chance? This error will pop usually when trying to build Cinder as a shared lib on Linux where the boost precompiled libs that ship with Cinder should be re-compiled with the `-fPIC` flag.

In any case I would suggest to try and install a system wide version of `boost-system` and `boost-filesystem` with pacman, completely remove the boost submodule that comes with Cinder and is located under the include dir and then reconfigure and build Cinder with `cmake .. -DCINDER_BOOST_USE_SYSTEM=1 && make`.

HTH,  
Petros

---

_[View the full topic](https://discourse.libcinder.org/t/solved-cinder-with-arch/887)._
