1

我正在尝试安装 rsconnect 以连接到 shinyapps.io 以进行在线托管。这是我的第一个应用程序,所以请多多包涵。

通过以下方式安装 rsconnect 时:

install.packages("rsconnect")

它通过检查等运行安装:

checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking openssl/ssl.h usability... yes
checking openssl/ssl.h presence... no
configure: WARNING: openssl/ssl.h: accepted by the compiler, rejected by the preprocessor!
configure: WARNING: openssl/ssl.h: proceeding with the compiler's result
checking for openssl/ssl.h... yes
checking openssl/rsa.h usability... yes
checking openssl/rsa.h presence... no
configure: WARNING: openssl/rsa.h: accepted by the compiler, rejected by the preprocessor!
configure: WARNING: openssl/rsa.h: proceeding with the compiler's result
checking for openssl/rsa.h... yes
checking for library containing RSA_generate_key_ex... no
configure: error: Cannot find usable crypto library
ERROR: configuration failed for package ‘PKI’
* removing ‘/cnN0dWRpby1yYWNoYW5kR/x86_64-pc-linux-gnu-library/3.5/PKI’
Warning in install.packages :
  installation of package ‘PKI’ had non-zero exit status
ERROR: dependency ‘PKI’ is not available for package ‘rsconnect’
* removing ‘/cnN0dWRpby1yYWNoYW5k/R/x86_64-pc-linux-gnu-library/3.5/rsconnect’
Warning in install.packages :
  installation of package ‘rsconnect’ had non-zero exit status

对 PKI 的依赖似乎正在扼杀这个安装。虽然单独安装 PKI

install.packages("PKI")

也因警告而失败

configure: error: Cannot find usable crypto library
ERROR: configuration failed for package ‘PKI’

我在无法正常访问但只能使用其中安装的应用程序的企业 VM 上运行。不幸的是,我也无法访问 VM 终端。

4

0 回答 0