From: Brian Drummond <brian@shapes.demon.co.uk>
Subject: Re: how to fix crt1.o: No such file or directory (link error for gnat)? after installing gnat 2012 on linux
Date: Tue, 26 Jun 2012 23:17:12 +0000 (UTC)
Date: 2012-06-26T23:17:12+00:00 [thread overview]
Message-ID: <jsdfto$ghk$1@dont-email.me> (raw)
In-Reply-To: jsctrk$pbh$1@speranza.aioe.org
On Tue, 26 Jun 2012 13:08:55 -0500, Nasser M. Abbasi wrote:
> solved it!
>
> here it is, in case someone else hits this problem:
>
>>export LIBRARY_PATH=/usr/lib/i386-linux-gnu/
...
>
> I do not know why it happens, but the above will fix it.
The basic problem is that some Linux distributions (Debian,Ubuntu)
support multilib (libs for various target machines, e.g. cross-compiling
for Arm, AVR or even Windows, or even just 32 and 64 bit x86), and some
tool chains don't.
If you are using Debian or Ubuntu, but installing another Gnat, this is
possible.
export LIBRARY_PATH seems to be the easiest fix. Or install Debian's own
Gnat package, as appropriate.
- Brian
next prev parent reply other threads:[~2012-06-26 23:17 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-06-26 17:47 how to fix crt1.o: No such file or directory (link error for gnat)? after installing gnat 2012 on linux Nasser M. Abbasi
2012-06-26 18:08 ` Nasser M. Abbasi
2012-06-26 23:17 ` Brian Drummond [this message]
2012-06-27 19:16 ` Georg Bauhaus
2012-11-20 19:48 ` giorgio.piantella
2013-03-17 19:17 ` claragranell
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox