3

I have tried installing R v3.5.0 (from https://cloud.r-project.org). I downloaded the .tar.gz file, unzipped it and ran

./configure

It is giving me the error below:

configure: error: "liblzma library and headers are required"

I opened yast2 and checked whether it is installed properly or not. The terminal shows me liblzma5 version 5.2.3 is installed. Why is it not able to find the correct files. Do I have to change some filepaths? If yes whichones?

PKumar
  • 10,971
  • 6
  • 37
  • 52
while_true
  • 33
  • 1
  • 6

2 Answers2

4

This indicates that the header files needed for development are not installed. You can install them using

zypper install lzma-devel

as root or with sudo.

Ralf Stubner
  • 26,263
  • 3
  • 40
  • 75
  • On opensuse/tumbleweed `zypper install lzma-devel` is automatically translated to `zypper install xz-devel`. – ralhei Jun 23 '21 at 19:09
0

for ubuntu people:

apt install liblzma-dev
ilyesAj
  • 21
  • 4