缺少链接库报错:ld: symbol(s) not found for architecture x86_64
Posted 柳鲲鹏
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了缺少链接库报错:ld: symbol(s) not found for architecture x86_64相关的知识,希望对你有一定的参考价值。
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
这个错误莫名其妙。网上的说法也各不相同,看来有不同的情形。吾仔细查了之后发现是自己的链接库没有加上:
`pkg-config --libs --cflags gtk+-2.0`
以上是关于缺少链接库报错:ld: symbol(s) not found for architecture x86_64的主要内容,如果未能解决你的问题,请参考以下文章
模拟器运行报错:ld: symbol(s) not found for architecture x86_64
ld: symbol(s) not found for architecture armv7
坑爹的 ld: symbol(s) not found for architecture armv7
MAC编译lame ld: symbol(s) not found for architecture x86_64/_lame_init_old“, referenced from
Showing Recent Messages ld: symbol(s) not found for architecture x86_64 可能出现的原因 模拟器运行的结果
错误记录Python 安装依赖库报错 ( ERROR: Could not find a version that satisfies the requirement elftools )