jatinchowdhury18 / AnalogTapeModel

Physical modelling signal processing for analog tape recording
GNU General Public License v3.0
1.11k stars 62 forks source link

[BUG] Problem in linux mint 20. #312

Closed TheGuyWhoo closed 9 months ago

TheGuyWhoo commented 11 months ago

In reaper. tapemodel v2.11.4. Lv2 immediately goes offline, other formats don't even scan.

swell: dlopen() failed: /lib/x86_64-linux-gnu/libstdc++.so.6: version `GLIBCXX_3.4.30' not found (required by /usr/lib/lv2/CHOWTapeModel.lv2/CHOWTapeModel.so)

TheGuyWhoo commented 11 months ago

I recall this same issue was present in multitool vst.

jatinchowdhury18 commented 10 months ago

Hi, thanks for the bug report!

This does seem similar to https://github.com/Chowdhury-DSP/ChowMultiTool/issues/25. We were able to fix that one by down-grading the build machine to Ubuntu-20.04. With ChowTape, the latest release was built on the same machine, so I doubt it's the exact same issue. Since the changes made for MultiTool, the only change we've made to the Linux machine has been to install GCC-11 on the machine, however, for building ChowTape, we're still using GCC version 9.4.0.

I wonder if the steps provided on this thread might be useful, specifically the apt-get commands? Although one difference would be using gcc-9.4 instead of gcc-4.9.

TheGuyWhoo commented 9 months ago

Is it worth upgrading my gcc if I'm using a prebuilt binary? I didn't build it, I got it from releases page I think. Just making sure.

TheGuyWhoo commented 9 months ago

My gcc is 9.4.0. The issue still persists.

TheGuyWhoo commented 9 months ago

My libstdc++6 is also newest.

jatinchowdhury18 commented 9 months ago

Hmm, interesting. I wonder if you plugin host is loading a different libstdc++ than the one installed on your system. Would you mind trying the steps from this Stack Overflow answer.

TheGuyWhoo commented 9 months ago

Wait, conda is a requirement? It appears I don't even have it installed. Could that be the problem?

TheGuyWhoo commented 9 months ago

All of a sudden I could upgrade my libstd. Not sure what changed, I didn't do anything differently, but it's fixed now.

jatinchowdhury18 commented 9 months ago

Wait, conda is a requirement? It appears I don't even have it installed. Could that be the problem?

Ah sorry, I should have clarified... I meant inspecting the libstdc++.so file, as shown in that Stack Overflow answer.

All of a sudden I could upgrade my libstd. Not sure what changed, I didn't do anything differently, but it's fixed now.

Okay! I guess it's good that it's working... maybe someday I'll understand the situation a bit better. Thanks for your patience!

TheGuyWhoo commented 9 months ago

I think I may have added a new repo at some point after the initial test that allowed me to upgrade. All the same, thanks!