comp.lang.ada
 help / color / mirror / Atom feed
From: giorgio.piantella@gmail.com
Subject: Re: how to fix crt1.o: No such file or directory (link error for gnat)? after installing gnat 2012 on linux
Date: Tue, 20 Nov 2012 11:48:31 -0800 (PST)
Date: 2012-11-20T11:48:31-08:00	[thread overview]
Message-ID: <ef448c1d-0381-431a-94c3-15d3b7c5b254@googlegroups.com> (raw)
In-Reply-To: <253677668362437683.864049rm-host.bauhaus-maps.arcor.de@news.arcor.de>


> 
> >> export LIBRARY_PATH=/usr/lib/i386-linux-gnu/
> 

attention depends of your system because depends from where is the file crt1.o

I recommend:

$ locate crt1.o
...
/usr/lib/debug/usr/lib32/ ...
/usr/lib/x86_64-linux-gnu/Mcrt1.o
/usr/lib/x86_64-linux-gnu/Scrt1.o

/usr/lib/x86_64-linux-gnu/crt1.o
--------------------------^^^^^^

/usr/lib/x86_64-linux-gnu/gcrt1.o
...

required to locate the path of the file and then
the correct invocation of export is:

$ export LIBRARY_PATH=/usr/lib/x86_64-linux-gnu/





  reply	other threads:[~2012-11-20 19:48 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
2012-06-27 19:16   ` Georg Bauhaus
2012-11-20 19:48     ` giorgio.piantella [this message]
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