public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
From: Rishi Sharma <rishi8up@yahoo.com>
To: "gcc-help@gcc.gnu.org" <gcc-help@gcc.gnu.org>
Subject: Re: Problem configuring gcc-4.82. with ISL
Date: Thu, 24 Oct 2013 16:22:00 -0000	[thread overview]
Message-ID: <1382631740.29648.YahooMailBasic@web120003.mail.ne1.yahoo.com> (raw)
In-Reply-To: <CAKOQZ8xm7UyGFGTYFSUPxvVvKGw2cTKVYuWWaZpT4RboNbR1uw@mail.gmail.com>

 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

      reply	other threads:[~2013-10-24 16:22 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-10-21 12:52 Rishi Sharma
2013-10-21 15:51 ` Ian Lance Taylor
2013-10-24 16:22   ` Rishi Sharma [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1382631740.29648.YahooMailBasic@web120003.mail.ne1.yahoo.com \
    --to=rishi8up@yahoo.com \
    --cc=gcc-help@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).