Ardour 9.8, liquidsfz and Ubuntu 26.04

Hi,

I’m evaluation Ardour and I run it on a Ubuntu 26.04 PC. Ubuntu comes with Ardour 9.0, but I wanted to try Ardour 9.8. Unfortunately, I got problems with one of my plugins, liquidsfz. I’m using liquidsfz to run a sfz version of Naked Drums (quite good sounding drums btw).

liquidsfz uses the systems kdialog, yad or zenity to choose the sfz-config-file. Unfortunately, there seems a lib conflict with Ardour 9.8. Ardour 9.0, which comes with Ubuntu 26.04, runs fine.
All three file chooser (kdialog, yad or zenity) don’t work. E.g. Yad gives the following error:

/usr/bin/yad: symbol lookup error: /usr/lib/x86_64-linux-gnu/libatspi.so.0: undefined symbol: g_once_init_leave_pointer LiquidSFZ: FileDialog: subprocess failed, exit_status 127

I think maybe there is a problem with some libs Ardour 9.8 comes with. Does the startup code of Ardour 9.8 manipulate the LIBRARY PATH and the plugins (eg liquidsfz) load the wrong library? Could this be fixed?

Workaround: I wrote a simple filechooser with FLTK and patched liquidsfz to use that filechooser.

A common problem. The solution is to make sure that plugins are self contained and do not rely on any system libraries.

So +1 to Chris, and to that point on the readme for LiquidSFZ:

BINARY LV2 PLUGIN

The LV2 plugin (and only the LV2 plugin) is available as self-contained 64-bit binary.

LINUX BINARY

The Linux version is available here:

Is this the exact version you are using? If not, what happens if you use this version? I am presuming it is properly statically compiled at least based off their description (Really ALL plugins should be self-contained and not use system libraries for UI).

Seablade

No, this is not the version I am using. The plugin itself is running fine. But for selecting the filename of the sfz config file, it launches a host application (kselect, yad, zenity). Those applications won’t run, launched through Ardour9.8. If I type yad --file in a shell, it will start and one can select a file name. As said, I found a workaround. I simply wrote a fileselector with FLTK which is self contained. I compiled liquidsfz myself and patched it to call my fileselector programm instead of kselect, yad or zenity.