reapack icon indicating copy to clipboard operation
reapack copied to clipboard

ReaPack won't install on MacOS Ventura

Open lukas-runge opened this issue 2 years ago • 6 comments

Hello everyone,

I just tried to install reapack on my Machine (M2 MacBook Pro) and failed with: "A libcurl function was given a bad argument (43)". Bildschirmfoto 2023-07-21 um 21 28 38

I am running curl version 7.88.1:

curl 7.88.1 (x86_64-apple-darwin22.0) libcurl/7.88.1 (SecureTransport) LibreSSL/3.3.6 zlib/1.2.11 nghttp2/1.51.0
Release-Date: 2023-02-20
Protocols: dict file ftp ftps gopher gophers http https imap imaps ldap ldaps mqtt pop3 pop3s rtsp smb smbs smtp smtps telnet tftp
Features: alt-svc AsynchDNS GSS-API HSTS HTTP2 HTTPS-proxy IPv6 Kerberos Largefile libz MultiSSL NTLM NTLM_WB SPNEGO SSL threadsafe UnixSockets

Is there a fix for this? 🤔

Thank you guys for your help!

Best regards, @lukas-runge

lukas-runge avatar Jul 21 '23 19:07 lukas-runge

Hi! How did you fix the problem?

YoBunnyTiger avatar Jan 26 '24 14:01 YoBunnyTiger

Hi @YoBunnyTiger,

I didn't fix it back then, but when I tried to install it now (with the current versions of Reaper and ReaPack) it worked flawlessly. 🥳 So it seems to be fixed. 🤔 Maybe a clean reinstall of reaper helps if you are already running on the newest versions. 🙌

Kind regards, @lukas-runge

lukas-runge avatar Feb 02 '24 17:02 lukas-runge

same error on intel mac os 11, reaper 6.30, 6.70, 7.11

onemoarcherry avatar Feb 14 '24 10:02 onemoarcherry

I'm unable to duplicate on a fresh install of macOS 11.7 x86_64. Does this also happens in a brand new portable install of REAPER with no other extensions installed, no project opened, as well as FX plugin scanning disabled? (In order to identify if it's because of some other plugin versus an issue with the general OS environment.)

Disabling FX scanning

Screen Shot 2024-02-14 at 06 24 56

cfillion avatar Feb 14 '24 11:02 cfillion

Is portable mac os version exists? I cleaned user-lib-appsupp-folder got same story I have installed song switcher (It is the only one i need reapack for) Trying install something other -> libcurl error 43

Uninstalled all from reapack Cannot install anything, cause error libcurl

onemoarcherry avatar Feb 14 '24 19:02 onemoarcherry

Does this also happens in a brand new portable install of REAPER with no other extensions installed, no project opened, as well as FX plugin scanning disabled? (In order to identify if it's because of some other plugin versus an issue with the general OS environment.)

Thank you @cfillion! The above solution worked for me. 🎊 🎉 ❤️ 🤝

I was experiencing the same issue Reaper 7.15 and latest ARM(m2) OS X (14.4.1): Screenshot 2024-04-30 at 3 18 14 PM

Closing all projects then restarting reaper to a blank project got ReaPack to function. Enabling/disabling plugin scanning seemed to have no effect (no pun intended).

After some experimentation, functionality seems to be inversally tied to use of the Waves CLA-3A compressor VST plugin which opens in another process on the dock called reaper_host_x86_64 which also has it running in a separate window: Screenshot 2024-04-30 at 3 38 26 PM Removing that plugin from FX in the project (disabling was not sufficient) allows libcurl to succeed and ReaPack to function without even restarting Reaper for me.

Hope this helps!

0xtobit avatar Apr 30 '24 22:04 0xtobit

I was getting this error so I pulled the source and built against the latest version of curl. This changes the error message to:

SSL peer certificate or SSH remote key was not OK (60): SSL certificate OpenSSL verify result: unable to get local issuer certificate (20)

For each repository. (Instead of the "bad argument" error I was seeing with the default system libcurl.)

This is due to this code in download.cpp:

#ifdef __APPLE__
  curl_easy_setopt(ctx, CURLOPT_CAINFO, nullptr);
#endif

I'm guessing this leaves curl with no certificates to use for verifying the peer. Commenting out that code fixes both the certificate error with the libcurl I built myself and the bad argument error with the system libcurl.

What is the purpose of removing the default CAINFO path? Any issue just getting rid of that code? It seems pretty old.

zvookin avatar Oct 23 '25 21:10 zvookin