MAC编译lame ld: symbol(s) not found for architecture x86_64/_lame_init_old“, referenced from

简介: MAC编译lame ld: symbol(s) not found for architecture x86_64/_lame_init_old“, referenced from
  • 具体错误

在mac上编译lame,出现这个错误:

Undefined symbols for architecture x86_64:
  "_lame_init_old", referenced from:
     -exported_symbol[s_list] command line option
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
  • 原因

这个错误,简单的说,就是编译出错了。这里也清清楚楚的说明,没有找到lame_init_old。

  • 解决办法

使用grep找到哪里有lame_init_old,再看看处理办法。

编译include/libmp3lame.sym,删除lame_init_old所在行。

目录
相关文章
|
iOS开发
Xcode报错解决方法:ld: symbol(s) not found for architecture arm64
Xcode报错解决方法:ld: symbol(s) not found for architecture arm64
3322 0
|
8月前
|
开发工具 iOS开发 Perl
mac电脑升级到10.15.7含有支付宝SDK的组件更新报错:AlipaySDK.framework/AlipaySDK for architecture arm64
mac电脑升级到10.15.7含有支付宝SDK的组件更新报错:AlipaySDK.framework/AlipaySDK for architecture arm64
102 0
MAC编译lame ld: symbol(s) not found for architecture x86_64/_lame_init_old“, referenced from
MAC编译lame ld: symbol(s) not found for architecture x86_64/_lame_init_old“, referenced from
273 0
MAC编译出错:Undefined symbols for architecture x86_64: “_CFRelease“, referenced from:
MAC编译出错:Undefined symbols for architecture x86_64: “_CFRelease“, referenced from:
228 0
缺少链接库报错:ld: symbol(s) not found for architecture x86_64
缺少链接库报错:ld: symbol(s) not found for architecture x86_64
250 0
|
Perl
ld: symbol(s) not found for architecture x86_64 clang: error: linker command failed with exit code 1
ld: symbol(s) not found for architecture x86_64 clang: error: linker command failed with exit code 1
722 0
|
C语言
全网首发:终极解决办法:/usr/bin/ld: libcc.so: no symbol version section for versioned symbol `memcpy@GLIBC_2.0‘
全网首发:终极解决办法:/usr/bin/ld: libcc.so: no symbol version section for versioned symbol `memcpy@GLIBC_2.0‘
435 0
|
8月前
|
JavaScript 前端开发
ES6:什么是Symbol?
ES6:什么是Symbol?
93 1
|
8月前
ES6之Symbol
ES6之Symbol
|
8月前
|
JavaScript 前端开发