gpt4 book ai didi

保留 : ld: library not found for -lssl

转载 作者:行者123 更新时间:2023-12-03 21:13:41 25 4
gpt4 key购买 nike

尝试安装 Rserve 1.8.6 时出现错误。我可以从 CRAN 成功安装 1.7.3。这是在 Mac OS High Sierra 上。

 ld: library not found for -lssl
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[1]: *** [forward] Error 1
make: *** [all] Error 2
ERROR: compilation failed for package ‘Rserve’
* removing ‘/Library/Frameworks/R.framework/Versions/3.5/Resources/library/Rserve’
* restoring previous ‘/Library/Frameworks/R.framework/Versions/3.5/Resources/library/Rserve’

The downloaded source packages are in
‘/private/var/folders/v7/hyxrfmk94p1_03gdrm27fnxncy3vq1/T/RtmpFHKNMe/downloaded_packages’

最佳答案

这对我有用(MacOS):

在终端:

brew install openssl

export LIBRARY_PATH=$LIBRARY_PATH:/usr/local/opt/openssl/lib/

关于保留 : ld: library not found for -lssl,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/54224898/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com