nolanlab/spade — Issue #14: unable to load shared object "ks.so" on OS X 64-bit
Author: esimonds
Created: 2011-11-17 20:18:56+00:00
State: open

There is a bug in an upstream package which gives you a broken version of the file "ks.so" on OS X 64-bit installations. People who previously installed SPADE may not have this error, because old versions of ks.so are not overwritten.

The solution to the bug is to download the attached file ks.so from [here](http://www.stanford.edu/~esimonds/ks.so) and overwrite the one in /Library/Frameworks/R.framework/Versions/2.13/Resources/library/ks/libs/x86_64/ks.so on your Macintosh HD.

This bug affects you if after installing, you get the following error:

> library(spade)
Loading required package: igraph
Error in dyn.load(file, DLLpath = DLLpath, ...) :
unable to load shared object '/Library/Frameworks/R.framework/Versions/2.13/Resources/library/ks/libs/x86_64/ks.so':
dlopen(/Library/Frameworks/R.framework/Versions/2.13/Resources/library/ks/libs/x86_64/ks.so, 6): Library not loaded: @rpath/R.framework/Versions/2.13/Resources/lib/libR.dylib
Referenced from: /Library/Frameworks/R.framework/Versions/2.13/Resources/library/ks/libs/x86_64/ks.so
Reason: image not found
Error: package/namespace load failed for 'spade'