scsynth symlink - java.lang.UnsatisfiedLinkError: Unable to load library 'scsynth'

拈花ヽ惹草 提交于 2019-12-11 17:04:23

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!