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

security issues on mac #12

Open
joachimheintz opened this issue Jul 1, 2023 · 2 comments
Open

security issues on mac #12

joachimheintz opened this issue Jul 1, 2023 · 2 comments

Comments

@joachimheintz
Copy link
Contributor

thanks for the great repo, including good documentation. i tried to install together with a student the mac version in our electronic studio (https://github.com/csound-plugins/csound-plugins/releases/download/v1.18.0/csound-plugins--macos-arm64.zip). we followed the steps, but we finally failed because mac os considered the dylibs as "illegal". usually there is a way to allow this via the security panel in the system preferences. but here, it did not work at all in CsoundQt, and for commandline csound only by allowing lib by lib ...
is there any possibility to get this to work on a mac?

@gesellkammer
Copy link
Contributor

Thanks for the report. This probably has to do with code-signing in macos.

There are in fact some tests in place regarding the binaries provided here, and they do seem to work on csound from the command line, both in intel and arm.

https://github.com/csound-plugins/risset/actions

In these tests csound is installed from the installer and the plugins are installed via risset, which uses the same binaries as the ones provided here. But it might be that the machines used for github actions are in some way not affected by such security issues

Could you please provide a bit more detailed information about your installation process? (where was csound installed from, where did you place the plugins, the exact output from running csound from the command line and the exact output from running csoundqt from the command line)?

@joachimheintz
Copy link
Contributor Author

now i am back on this mac and can provide more info.

csound was installed with the main installer: https://github.com/csound/csound/releases/download/6.18.1/Csound-MacOS-universal-6.18.1.dmg

for installing the plugins, i followed the instructions at https://csound-plugins.github.io/csound-plugins/Installation.html:
i copied the dylibs from https://github.com/csound-plugins/csound-plugins/releases/download/v1.18.0/csound-plugins--macos-arm64.zip to ~/Library/csound/6.0/plugins64

CsoundQt version is 1.1.1. the error message is, when running your perlin3 example:

WARNING: could not open library '/Users/fmsbw/Library/csound/6.0/plugins64/libpathtools.dylib' (-1)
WARNING: could not open library '/Users/fmsbw/Library/csound/6.0/plugins64/libelse.dylib' (-1)
WARNING: could not open library '/Users/fmsbw/Library/csound/6.0/plugins64/libbeosc.dylib' (-1)
WARNING: could not open library '/Users/fmsbw/Library/csound/6.0/plugins64/librisset.dylib' (-1)
WARNING: could not open library '/Users/fmsbw/Library/csound/6.0/plugins64/libklib.dylib' (-1)
WARNING: could not open library '/Users/fmsbw/Library/csound/6.0/plugins64/libsndmeta.dylib' (-1)
WARNING: could not open library '/Users/fmsbw/Library/csound/6.0/plugins64/libpoly.dylib' (-1)
UnifiedCSD: /Users/fmsbw/Desktop/test_plugins.csd
rtaudio: PortAudio module enabled ...
using callback interface
error: syntax error, unexpected ':', expecting NEWLINE or ',' (token ":") from file /Users/fmsbw/Desktop/test_plugins.csd (1), line 20:

tablew kvalue, accum: <<<

Parsing failed due to invalid input!
Stopping on parser failure
cannot compile orchestra

when i run the example from terminal, i had to allow every single dylib. after this, the example works, but of course without the widgets.

about installing everything via risset: i did not find anything about it in the above mentioned install instruction. how to do it? i also could not find it in the menu of csoundqt although i thought you added it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants