从openssl官网下载openssl

https://www.openssl.org/source/

 

1.解压到linux中

 

2. ./config no-asm shared --prefix=$(pwd)/__install

 

3.修改Makefile

CC AR RANLIB NM 都改为正确的交叉工具链。

删除其中的-m32或-m64

 arm-linux openssl移植

 

 

执行make

 

 

make成功后,执行make install

 

 

如果移植目标板中,程序运行后提示glibc版本不对,则可使用strings /lib/tls/libc.so.6 | grep GLIBC进行查看库的glibc版本,如果版本不支持,换个其他版本的openssl

相关文章:

  • 2021-08-25
  • 2021-08-30
  • 2021-11-28
  • 2021-07-16
  • 2022-12-23
  • 2022-12-23
  • 2021-08-29
  • 2022-12-23
猜你喜欢
  • 2021-12-04
  • 2022-01-13
  • 2021-07-01
  • 2021-07-24
  • 2021-10-09
  • 2021-10-25
  • 2021-12-22
相关资源
相似解决方案