当我在容器中运行 R 并尝试安装 R 包littler
时,会出现一些错误:
/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’
我怎样才能解决这个问题?