Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Plugin should be statically linked by default #97

Open
ccaudle opened this issue May 28, 2024 · 2 comments
Open

Plugin should be statically linked by default #97

ccaudle opened this issue May 28, 2024 · 2 comments
Assignees
Labels
bug Something isn't working

Comments

@ccaudle
Copy link

ccaudle commented May 28, 2024

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):

  • OS: Fedora Linux 40
  • gRainbow version 1.0.3 (downloaded as zip file from github)
@ccaudle ccaudle added the bug Something isn't working label May 28, 2024
@tonilink
Copy link

tonilink commented Jun 7, 2024

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
Copy link

vssasks commented Jul 15, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants