StrangeLoopsAudio / gRainbow

A synthesizer that uses pitch detection to choose candidates for granular synthesis or sampling.
GNU General Public License v3.0
191 stars 5 forks source link

Plugin should be statically linked by default #97

Open ccaudle opened 3 months ago

ccaudle commented 3 months ago

Describe the bug I compiled the LV2 plugin from source, and the default settings (just ran cmake ./;make) resulted in dynamically linked system libraries. Plugins should be statically linked so that there can be no conflict with host libraries.

Desktop (please complete the following information):

tonilink commented 3 months ago

I think I facing the same problem. The ldd in the plugin directory returns:

$ ldd gRainbow.so ./gRainbow.so: /lib/x86_64-linux-gnu/libstdc++.so.6: version `GLIBCXX_3.4.32' not found (required by ./gRainbow.so) linux-vdso.so.1 (0x00007fffa5515000) libasound.so.2 => /lib/x86_64-linux-gnu/libasound.so.2 (0x00007f789e0f7000) libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007f789e018000) libfreetype.so.6 => /lib/x86_64-linux-gnu/libfreetype.so.6 (0x00007f789df4d000) libatomic.so.1 => /lib/x86_64-linux-gnu/libatomic.so.1 (0x00007f789ee87000) libstdc++.so.6 => /lib/x86_64-linux-gnu/libstdc++.so.6 (0x00007f789dc00000) libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x00007f789ee65000) libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f789da1f000) /lib64/ld-linux-x86-64.so.2 (0x00007f789eea6000) libz.so.1 => /lib/x86_64-linux-gnu/libz.so.1 (0x00007f789ee46000) libpng16.so.16 => /lib/x86_64-linux-gnu/libpng16.so.16 (0x00007f789df17000) libbrotlidec.so.1 => /lib/x86_64-linux-gnu/libbrotlidec.so.1 (0x00007f789ee39000) libbrotlicommon.so.1 => /lib/x86_64-linux-gnu/libbrotlicommon.so.1 (0x00007f789def4000)

(I'm testing in Debian Bookworm and Ardour 8.6.)

vssasks commented 2 months ago

For some reason linux plugins are always crappier than for windows. Old linux could run win dlls without wine cratches. It was good times.