From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: a07f3367d7,53c72e02cc0bdf5d X-Google-Attributes: gida07f3367d7,public,usenet X-Google-NewGroupId: yes X-Google-Language: ENGLISH,ASCII-7-bit X-Received: by 10.224.185.79 with SMTP id cn15mr8846386qab.4.1363551474728; Sun, 17 Mar 2013 13:17:54 -0700 (PDT) X-Received: by 10.49.12.16 with SMTP id u16mr31139qeb.31.1363551474683; Sun, 17 Mar 2013 13:17:54 -0700 (PDT) Path: k8ni188qas.0!nntp.google.com!dd2no2156804qab.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Sun, 17 Mar 2013 13:17:54 -0700 (PDT) In-Reply-To: <19d3c1d6-0872-40fd-bd58-c945970bee3f@googlegroups.com> Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=92.56.144.217; posting-account=qSFChAoAAADOxjlzcArb65cWcTn1UEI6 NNTP-Posting-Host: 92.56.144.217 References: <19d3c1d6-0872-40fd-bd58-c945970bee3f@googlegroups.com> User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: Subject: Re: ld: library not found for -lcrt1.10.5.o From: claragranell@gmail.com Injection-Date: Sun, 17 Mar 2013 20:17:54 +0000 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Date: 2013-03-17T13:17:54-07:00 List-Id: 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:=20 $ locate crt1.10.5.o=20 I added this folder to the variable LIBRARY_PATH, by writing the following = into ~/.bash_profile=20 export LIBRARY_PATH=3D/here_folder_where_my_library_is/:${LIBRARY_PATH}=20 Re-read bash_profile:=20 $ source ~/.bash_profile=20 For the moment, this "solved" the problem.=20 I hope it helps!=20 - 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 pr= oblem I had in any other place. >=20 > I have MAC OSX 10.7.4 and I am trying to install GNAT 2012 (I would be ha= ppy with 2010 or 2011, but I have the same problems with them). I install G= NAT using the doinstall script, and it works fine (supposedly), but then I = try to compile any test program and I get: >=20 >=20 >=20 > >> gnatmake test.adb >=20 > gnatbind -x test.ali >=20 > gnatlink test.ali >=20 > ld: library not found for -lcrt1.10.5.o >=20 > collect2: ld returned 1 exit status >=20 > gnatlink: error when calling /usr/local/gnat/bin/gcc >=20 > gnatmake: *** link failed. >=20 >=20 >=20 > Anyone knows what is happening? Any help will be appreciated. Thanks in a= dvance! >=20 >=20 >=20 > Clara.-