macos - Can't install libpulse on Mac
问题描述
I'm trying to compile some source code, and I'm getting the following error:
ld: library not found for -l:libpulse-simple.0.dylib
I've figured out that I need to install the "libpulse-simple.0.dylib" file (and probably some other files too) into my /usr/lib directory, but I can't figure out how to do that. I've already run brew install pulseaudio
, but is there another library I need to install?
解决方案
这是一个编译问题。libpulse-simple.0.dylib
已经链接/usr/lib
到. 你只需要告诉ld
找到它。修复PATH
你的编译脚本。或者告诉ld
通过 . 显式搜索它-L/usr/lib
。
推荐阅读
- html - 如何将数据从角度 6 传递到 Nodejs?
- java - 如何在没有语言错误的情况下将字符串转换为uri?
- sql - 从 SQL Server 中 JSON 中的数组获取值
- c - 具有运算符优先级的宏函数是否显示异常结果?
- python - 日期操作周期
- java - Jersey/REST:在不重复代码的情况下将请求委托给不同的子资源?
- utf-8 - 转换 UTF-8 iso-8859 字节 - String.to_charlist
- reactjs - 我的 browserHistory 和 react-router 有错误
- react-native - Facebook AppLinkData fetchDeferredApplinkData ReactNative
- python - Python Selenium Web Scrape在XPATH中嵌入excel到pandas框架转换逻辑需要