最近,想通过NGINX开启ssl模块搭建一个https环境,在编译过程中出现了一个平台架构不符合的问题,通过查阅资料发现关于这个问题在网上很少资料,为了帮忙以后搭建过程也出现这个问题的同学,因此写一下备忘。
编译出现问题的定位:
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
解决方法
指定平台的处理器位数,默认是32位
转载于:https://blog.51cto.com/lailaiji/1715664