This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: Problem configuring gcc-4.82. with ISL
- From: Rishi Sharma <rishi8up at yahoo dot com>
- To: "gcc-help at gcc dot gnu dot org" <gcc-help at gcc dot gnu dot org>
- Date: Thu, 24 Oct 2013 09:22:20 -0700 (PDT)
- Subject: Re: Problem configuring gcc-4.82. with ISL
- Authentication-results: sourceware.org; auth=none
Thanks a lot Ian.
Setting LD_LIBRARY_PATH worked. I was thrown off because it was able to find gmp, mpc, and mpfr, and I had followed the same steps for isl as well. This step is mentioned on the wiki, but it maybe useful to add this with the instructions that are in gcc-4.8.2/INSTALL/index.html.
I also needed to get install libc6-dev-i386. This was very easy, but wasn't mentioned anywhere in the requrements (I think: or maybe I misssed it).
It seems to be working. Thanks again.
Rishi
--------------------------------------------
On Mon, 10/21/13, Ian Lance Taylor <iant@google.com> wrote:
Subject: Re: Problem configuring gcc-4.82. with ISL
To: "Rishi Sharma" <rishi8up@yahoo.com>
Cc: "gcc-help@gcc.gnu.org" <gcc-help@gcc.gnu.org>
Date: Monday, October 21, 2013, 10:51 AM
On Mon, Oct 21, 2013 at 5:52 AM,
Rishi Sharma <rishi8up@yahoo.com>
wrote:
> Attempt to install on ubuntu 12.04 on intel x86_64
fails at the configure step.
>
> On searching, I found some claims that it is
because on the step,
> configure:5905: checking for version 0.11 of
> ISLit uses the value for the previous step,
configure:5857: checking for version 0.10 of ISL and doesn't
update the value. Though I thought that was fixed.
Yes, that was fixed.
> 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.
Ian