When I running R in the container and trying to install a R package littler
, there gives some errors:
/usr/bin/ld: cannot find -lpcre
/usr/bin/ld: cannot find -llzma
/usr/bin/ld: cannot find -lbz2
collect2: error: ld returned 1 exit status
Makevars:29: recipe for target 'r' failed
make: *** [r] Error 1
ERROR: compilation failed for package ‘littler’
How can I fix this?