Skip to content

Instantly share code, notes, and snippets.

@smschauhan
Created September 4, 2014 19:41
Show Gist options
  • Save smschauhan/d189bbfbe149d9b761b2 to your computer and use it in GitHub Desktop.
Save smschauhan/d189bbfbe149d9b761b2 to your computer and use it in GitHub Desktop.
RPython issue
If you get an error in installing rPython
Error : .onLoad failed in loadNamespace() for 'rPython', details:
call: dyn.load(file, DLLpath = DLLpath, ...)
libpython2.7.so.1.0: cannot open shared object file: No such file or directory
#!/bin/bash
MAKEFLAGS='LDFLAGS=-L/opt/app/python2.7/lib\ -Wl,-rpath\ /opt/app/python2.7/lib/' R CMD INSTALL . --preclean
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment