Go Back   Cockos Incorporated Forums > REAPER Forums > REAPER for Linux

Reply
 
Thread Tools Display Modes
Old 05-22-2022, 04:08 AM   #1
akademie
Human being with feelings
 
Join Date: Mar 2007
Posts: 4,018
Default ReaLearn2 (Linux version, after v2.7.1) does not scan and load

ReaLearn2 (Linux version, after v2.7.1) does not scan and load in Linux

v2.13.0-pre.4 ... does not scan, so does not load
v2.12.0 ........... does not scan, so does not load
v2.8.0-rc.6 ...... does not scan, so does not load
v2.8.0-pre1 ..... does not scan, so does not load
---
v2.7.1 .......... does load properly ! (this is last working version)
v2.7.0 .......... does load properly !
v2.5.0 .......... does load properly !
v2.0.1 .......... does load properly !
---
v1.10.0 ......... does load properly !

"realearn-linux-x86_64.so" file is always placed in "/UserPlugins/FX/VST" path.
Linux distro is PuppyLinux (64bit) bionicpup64 8.0, Window Manager: JWM v2.3.7
Reaper v6.58+dev0520 (Linux, 64bit)

EDIT20220522: Added another working version ( v2.0.1) to the post.

Last edited by akademie; 05-22-2022 at 05:43 AM. Reason: more tested versions added
akademie is offline   Reply With Quote
Old 05-22-2022, 05:02 AM   #2
Hanswurst
Human being with feelings
 
Hanswurst's Avatar
 
Join Date: Dec 2015
Location: Germany
Posts: 52
Default

Hi, Reaper 6.58 on ArchLinux with XFCE here, just gave v2.12.0 and v2.13.0-pre.4 a try, both load and run fine. Did you already try to clear the VST cache and rescan afterwards?
Hanswurst is offline   Reply With Quote
Old 05-22-2022, 05:40 AM   #3
akademie
Human being with feelings
 
Join Date: Mar 2007
Posts: 4,018
Default

Quote:
Originally Posted by Hanswurst View Post
Hi, Reaper 6.58 on ArchLinux with XFCE here, just gave v2.12.0 and v2.13.0-pre.4 a try, both load and run fine. Did you already try to clear the VST cache and rescan afterwards?
Hi Hans,
interesting, thanks for sharing your compatibility experience.

And yes, I did clear/rescan procedure all the time, because I tested all the versions listed in first post to find out in which version happened some change that can have such impact - and it is the v2.8.0-pre1 which is the first version that causes this problem and is unable to scan. (Maybe some added dependency after v2.7.1 ?).
akademie is offline   Reply With Quote
Old 05-22-2022, 09:02 AM   #4
helgoboss
Human being with feelings
 
helgoboss's Avatar
 
Join Date: Aug 2010
Location: Germany
Posts: 2,199
Default

This is strange. Nothing substantial happened between 2.7.1 and 2.8.0-pre1 (in terms of dependencies or build tooling). Just checked.

Once I asked Justin if there's a good way to check plug-in loading errors on Linux. He responded that one should run REAPER from a terminal, select the plug-in in Prefs/VST/Re-scan and see what it prints to the terminal.

Anything you see there?
helgoboss is offline   Reply With Quote
Old 05-22-2022, 07:16 PM   #5
akademie
Human being with feelings
 
Join Date: Mar 2007
Posts: 4,018
Default

^^^^^ unfortunately there is no info either

Code:
root# ./reaper
ALSA: using mmap interleaved
ALSA: using mmap interleaved
root#
akademie is offline   Reply With Quote
Old 05-23-2022, 09:51 AM   #6
PMan
Human being with feelings
 
Join Date: Aug 2019
Posts: 656
Default

Ubuntu 20.10/Wayland, Reaper 6.58

I installed via ReaPack, loads ok.

"Reaper v6.58+dev0520" Maybe try using a non-dev version?

Good luck!
PMan is offline   Reply With Quote
Old 09-05-2022, 04:52 PM   #7
akademie
Human being with feelings
 
