全网首发:编译libssh,产生类似undefined reference to `EVP_aes_256_ctr@OPENSSL_1_1_0‘的大量错误

具体错误

前面和后面的:

/opt/linux/x86-arm/aarch64-mix210-linux/host_bin/../lib/gcc/aarch64-linux-gnu/7.3.0/../../../../aarch64-linux-gnu/bin/ld: warning: libcrypto.so.1.1, needed by ../lib/libssh.so.4.10.1, not found (try using -rpath or -rpath-link)
/opt/linux/x86-arm/aarch64-mix210-linux/host_bin/../lib/gcc/aarch64-linux-gnu/7.3.0/../../../../aarch64-linux-gnu/bin/ld: warning: libz.so.1, needed by ../lib/libssh.so.4.10.1, not found (try using -rpath or -rpath-link)
/opt/linux/x86-arm/aarch64-mix210-linux/host_bin/../lib/gcc/aarch64-linux-gnu/7.3.0/../../../../aarch64-linux-gnu/bin/ld: ../lib/libssh.so.4.10.1: undefined reference to `EVP_MD_CTX_free@OPENSSL_1_1_0'
/opt/linux/x86-arm/aarch64-mix210-linux/host_bin/../lib/gcc/aarch64-linux-gnu/7.3.0/../../../../aarch64-linux-gnu/bin/ld: ../lib/libssh.so.4.10.1: undefined reference to `EVP_DecryptFinal@OPENSSL_1_1_0'
......
/opt/linux/x86-arm/aarch64-mix210-linux/host_bin/../lib/gcc/aarch64-linux-gnu/7.3.0/../../../../aarch64-linux-gnu/bin/ld: ../lib/libssh.so.4.10.1: undefined reference to `EVP_CipherInit_ex@OPENSSL_1_1_0'
/opt/linux/x86-arm/aarch64-mix210-linux/host_bin/../lib/gcc/aarch64-linux-gnu/7.3.0/../../../../aarch64-linux-gnu/bin/ld: ../lib/libssh.so.4.10.1: undefined reference to `EC_KEY_get0_public_key@OPENSSL_1_1_0'
/opt/linux/x86-arm/aarch64-mix210-linux/host_bin/../lib/gcc/aarch64-linux-gnu/7.3.0/../../../../aarch64-linux-gnu/bin/ld: ../lib/libssh.so.4.10.1: undefined reference to `EVP_aes_256_ctr@OPENSSL_1_1_0'
collect2: error: ld returned 1 exit status
make[2]: *** [examples/CMakeFiles/libssh_scp.dir/build.make:146: examples/libssh_scp] Error 1
make[1]: *** [CMakeFiles/Makefile2:252: examples/CMakeFiles/libssh_scp.dir/all] Error 2
make: *** [Makefile:156: all] Error 2
  • 解决办法

warning: libcrypto.so.1.1, needed by ../lib/libssh.so.4.10.1, not found (try using -rpath or -rpath--CSDN博客

相关推荐
有梦想的鱼1 天前
并行服务、远程SSH无法下载conda,报错404
运维·ssh·conda
李先静2 天前
如何用 SSH 访问 QNX 虚拟机
ssh·awtk·qnx
LostSpeed2 天前
git - 用SSH方式迁出远端git库
git·ssh
竹林海中敲代码2 天前
GitLab本地服务器配置ssh和克隆项目
服务器·ssh·gitlab
众拾达人3 天前
基于 SSH 的任务调度系统
运维·ssh
早睡早起早日毕业3 天前
vscode支持ssh远程开发
linux·服务器·vscode·ubuntu·ssh
com未来4 天前
Jenkins git SSH获取code报错:git@github.com: Permission denied (publickey).
git·ssh·jenkins
likeyou~coucou4 天前
Linux中SSH服务(二)
linux·运维·ssh
zyplanke4 天前
修改sshd默认配置,提升安全
linux·安全·ssh