Comments (7)
You need liblzma.so . For Ubuntu :
sudo apt-get install liblzma-dev
from rjava.
Installing liblzma-dev also helps on Debian Wheezy.
from rjava.
It seems that I have the same problem on Ubuntu 12.04:
gcc -std=gnu99 -o libjri.so Rengine.o jri.o Rcallbacks.o Rinit.o globals.o rjava.o -shared -L/usr/lib/jvm/java-7-openjdk-amd64/jre/lib/amd64/server -ljvm -Wl,--export-dynamic -fopenmp -L/usr/lib/R/lib -lR -lpcre -llzma -lbz2 -lrt -ldl -lm
/usr/bin/ld: cannot find -llzma
collect2: ld returned 1 exit status
make[2]: *** [libjri.so] Error 1
make[2]: Leaving directory `/tmp/Rtmp6DgVdK/R.INSTALL385e554abf17/rJava/jri/src'
make[1]: *** [src/JRI.jar] Error 2
make[1]: Leaving directory `/tmp/Rtmp6DgVdK/R.INSTALL385e554abf17/rJava/jri'
make: *** [jri] Error 2
ERROR: compilation failed for package ‘rJava’
* removing ‘/R/packages/rJava’
Warning in install.packages :
installation of package ‘rJava’ had non-zero exit status
The downloaded source packages are in
‘/tmp/RtmpGIKOF1/downloaded_packages’
from rjava.
This is not really an rJava issue since the lzma flags come from R and not rJava.
from rjava.
Thank you. It worked!
from rjava.
sudo apt-get install liblzma-dev worked! Thank you.
from rjava.
liblzma-dev package not available for centos.how i can install that package on centos.i tried both yum install liblzma-dev and lzma-dev but it is saying No package liblzma-dev available.I am using centos 6.6 version.
from rjava.
Related Issues (20)
- wrong class in method signatures HOT 5
- R freezes when executing rJava::.jinit() HOT 1
- how to load jar by J()? HOT 1
- Termination Error with rJava When Executing Complex R Code from Java Application HOT 3
- rJava issue HOT 1
- Struggling with rJava and dependent packages in Rstudio Mac M1. Error: package or namespace load failed for ‘rJava’: HOT 3
- Segmentation Fault when try re.eval("library('forecast')") HOT 2
- *** caught segfault *** address 0xfffffffffffffff8, cause 'invalid permissions' HOT 1
- long vectors not supported yet: memory.c:3888 HOT 1
- Please submit rJava 1.0-8 to CRAN HOT 1
- Error: "Sorry, parameter type 'X' is ambiguous or not supported." HOT 2
- Error: package or namespace load failed for ‘rJava’ HOT 2
- Can't install from source package on Mac OS 14.2 HOT 1
- rJava install error on macOS M2 with homebrew-installed java HOT 1
- Issue in the installation of rJava: Cannot compile a simple JNI program HOT 2
- Licensing uncertainty HOT 2
- Can objects generated by rJava be saved locally? HOT 2
- R session Aborted Rjava HOT 1
- Is remote Java debugging supported? HOT 1
- StackOverflowError in "process reaper" thread when using .jcall() or J() with java.lang.Runtime and exec HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rjava.