Join Date: Mar 2007
Posts: 4,018
Default

Tried in Linux Mint 18.2 (x64) Sonya, with "Mate 1.18" environment, ReaLearn v2.13.1, Reaper v6.67rc2 linux and still no go

(the same situation as in original post = v2.7.1 is the last version that is able to scan and load).
akademie is offline   Reply With Quote
Old 09-06-2022, 09:04 PM   #8
Venn
Human being with feelings
 
Venn's Avatar
 
Join Date: May 2021
Location: Athens
Posts: 27
Default

Just checked the box in the studio. Everything up to 2.12 is working correctly. 2.13 "works" but the configuration window is knackered.

This is on Debian Testing.

Screenshots
https://imgur.com/a/qmqLxMd
Venn is offline   Reply With Quote
Old 09-07-2022, 02:51 AM   #9
helgoboss
Human being with feelings
 
helgoboss's Avatar
 
Join Date: Aug 2010
Location: Germany
Posts: 2,199
Default

Quote:
Originally Posted by Venn View Post
Just checked the box in the studio. Everything up to 2.12 is working correctly. 2.13 "works" but the configuration window is knackered.

This is on Debian Testing.

Screenshots
https://imgur.com/a/qmqLxMd
Oh, this doesn't look too good. How about other ReaLearn for Linux users? Same GUI issues?
helgoboss is offline   Reply With Quote
Old 09-07-2022, 05:10 AM   #10
DuX
Human being with feelings
 
DuX's Avatar
 
Join Date: Jan 2007
Location: Underworld
Posts: 1,188
Default

I'm using Debian 10 Buster [latest is 11 Bullseye] and it doesn't show up for me, either. However, logic tells me that this might be Reaper's fault since it shows up in Reaper 6.58? Maybe Reaper devs should take a look at it.
__________________
Goodnight, thank you, and may your God go with you.
DuX is offline   Reply With Quote
Old 11-20-2022, 02:49 AM   #11
helgoboss
Human being with feelings
 
helgoboss's Avatar
 
Join Date: Aug 2010
Location: Germany
Posts: 2,199
Default

@akademie @Dux Could you please try this: https://github.com/helgoboss/realear...ent-1320964181
helgoboss is offline   Reply With Quote
Old 11-20-2022, 05:04 AM   #12
akademie
Human being with feelings
 
Join Date: Mar 2007
Posts: 4,018
Default

Unfortunately I am getting this error with both latest v2.13.1 (non-working) and v2.5 (working) .SO files

Code:
mint@mint /tmp/realearn-test $ gcc -o test test.c
/tmp/ccFI870Z.o: In function `main':
test.c:(.text+0x19): undefined reference to `dlopen'
test.c:(.text+0x1e): undefined reference to `dlerror'
collect2: error: ld returned 1 exit status
mint@mint /tmp/realearn-test $
It's in Linux Mint 18.2 'Sonya' "MATE 64-bit" (as live user).

And I re-checked also in Reaper v6.70 (v2.5 does work while latest one does not).
akademie is offline   Reply With Quote
Old 11-20-2022, 05:14 AM   #13
akademie
Human being with feelings
 
Join Date: Mar 2007
Posts: 4,018
Default

Well, OK, little bit of googling revealed that it requires to add -ldl at the end of command line

So here it is..

1) with older v2.5 realearn.so file:
Code:
mint@mint /tmp/realearn-test $ gcc -o test test.c -ldl
mint@mint /tmp/realearn-test $ ./test
Test
(null)mint@mint /tmp/realearn-test $
2) with latest v 2.13.1 realearn.so file:
Code:
mint@mint /tmp/realearn-test $ gcc -o test test.c -ldl
mint@mint /tmp/realearn-test $ ./test
Test
/lib/x86_64-linux-gnu/libm.so.6: version `GLIBC_2.29' not found (required by ./realearn.so)mint@mint /tmp/realearn-test $
akademie is offline   Reply With Quote
Old 11-20-2022, 10:50 AM   #14
helgoboss
Human being with feelings
 
helgoboss's Avatar
 
Join Date: Aug 2010
Location: Germany
Posts: 2,199
Default

Quote:
Originally Posted by akademie View Post
Well, OK, little bit of googling revealed that it requires to add -ldl at the end of command line

So here it is..

1) with older v2.5 realearn.so file:
Code:
mint@mint /tmp/realearn-test $ gcc -o test test.c -ldl
mint@mint /tmp/realearn-test $ ./test
Test
(null)mint@mint /tmp/realearn-test $
2) with latest v 2.13.1 realearn.so file:
Code:
mint@mint /tmp/realearn-test $ gcc -o test test.c -ldl
mint@mint /tmp/realearn-test $ ./test
Test
/lib/x86_64-linux-gnu/libm.so.6: version `GLIBC_2.29' not found (required by ./realearn.so)mint@mint /tmp/realearn-test $
Cool, thanks for trying this! I don't know yet what to do with that but will think about it, haha. At least now we have the cause.

Here's the GitHub issue: https://github.com/helgoboss/realearn/issues/503

Last edited by helgoboss; 11-20-2022 at 10:56 AM.
helgoboss is offline   Reply With Quote
Old 11-20-2022, 11:21 AM   #15
helgoboss
Human being with feelings
 
helgoboss's Avatar
 
Join Date: Aug 2010
Location: Germany
Posts: 2,199
Default

@akademie I suppose you can't or don't want to upgrade your Puppy Linux to a newer version that includes glibc 2.29?

Yea, mmh, I would understand. DAW users are mostly hesitant when it comes to system updates ... unfortunately this worrying is often justified I'll see if there's an alternative solution.
helgoboss is offline   Reply With Quote
Old 11-20-2022, 11:37 AM   #16
akademie
Human being with feelings
 
Join Date: Mar 2007
Posts: 4,018
Default

It's Bionic Puppy 8.0 x64 (bionicpup64-8.0-uefi.iso) and Linux Mint 18.2 'Sonya' "MATE 64-bit" which I started to use because of good experience (bionic puppy runs completely in RAM and is super fast even on old laptops, also I can re-master for various usage - supercool, I have it always with me for live boot as I use various machines which is also cool).
I still trying new and various other distributions, but the most new = most cpu/ram demanding

I also tried to update glibc while doing this test but found out that it is not possible without upgrade whole distribution. I have to say that I am not experienced linux user.

It would be cool if you could solve that in case that the functions of newer glibc version are not necessary used for running the code actually. Otherwise, if you do take advantage of some of its new functionality (since v2.5 of ReaLearn) then it would not be possible, I understand.

Last edited by akademie; 11-20-2022 at 11:39 AM. Reason: typos
akademie is offline   Reply With Quote
Old 12-22-2022, 09:19 AM   #17
wholehalf
Human being with feelings
 
wholehalf's Avatar
 
Join Date: Nov 2015
Location: Athens, Greece
Posts: 68
Default Similar problem - solved in a weird way

Hi all,

I am running Reaper and ReaLearn on three machines, all running Kubuntu 22.04. As stated in the title, Realearn was failing to scan.

While searching for a solution, I compiled and ran the small the small C program on this ReaLearn GitHub thread https://github.com/helgoboss/realearn/issues/503.

The first message It gave was:
Code:
./realearn.so: cannot open shared object file: No such file or directory
so I copied the "Test" binary to the folder where ReaLearn is located and copied "ReaLearn-x64.so" to "realearn.so" ("Test" refers to "./realearn.so" in the code).

After running the test program again I got this:

Code:
libxdo.so.3: cannot open shared object file: No such file or directory
So I installed libxdo3 via apt. I then scanned for new plugins in REAPER and realearn was found and I could open it on a track.

This is where the weirdness starts: Since the issue was solved, I though I could delete "realearn.so" which I had copied previously. However, after rescanning for new plugins, REAPER failed to load ReaLearn again. Just to check, I removed libxdo3 and copied ReaLearn-x64.so to realearn.so again, to see if simply renaming the file would work. ReaLearn did showed up in the plugin list again, however when I placed it on a track it was in an offline state and I couldn't activate it.

So in summary, what seems to solve the issue for me is installing libxdo3 and renaming ReaLearn-x64.so to realearn.so.

Last edited by wholehalf; 12-22-2022 at 09:45 AM.
wholehalf is offline   Reply With Quote
Old 01-23-2023, 12:36 PM   #18
WelderOriginal
Human being with feelings
 
Join Date: Jan 2023
Posts: 16
Default

I can confirm that the plugin does not scan under Reaper v6.65.
Tried with the version 2.14.3, tried to rename the file to "realearn.so", with no luck.

libxdo-dev and libxdo3 are both installed in last version.

No matter how hard I try, ReaLearn does not show up anywhere in my list, even after successful installation.

Any hint ?

EDIT : v2.11.1 works flawlessly.
WelderOriginal is offline   Reply With Quote
Old 01-24-2023, 10:07 PM   #19
PMan
Human being with feelings
 
Join Date: Aug 2019
Posts: 656
Default

Running Reaper 6.73, on Ubuntu 22.04.1.
ReaLearn v2.14.3, installed from ReaPack - scans and opens.

I don't use it, just testing to help out.
PMan is offline   Reply With Quote
Old 01-25-2023, 02:21 AM   #20
helgoboss
Human being with feelings
 
helgoboss's Avatar
 
Join Date: Aug 2010
Location: Germany
Posts: 2,199
Default

Quote:
Originally Posted by WelderOriginal View Post
I can confirm that the plugin does not scan under Reaper v6.65.
Tried with the version 2.14.3, tried to rename the file to "realearn.so", with no luck.

libxdo-dev and libxdo3 are both installed in last version.

No matter how hard I try, ReaLearn does not show up anywhere in my list, even after successful installation.

Any hint ?

EDIT : v2.11.1 works flawlessly.
Can you start REAPER in the terminal and see what it says when you rescan the ReaLearn SO file? It should say something, probably some missing function or library. If it doesn't say anything, then at least the following should give some valuable info: https://github.com/helgoboss/realear...ent-1320964181

The issue with Linux is that there are so many distributions and versions. Some bring all necessary libraries, some don't or older versions. I usually test with latest Ubuntu LTS.
helgoboss is offline   Reply With Quote
Old 01-29-2023, 06:46 AM   #21
WelderOriginal
Human being with feelings
 
Join Date: Jan 2023
Posts: 16
Default

Thanks for the reply ! In my case it was indeed GLIBC not available in version 2.33.

Code:
/lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.33' not found (required by ./realearn.so)
This made me realise I should upgrade to ubuntu 22.04.
WelderOriginal is offline   Reply With Quote
Old 02-01-2023, 07:54 AM   #22
helgoboss
Human being with feelings
 
helgoboss's Avatar
 
Join Date: Aug 2010
Location: Germany
Posts: 2,199
Default

Quote:
Originally Posted by WelderOriginal View Post
Thanks for the reply ! In my case it was indeed GLIBC not available in version 2.33.

Code:
/lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.33' not found (required by ./realearn.so)
This made me realise I should upgrade to ubuntu 22.04.
I will think about linking libc statically in future, then this problem wouldn't occur. i need to research about possible side effects though.
helgoboss is offline   Reply With Quote
Old 02-01-2023, 02:15 PM   #23
DuX
Human being with feelings
 
DuX's Avatar
 
Join Date: Jan 2007
Location: Underworld
Posts: 1,188
Default

In the meantime I upgraded Debian to 11 and now ReaLearn2 works, along with some other plugins. It was probably GCC/GLib version that was too old in Debian 10, indeed.
__________________
Goodnight, thank you, and may your God go with you.
DuX is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -7. The time now is 08:06 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.