midilab / jc303

A Free Roland TB-303 Plugin for Windows, MacOS and Linux: VST2, VST3, LV2, CLAP and AU. A Juce port of Open303 engine.
https://midilab.co/jc303
GNU General Public License v3.0
114 stars 3 forks source link

LV2 and VST3 builds don't load on Linux #1

Closed prokoudine closed 10 months ago

prokoudine commented 10 months ago

From Ardour's log:

VST3 module-path '/home/alex/.vst3/JC303.vst3/Contents/x86_64-linux/JC303.so'
[Info]: Scanning: /home/alex/.vst3/JC303.vst3
[ERROR]: Could not load VST3 plugin '/home/alex/.vst3/JC303.vst3/Contents/x86_64-linux/JC303.so': /lib/x86_64-linux-gnu/libm.so.6: version `GLIBC_2.38' not found (required by /home/alex/.vst3/JC303.vst3/Contents/x86_64-linux/JC303.so)
Cannot load VST3 module: '/home/alex/.vst3/JC303.vst3/Contents/x86_64-linux/JC303.so'
Scan Failed.

I'm using Ubuntu 23.04.

midilab commented 10 months ago

Hi @prokoudine,

Thank you for reporting back.

Can you provide more contextual information please?

CPU model: Ardour version: Logs for failing LV2 too:

Does VST2 worked?

So far looking at the logs points that your glib version required is missing. Can you check also what is your GLIBC version on Ubuntu 23.04?

prokoudine commented 10 months ago

CPU model: Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz

Ardour version: 7.5

Log for LV2:

lilv_lib_open(): error: Failed to open library /home/alex/.lv2/JC303.lv2/libJC303.so (/lib/x86_64-linux-gnu/libm.so.6: versionGLIBC_2.38' not found (required by /home/alex/.lv2/JC303.lv2/libJC303.so))`

Log for VST2:

[Info]: Scanning: /home/alex/.vst/libJC303.so
[ERROR]: Could not load VST2 plugin '/home/alex/.vst/libJC303.so': /lib/x86_64-linux-gnu/libm.so.6: version `GLIBC_2.38' not found (required by /home/alex/.vst/libJC303.so)
[WARNING]: Cannot open VST2 module '/home/alex/.vst/libJC303.so'
Scan Failed.
midilab commented 10 months ago

your glibc library is older than the one required by JC303 plugin(GLIBC_2.38).

Can you please run the following command so we can know wich version you have right now on your system: $ ldd --version

I will try to get a minimun requirements to make sure the compiled version works on most used linux distros out there.

So the solution will be to compile another release with an older glibc to make it compatible with distributions that uses older versions of glibc.

prokoudine commented 10 months ago

$ ldd --version ldd (Ubuntu GLIBC 2.37-0ubuntu2) 2.37

midilab commented 10 months ago

Thank you,

I will release a new package with the plugins using a older GLIB, i will keep you posted here when its done, so you can download the new and compatible with your distro.

midilab commented 10 months ago

I've updated the latest release pack with a versions compatible with your distro and others most used around. also put a note on glibc minimun version required.

Can you please delete the old .zip file and download it again? same link: jc303-linux64-plugins.zip

Please let me know!

prokoudine commented 10 months ago

Thanks, that works!