dahtah / imager

R package for image processing
GNU Lesser General Public License v3.0
187 stars 43 forks source link

Unable to load shared object. Successful install on OSX but failed to load library? #76

Closed michaelSkaro closed 5 years ago

michaelSkaro commented 5 years ago

install.packages("imager") trying URL 'https://cran.rstudio.com/bin/macosx/el-capitan/contrib/3.5/imager_0.41.1.tgz' Content type 'application/x-gzip' length 9743801 bytes (9.3 MB)

downloaded 9.3 MB

The downloaded binary packages are in /var/folders/pt/73hcq81s5x728b9n08wh8rt80000gn/T//Rtmp9xsbm0/downloaded_packages

library(imager) Error: package or namespace load failed for ‘imager’ in dyn.load(file, DLLpath = DLLpath, ...): unable to load shared object '/Library/Frameworks/R.framework/Versions/3.5/Resources/library/imager/libs/imager.so': dlopen(/Library/Frameworks/R.framework/Versions/3.5/Resources/library/imager/libs/imager.so, 6): Library not loaded: /opt/X11/lib/libX11.6.dylib Referenced from: /Library/Frameworks/R.framework/Versions/3.5/Resources/library/imager/libs/imager.so Reason: image not found

dahtah commented 5 years ago

You need to install XQuartz. Sorry, the next version of imager will have a more helpful error message

michaelSkaro commented 5 years ago

Yes,

I read your manuals page and installed Xquartz as well.

Best,

MS

Sent from my iPhone

On Oct 19, 2018, at 2:18 AM, Simon Barthelmé notifications@github.com<mailto:notifications@github.com> wrote:

You need to install XQuartz. Sorry, the next version of imager will have a more helpful error message

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/dahtah/imager/issues/76#issuecomment-431256757, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AqB0wUNd-HWyT-hPAMTbgD2v1bGBozydks5umW61gaJpZM4XueZa.

michaelSkaro commented 5 years ago

Yes, I read your manuals page and installed Xquartz prior to sending the error message.

MS

Sent from my iPhone

On Oct 19, 2018, at 2:18 AM, Simon Barthelmé notifications@github.com<mailto:notifications@github.com> wrote:

You need to install XQuartz. Sorry, the next version of imager will have a more helpful error message

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/dahtah/imager/issues/76#issuecomment-431256757, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AqB0wUNd-HWyT-hPAMTbgD2v1bGBozydks5umW61gaJpZM4XueZa.

dahtah commented 5 years ago

Is XQuartz installed under /opt/X11?