问题
I installed SuperCollider using Homebrew:
brew cask install supercollider
Now I can run /Applications/SuperCollider.app/Contents/Resources/scsynth
, but when I start a Clojure REPL and (require 'overtone.live)
, I get the following message:
java.lang.UnsatisfiedLinkError: Unable to load library 'scsynth':
Native library (darwin/libscsynth.dylib) not found in resource path
So I tried to symlink the file to scsynth
, but it doesn't seem to be working:
sudo ln -s /Applications/SuperCollider.app/Contents/Resources/scsynth .
$ scsynth
zsh: command not found: scsynth
How do I get my Clojure REPL to look in the right place? I also tried brew cask link supercoller
hoping that would do what I expected, but no luck so far.
来源:https://stackoverflow.com/questions/57909082/scsynth-symlink-java-lang-unsatisfiedlinkerror-unable-to-load-library-scsynt