最新消息:

GCC-4.8.2-找不到ISL

Linux ZmmFly 4740浏览 0评论

configure: error: Unable to find a usable ISL.  See config.log for details.

错误详情见:http://gcc.gnu.org/ml/gcc-help/2013-10/msg00094.html

默认编译安装isl后configure不通过,重新编译cloog并指定ISL路径安装后,再configure还是不通过。

谷歌了半天,找了一堆没用的解决方法,最后回到GNU上找到了解决方法:

 

> configure:5857: checking for version 0.10 of ISL
> configure:5876: gcc -o conftest -g -O2 -I/home/rishi/local/include -I/home/rishi/local/include -I/home/rishi/local/include
>  -I/home/rishi/local/include    -L/home/rishi/local/lib conftest.c  -lisl >&5
> configure:5876: $? = 0
> configure:5876: ./conftest
> ./conftest: error while loading shared libraries: libisl.so.10: cannot open shared object file: No such file or directory

I think this is your problem.  Linking with -lisl is causing you to
link against libisl.so.10, but that shared library is not found at
runtime.  You need to set your LD_LIBRARY_PATH environment variable or
add the directory to /etc/ld.so.conf.

如果/etc/ld.so.conf中有/usr/local/lib这个路径的话,那就添加LD_LIBRARY_PATH环境变量
export LD_LIBRARY_PATH=/usr/local/lib

 

 

参考:

  1. http://blog.csdn.net/yanxiangtianji/article/details/12782839
  2. http://gcc.gnu.org/ml/gcc-help/2013-10/msg00133.html
  3. ftp://gcc.gnu.org/pub/gcc/infrastructure/
  4. http://stackoverflow.com/questions/17329363/cannot-install-gcc48-with-homebrew

转载请注明:神奇海域 » GCC-4.8.2-找不到ISL

发表我的评论
取消评论

Protected by WP Anti Spam

表情

Hi,您需要填写昵称和邮箱!

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址