编译Mesa:configure: error: Could not find llvm shared libraries
来源:互联网 发布:攻城掠地刷金币软件 编辑:程序博客网 时间:2024/05/18 09:21
编译Mesa时,已经根据错误提示安装了LLVM 3.5.0,但是仍然报如下错误:
checking for RADEON... yes
configure: error: Could not find llvm shared libraries:
Please make sure you have built llvm with the --enable-shared option
and that your llvm libraries are installed in /usr/local/lib
If you have installed your llvm libraries to a different directory you
can use the --with-llvm-prefix= configure flag to specify this directory.
NOTE: Mesa is attempting to use llvm shared libraries by default.
If you do not want to build with llvm shared libraries and instead want to
use llvm static libraries then add --disable-llvm-shared-libs to your configure
invocation and rebuild.
一番周折可以参考我的这篇文章。在我的电脑上:Ubuntu12.04,64bit。尝试了源码编译3.5.0,二进制3.4.2都失败,都是报这个错误!最后我是退而求其次的用了稳定版本3.3(
llvm-3.3.src.tar.gz和cfe-3.3.src.tar.gz),安装步骤如下:
sudo cp -r cfe-3.3.src clangcd llvm-3.3.src/tools/sudo mv ../../clang/ ./
2)重新编译安装llvm和clang
cd llvm-3.3.src/sudo ./configure <code class="western">--enable-shared=yes</code>sudo makesudo make install错误消失。
说明:这个3.3版本看来公认比较稳定,高版本3.5.0里面编译时候不需要设置--enable-shared=yes
,因为它已经默认被设置为ON了,但是不知道为啥编译完Mesa就是找不到共享库。
- 编译Mesa:configure: error: Could not find llvm shared libraries
- Error: Could not find the following Boost libraries:boost_serialization
- 安装postgis2.0.1出错configure error: could not find gdal
- configure: error: could not find working GL library
- linphone configure: error: "Could not find bctoolbox (required dependency)"
- 为什么你用python3.6 编译dbus-python告诉你configure: error: could not find Python headers
- configure: error: Can’t find X libraries
- PHP 5.2.14安装 configure: error: DBA: Could not find necessary header file(s).
- gmp4.3.2 安装时 ./configure报错: error: could not find a working compiler
- gmp4.3.2 安装 configure: error: could not find a working compiler
- configure: error: *** Could not enable any backends.
- configure: error: Cannot find ldap libraries in /usr/lib 解决办法
- configure: error: Cannot find ldap libraries in /usr/lib
- ldd not found/error while loading shared libraries
- 编译Mesa:configure: error: libudev-dev or sysfs required for building DRI
- 编译kinfu过程中遇到的问题,CMake提示:Could not find the following Boost libraries: boost_sysytem boost_thread
- ERROR:Could not find *.apk!的解决方案。
- FATAL ERROR: Could not find mysqld
- 黑马程序员——线程的总结(二)
- insmod: error inserting './scull.ko': -1 Unknown symbol in module
- OpenCV 决策树 之 理论准备
- SQL
- Unity3D【Mono Develop脚本编辑器介绍】
- 编译Mesa:configure: error: Could not find llvm shared libraries
- Interview Questions : Linux Device Drivers and Linux Kernel
- python小型函数技巧积累
- 赚钱的5个“黄金”步骤
- 2006年目标
- 速竿贺撬胃磕锤讼倒橙琅搅说凳湛
- 贾睾呵蝗焉辗颈睹呵殉朴廖下睹较
- 系倘驹刑炕问觅戮虐操戮谂接几茁
- Eclipse中安卓开发遇到parseSdkContent failed Could not initialize class android.graphics.Typeface问题