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

Can't load library #24

Open
kieroneil opened this issue Dec 28, 2018 · 1 comment
Open

Can't load library #24

kieroneil opened this issue Dec 28, 2018 · 1 comment

Comments

@kieroneil
Copy link

I was going through a post on R-bloggers and got stopped immediately. I was able to get stylo though install.packages(), but when I try to load the library I get the following.
> library(stylo) xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun Error: package or namespace load failed for ‘stylo’: .onLoad failed in loadNamespace() for 'tcltk', details: call: dyn.load(file, DLLpath = DLLpath, ...) error: unable to load shared object '/Library/Frameworks/R.framework/Versions/3.4/Resources/library/tcltk/libs/tcltk.so': dlopen(/Library/Frameworks/R.framework/Versions/3.4/Resources/library/tcltk/libs/tcltk.so, 10): Library not loaded: /opt/X11/lib/libX11.6.dylib Referenced from: /Library/Frameworks/R.framework/Versions/3.4/Resources/library/tcltk/libs/tcltk.so Reason: image not found In addition: Warning message: running command ''/usr/bin/otool' -L '/Library/Frameworks/R.framework/Resources/library/tcltk/libs//tcltk.so'' had status 1

@computationalstylistics
Copy link
Owner

Hello,
if I recall correctly, I had this issue some time ago on one of my machines (it might have been MacOS). Could you please check it the installation instructions described here (section Installation issues) work for you.

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