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=unavailable autolearn_force=no version=3.4.4 X-Received: by 10.224.189.78 with SMTP id dd14mr9845337qab.0.1363551348654; Sun, 17 Mar 2013 13:15:48 -0700 (PDT) X-Received: by 10.49.85.233 with SMTP id k9mr1025342qez.41.1363551348624; Sun, 17 Mar 2013 13:15:48 -0700 (PDT) Path: eternal-september.org!reader01.eternal-september.org!reader02.eternal-september.org!news.eternal-september.org!news.eternal-september.org!mx05.eternal-september.org!feeder.eternal-september.org!news.glorb.com!t2no4198875qal.0!news-out.google.com!k8ni1129qas.0!nntp.google.com!t2no4198869qal.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Sun, 17 Mar 2013 13:15:48 -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: <94a659a7-9a88-4919-adc3-e55ef776ac09@googlegroups.com> Subject: Re: ld: library not found for -lcrt1.10.5.o From: claragranell@gmail.com Injection-Date: Sun, 17 Mar 2013 20:15:48 +0000 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Xref: news.eternal-september.org comp.lang.ada:14608 Date: 2013-03-17T13:15:48-07:00 List-Id: Solved (or at least it is working) 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=3D/here_folder_where_my_library_is/:${LIBRARY_PATH} Re-read bash_profile: $ source ~/.bash_profile For the moment, this "solved" the problem.=20 I hope it helps! 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.-