reapack
reapack copied to clipboard
ReaPack won't install on MacOS Ventura
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)".
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
Hi! How did you fix the problem?
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
same error on intel mac os 11, reaper 6.30, 6.70, 7.11
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.)

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