From: claragranell@gmail.com
Subject: Re: ld: library not found for -lcrt1.10.5.o
Date: Sun, 17 Mar 2013 13:17:54 -0700 (PDT)
Date: 2013-03-17T13:17:54-07:00 [thread overview]
Message-ID: <c86d7e39-afcc-4461-a3a9-6eada2abae17@googlegroups.com> (raw)
In-Reply-To: <19d3c1d6-0872-40fd-bd58-c945970bee3f@googlegroups.com>
Solved (or at least it is working). I found a possible solution provided by a user named Nasser Abassi.
I located the folder for the library I was missing:
$ locate crt1.10.5.o
I added this folder to the variable LIBRARY_PATH, by writing the following into ~/.bash_profile
export LIBRARY_PATH=/here_folder_where_my_library_is/:${LIBRARY_PATH}
Re-read bash_profile:
$ source ~/.bash_profile
For the moment, this "solved" the problem.
I hope it helps!
- show quoted text -
On Sunday, March 17, 2013 7:35:26 PM UTC+1, clarag...@gmail.com wrote:
> Hello everybody. I write here because I didn't find a way to solve the problem I had in any other place.
>
> I have MAC OSX 10.7.4 and I am trying to install GNAT 2012 (I would be happy with 2010 or 2011, but I have the same problems with them). I install GNAT using the doinstall script, and it works fine (supposedly), but then I try to compile any test program and I get:
>
>
>
> >> gnatmake test.adb
>
> gnatbind -x test.ali
>
> gnatlink test.ali
>
> ld: library not found for -lcrt1.10.5.o
>
> collect2: ld returned 1 exit status
>
> gnatlink: error when calling /usr/local/gnat/bin/gcc
>
> gnatmake: *** link failed.
>
>
>
> Anyone knows what is happening? Any help will be appreciated. Thanks in advance!
>
>
>
> Clara.-
next prev parent reply other threads:[~2013-03-17 20:17 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-03-17 18:35 ld: library not found for -lcrt1.10.5.o claragranell
2013-03-17 20:15 ` claragranell
2013-03-17 20:17 ` claragranell [this message]
2013-03-17 20:56 ` Simon Wright
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox