# List of Juce dependencies under linux

**URL:** <https://forum.juce.com/t/list-of-juce-dependencies-under-linux/15121>\
**Category:** Linux\
**Created:** [January 17, 2011, 7:59am UTC](https://forum.juce.com/t/list-of-juce-dependencies-under-linux/15121 "2011-01-17T07:59:19Z")\
**Posts on this page:** 20\
**Page:** 3

<div class="post-metadata">

**Author:** ![ed95](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/ed95/32/7635_2.png) [@ed95](https://forum.juce.com/u/ed95)\
**Post date:** [August 7, 2019, 1:05pm UTC](https://forum.juce.com/t/list-of-juce-dependencies-under-linux/15121/41 "2019-08-07T13:05:34Z")

</div>

You need to set the backend to X11 instead of Wayland which is now the default, you can do this by typing `export GDK_BACKEND=x11` or just `GDK_BACKEND=x11 Projucer`.

---

<div class="post-metadata">

**Author:** ![dub-2](https://avatars.discourse-cdn.com/v4/letter/d/cc9497/32.png) [@dub-2](https://forum.juce.com/u/dub-2)\
**Post date:** [April 9, 2020, 4:59am UTC](https://forum.juce.com/t/list-of-juce-dependencies-under-linux/15121/42 "2020-04-09T04:59:09Z")

</div>

Seems I have to add Library options -lrt -lm -latomic to build on Raspbian (Buster) these days

---

<div class="post-metadata">

**Author:** ![eyalamir](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/eyalamir/32/2978_2.png) [@eyalamir](https://forum.juce.com/u/eyalamir)\
**Post date:** [April 19, 2020, 3:38pm UTC](https://forum.juce.com/t/list-of-juce-dependencies-under-linux/15121/43 "2020-04-19T15:38:58Z")

</div>

Can anyone please add an updated list (or a few) that are known to work on some distros (say, Ubuntu?)? I’m having a hard time navigating between different versions suggested at multiple places.

---

<div class="post-metadata">

**Author:** ![mcmartin](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/mcmartin/32/7432_2.png) [@mcmartin](https://forum.juce.com/u/mcmartin)\
**Post date:** [April 20, 2020, 8:15pm UTC](https://forum.juce.com/t/list-of-juce-dependencies-under-linux/15121/44 "2020-04-20T20:15:59Z")

</div>

On Ubuntu 16.04 and Ubuntu 18.04, for JUCE 5.4.7:

```auto
+-----------------------------+---------------------------------------------------------+
| JUCE module | Packages |
+-----------------------------+---------------------------------------------------------+
| juce_audio_devices | libasound2-dev |
+-----------------------------+---------------------------------------------------------+
| juce_core | libcurl4-openssl-dev |
| (unless JUCE_USE_CURL=0) | |
+-----------------------------+---------------------------------------------------------+
| juce_graphics | libx11-dev libxinerama-dev libxext-dev libfreetype6-dev |
+-----------------------------+---------------------------------------------------------+
| juce_gui_extra | libwebkit2gtk-4.0-dev |
| (unless JUCE_WEB_BROWSER=0) | |
+-----------------------------+---------------------------------------------------------+
| juce_opengl | libglu1-mesa-dev |
+-----------------------------+---------------------------------------------------------+

```

The complete command:

```auto
sudo apt install libasound2-dev libcurl4-openssl-dev libx11-dev libxinerama-dev libxext-dev libfreetype6-dev libwebkit2gtk-4.0-dev libglu1-mesa-dev

```

I hope this helps!

---

<div class="post-metadata">

**Author:** ![eyalamir](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/eyalamir/32/2978_2.png) [@eyalamir](https://forum.juce.com/u/eyalamir)\
**Post date:** [April 23, 2020, 7:58am UTC](https://forum.juce.com/t/list-of-juce-dependencies-under-linux/15121/45 "2020-04-23T07:58:49Z")

</div>

Thank you @McMartin, this is extremely useful!

Seems like at least in JUCE 6/CMake, to build plugins you also must have ladspa-sdk, even if you’re only building VST3/Standalone.

---

<div class="post-metadata">

**Author:** ![dunash](https://avatars.discourse-cdn.com/v4/letter/d/51bf81/32.png) [@dunash](https://forum.juce.com/u/dunash)\
**Post date:** [May 17, 2020, 10:42am UTC](https://forum.juce.com/t/list-of-juce-dependencies-under-linux/15121/46 "2020-05-17T10:42:54Z")

</div>

Hi everybody! Concerning ladspa, how can I add it? Because i’ve tried to download it and installed in usr/lib but CLion couldn’t find it. After that i’ve simply added ladspa.h to the same folder where the it’s included in juce\_LANDSPAPluginFormat.cpp. Now i’ve got mistake:  
`/JUCE/extras/AudioPluginHost/Builds/CLion/../../../../modules/juce_core/native/juce_curl_Network.cpp:55: undefined reference to c url_easy_init`  
//…  
collect2: error: ld returned 1 exit status  
CMakeFiles/APP.dir/build.make:387: recipe for target ‘AudioPluginHost’ failed  
make[3]: \*\*\* [AudioPluginHost] Error 1  
CMakeFiles/Makefile2:75: recipe for target ‘CMakeFiles/APP.dir/all’ failed  
make[2]: \*\*\* [CMakeFiles/APP.dir/all] Error 2  
CMakeFiles/Makefile2:82: recipe for target ‘CMakeFiles/APP.dir/rule’ failed  
make[1]: \*\*\* [CMakeFiles/APP.dir/rule] Error 2  
Makefile:118: recipe for target ‘APP’ failed  
make: \*\*\* [APP] Error 2

and a bunch of others “undefined reference”. Maybe it’s a trivial problem, but i’m new in coding. Appreciate any help

---

<div class="post-metadata">

**Author:** ![samuel](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/samuel/32/21_2.png) [@samuel](https://forum.juce.com/u/samuel)\
**Post date:** [May 17, 2020, 3:57pm UTC](https://forum.juce.com/t/list-of-juce-dependencies-under-linux/15121/47 "2020-05-17T15:57:43Z")

</div>

Under Ubuntu

```auto
sudo apt install ladspa-sdk

```

does the trick for me (and for others, see the very first post in this thread).

---

<div class="post-metadata">

**Author:** ![dunash](https://avatars.discourse-cdn.com/v4/letter/d/51bf81/32.png) [@dunash](https://forum.juce.com/u/dunash)\
**Post date:** [May 18, 2020, 7:06am UTC](https://forum.juce.com/t/list-of-juce-dependencies-under-linux/15121/48 "2020-05-18T07:06:48Z")

</div>

Yeah, but how can i manage undefined references

---

<div class="post-metadata">

**Author:** ![reuk](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/reuk/32/21494_2.png) [@reuk](https://forum.juce.com/u/reuk)\
**Post date:** [May 18, 2020, 9:16am UTC](https://forum.juce.com/t/list-of-juce-dependencies-under-linux/15121/49 "2020-05-18T09:16:44Z")

</div>

It looks like the linker is failing to find the symbols for the `curl` library. Make sure you have a curl development library installed (`sudo apt install libcurl4-openssl-dev`).

---

<div class="post-metadata">

**Author:** ![dunash](https://avatars.discourse-cdn.com/v4/letter/d/51bf81/32.png) [@dunash](https://forum.juce.com/u/dunash)\
**Post date:** [May 18, 2020, 9:40am UTC](https://forum.juce.com/t/list-of-juce-dependencies-under-linux/15121/50 "2020-05-18T09:40:30Z")

</div>

I do have this library

---

<div class="post-metadata">

**Author:** ![eyalamir](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/eyalamir/32/2978_2.png) [@eyalamir](https://forum.juce.com/u/eyalamir)\
**Post date:** [November 27, 2020, 7:43pm UTC](https://forum.juce.com/t/list-of-juce-dependencies-under-linux/15121/51 "2020-11-27T19:43:46Z")

</div>

I’m going back to this post every once in a while, and I always have to search for a few different comments to find all the missing dependencies.

Is it possible to pin a post with a single command that contains all of them?

---

<div class="post-metadata">

**Author:** ![mcmartin](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/mcmartin/32/7432_2.png) [@mcmartin](https://forum.juce.com/u/mcmartin)\
**Post date:** [November 27, 2020, 10:37pm UTC](https://forum.juce.com/t/list-of-juce-dependencies-under-linux/15121/52 "2020-11-27T22:37:26Z")

</div>

@eyalamir doesn’t [List of Juce dependencies under linux](https://forum.juce.com/t/list-of-juce-dependencies-under-linux/15121/44) cover everything?

---

<div class="post-metadata">

**Author:** ![eyalamir](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/eyalamir/32/2978_2.png) [@eyalamir](https://forum.juce.com/u/eyalamir)\
**Post date:** [November 27, 2020, 10:46pm UTC](https://forum.juce.com/t/list-of-juce-dependencies-under-linux/15121/53 "2020-11-27T22:46:00Z")

</div>

@McMartin Almost. 🙂

It’s missing ladspa-sdk that’s needed for all plugin formats, and IIRC one other dependency I had to add.

---

<div class="post-metadata">

**Author:** ![eyalamir](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/eyalamir/32/2978_2.png) [@eyalamir](https://forum.juce.com/u/eyalamir)\
**Post date:** [November 27, 2020, 10:47pm UTC](https://forum.juce.com/t/list-of-juce-dependencies-under-linux/15121/54 "2020-11-27T22:47:39Z")

</div>

Anyway, my point was to have one pinned post so that one won’t have to search the whole thread to find it every time…

---

<div class="post-metadata">

**Author:** ![mcmartin](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/mcmartin/32/7432_2.png) [@mcmartin](https://forum.juce.com/u/mcmartin)\
**Post date:** [November 27, 2020, 10:49pm UTC](https://forum.juce.com/t/list-of-juce-dependencies-under-linux/15121/55 "2020-11-27T22:49:47Z")

</div>

AFAICS, `ladspa-sdk` is only needed if you enable `JUCE_PLUGINHOST_LADSPA` (which AudioPluginHost indeed does).

What is that other dependency? I would be happy to edit my comment or make a new one with updated information.

---

<div class="post-metadata">

**Author:** ![eyalamir](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/eyalamir/32/2978_2.png) [@eyalamir](https://forum.juce.com/u/eyalamir)\
**Post date:** [November 27, 2020, 11:05pm UTC](https://forum.juce.com/t/list-of-juce-dependencies-under-linux/15121/56 "2020-11-27T23:05:53Z")

</div>

I just updated my JUCE version and seems like the ladspa-sdk dependency was removed from the VST targets. Can we please have a pinned version of your comment then that isn’t buried deep within a thread? 🙂

---

<div class="post-metadata">

**Author:** ![connorreviere](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/connorreviere/32/4890_2.png) [@connorreviere](https://forum.juce.com/u/connorreviere)\
**Post date:** [November 30, 2020, 8:35pm UTC](https://forum.juce.com/t/list-of-juce-dependencies-under-linux/15121/57 "2020-11-30T20:35:01Z")

</div>

Agreed. It’d be nice to have it documented somewhere in the repo, too. Could be a separate markdown file in the docs folder or similar.

---

<div class="post-metadata">

**Author:** ![ed95](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/ed95/32/7635_2.png) [@ed95](https://forum.juce.com/u/ed95)\
**Post date:** [December 1, 2020, 7:39pm UTC](https://forum.juce.com/t/list-of-juce-dependencies-under-linux/15121/58 "2020-12-01T19:39:12Z")

</div>

> <https://github.com/juce-framework/JUCE/commit/b297df8dd2b574206e0706134c5ff2a0803b2f5d>

---

<div class="post-metadata">

**Author:** ![PluginPenguin](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/pluginpenguin/32/10203_2.png) [@PluginPenguin](https://forum.juce.com/u/PluginPenguin)\
**Post date:** [December 1, 2020, 10:00pm UTC](https://forum.juce.com/t/list-of-juce-dependencies-under-linux/15121/59 "2020-12-01T22:00:59Z")

</div>

Great addition. Just a quick heads-up, the link from the main readme to the linux dependency document does not render correctly on GitHub, see this screenshot

 ![image](https://us1.discourse-cdn.com/flex026/uploads/juce/original/2X/2/2e11d6e96bc8fccb1b04a76c3b579cce4a24bf4a.png)

By the way, I’m seeing the same under the CMake section

 ![image](https://us1.discourse-cdn.com/flex026/uploads/juce/original/2X/6/6e98c2ae90f739aef7f0a86d1631a3f3e8ed4b40.png)

---

<div class="post-metadata">

**Author:** ![ed95](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/ed95/32/7635_2.png) [@ed95](https://forum.juce.com/u/ed95)\
**Post date:** [December 2, 2020, 11:06am UTC](https://forum.juce.com/t/list-of-juce-dependencies-under-linux/15121/60 "2020-12-02T11:06:05Z")

</div>

Thanks for the heads up - looks like GitHub uses a different markdown renderer to GitLab where I’d tested it previously. It seems like the most supported way to do inline links to files with spaces in is to use percent encoding and replace the spaces with `%20` so I’ve pushed that change to `develop` and it should be fixed shortly.

[Previous page](https://forum.juce.com/t/list-of-juce-dependencies-under-linux/15121.md?page=2)

[Next page](https://forum.juce.com/t/list-of-juce-dependencies-under-linux/15121.md?page=4)
