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