Git Product home page Git Product logo

Comments (7)

mdrzazga avatar mdrzazga commented on August 28, 2024 1

You need liblzma.so . For Ubuntu :
sudo apt-get install liblzma-dev

from rjava.

QuantumDamage avatar QuantumDamage commented on August 28, 2024 1

Installing liblzma-dev also helps on Debian Wheezy.

from rjava.

dkalisch avatar dkalisch commented on August 28, 2024

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.

s-u avatar s-u commented on August 28, 2024

This is not really an rJava issue since the lzma flags come from R and not rJava.

from rjava.

e18r avatar e18r commented on August 28, 2024

Thank you. It worked!

from rjava.

gloriousglory avatar gloriousglory commented on August 28, 2024

sudo apt-get install liblzma-dev worked! Thank you.

from rjava.

mandar2174 avatar mandar2174 commented on August 28, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.