AuburnSounds / Dplug

Audio plugin framework. VST2/VST3/AU/AAX/LV2 for Linux/macOS/Windows.
https://dplug.org/
Other
485 stars 32 forks source link

Undefined symbol "Adler 32" on load on Ubuntu Studio 22.04 + Bitwig 4.4.8 + v12 #766

Closed rstephane closed 1 year ago

rstephane commented 1 year ago

Hello, When I use bitwig with my VST2 and VST3 plugin (the ones I created myself using Dplug) , the DAW tells me that the plugin has an error : Undefined symobl Adler 32 // Linux Ubuntu

I tried to install zlib that includes adler32... recompile my plugin but the results is the same...

Bitwig 4.4.8 Dplug : 12.8.x Linux : Ubuntu Studio 22.04 (kernel 5.15.0.69-lowlaterncy 64 bits)

Tell me if you need more details ?

Thanks !

p0nce commented 1 year ago

Hi, is the plugin built on that system also? Or copied from another linux system?

p0nce commented 1 year ago

Seems pretty serious, we shouldn't have any such dynamic dependency.

rstephane commented 1 year ago

Hello, yes I compile/build on the OS also...

p0nce commented 1 year ago

Hello,

No issue on REAPER latest + LDC 1.31 + Ubuntu 22.04

uname => Linux ponce-ThinkPad-X220 5.19.0-38-generic #39~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Mar 17 21:16:15 UTC 2 x86_64 x86_64 x86_64 GNU/Linux

image

Questions

p0nce commented 1 year ago

additional question: is it the flatpak Bitwig or the .deb Bitwig?

p0nce commented 1 year ago

Weirdly enough the x86 Bitwig .deb seems to be 32-bit x86(i386) (or at least install many i386 packages)

p0nce commented 1 year ago

No such issue in Ardour either.

image

My working hypothesis is that Bitwig .deb is a 32-bit (i386 arch) package for some reason, and i386 plugins are not supported by Dplug. Really it seems super strange since Bitwig .deb used to be a x86_64 64-bit arch.

p0nce commented 1 year ago

How to install Bitwig here: Bitwig 4.4.5 can be installed with .deb, but not 4.4.8 in Ubuntu 22.04 Just change the download URL

p0nce commented 1 year ago

And 4.4.5 works, and is a x86_64 .deb image

So it seems went from distributing x86_64 software to i386 software recently, for an unknown reason.

p0nce commented 1 year ago

If one install Bitwig from a working version (say: 4.4.5) in x86_64 and dpkg -i your way to 4.4.8, then one can have a plugin run in 4.4.8. Which means the bug only exist when Bitwig is hosting plugins bridged. But still not reproduced. (EDIT: Bitwig x86_64 hosting x86_64 plugin out of process works).

p0nce commented 1 year ago

There is an adler symbols inside the .so but they are not imported, so can't prevent a load. So perhaps an error in dub.json

p0nce commented 1 year ago

Last time I checked Ubuntu Studio did work like Ubuntu Desktop, so this time it seems squarely either in Bitwig camp, or Ubuntu Studio really is different.

rstephane commented 1 year ago

Oki thanks, I am going to test all that