# C# wrapper on Linux machines

**URL:** <https://qa.fmod.com/t/c-wrapper-on-linux-machines/17106>\
**Category:** FMOD Engine\
**Tags:** linux\
**Created:** [April 24, 2021, 5:31pm UTC](https://qa.fmod.com/t/c-wrapper-on-linux-machines/17106 "2021-04-24T17:31:44Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![enf3rno](https://avatars.discourse-cdn.com/v4/letter/e/bc8723/32.png) [@enf3rno](https://qa.fmod.com/u/enf3rno)\
**Post date:** [April 24, 2021, 5:31pm UTC](https://qa.fmod.com/t/c-wrapper-on-linux-machines/17106/1 "2021-04-24T17:31:44Z")

</div>

Hello!

I’m working on a C# project to build for Windows and Linux. It builds and runs fine on Windows using the included fmod.cs files and plays music in the program successfully. When I run the built program on a Linux machine, it fails on creating the Studio system(FMOD\_Studio\_System\_Create()) with this error:  
System.DllNotFoundException: Unable to load shared library ‘fmodstudio’ or one of its dependencies.

I’ve copied the .so files from core and studio to the systems /usr/local/lib and /usr/lib and still seeing that. Does the C# wrapper only work for Windows machines? I noticed that there was no .cs files in the linux api download.

---

<div class="post-metadata">

**Author:** ![cameron-fmod](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/cameron-fmod/32/261_2.png) [@cameron-fmod](https://qa.fmod.com/u/cameron-fmod)\
**Post date:** [May 3, 2021, 5:32am UTC](https://qa.fmod.com/t/c-wrapper-on-linux-machines/17106/2 "2021-05-03T05:32:28Z")

</div>

Apologies for the delay, what version of FMOD are you using?

---

<div class="post-metadata">

**Author:** ![enf3rno](https://avatars.discourse-cdn.com/v4/letter/e/bc8723/32.png) [@enf3rno](https://qa.fmod.com/u/enf3rno)\
**Post date:** [May 11, 2021, 8:49pm UTC](https://qa.fmod.com/t/c-wrapper-on-linux-machines/17106/3 "2021-05-11T20:49:23Z")

</div>

Hey Cameron. No worries, thanks for responding. I had switched over to WIndows for development for the time. I’d like to go back to using my Linux box though. I was using the 2.01.09 on Ubuntu 18.04. I guess at this point the real question for me is just if the c# wrapper (the provided .cs files in the windows install) should work on linux machines or not =].

If so, I can probably spend some time troubleshooting my setup, I just didn’t want to go down that rabbit hole if it is not supported.

---

<div class="post-metadata">

**Author:** ![cameron-fmod](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/cameron-fmod/32/261_2.png) [@cameron-fmod](https://qa.fmod.com/u/cameron-fmod)\
**Post date:** [May 13, 2021, 12:57am UTC](https://qa.fmod.com/t/c-wrapper-on-linux-machines/17106/4 "2021-05-13T00:57:09Z")

</div>

The C# wrapper included in the windows installer should work fine outside of windows, there was a time in the past that it wouldn’t and this is why it is not included in the other installers. I have created a task to add the wrapper to the other installers in a future release.
