[SOLVED] Ardour and dynamic linkage

I can’t get Ardour on Linux to accept my plugin, it always get blacklisted:

[ERROR]: Could not open existing LXVST plugin: /usr/lib/x86_64-linux-gnu/libwebkit2gtk-4.0.so.37: undefined symbol: g_output_stream_write_all_async
[WARNING]: Cannot get LinuxVST information from '/usr/lib/vst/Odin2.so': load failed.

A little research showed that this is about Ardour and my plugin linking agains different versions of the same library. On a different machine I get a similar error with a different library.

So my questions are:

  • Do I need to statically link these libraries in order to ensure them working on all machines?
  • How do I statically link libraries within JUCE?

If you don’t need a web browser in your plugin, you can set JUCE_WEB_BROWSER to “Disabled” in Projucer (in the settings of the juce_gui_extra module). Then your plugin won’t link against webkit2gtk anymore.

I hope this helps!

1 Like

Ok, I just did this and the overall list of dependecies dropped from 141 to … 54 :scream: :scream_cat: :scream:

Makes me wonder whether “enabled” should be the default value.

Anyway, this fixed my problem, thanks a bunch!

1 Like