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=-0.9 required=5.0 tests=BAYES_00,FORGED_GMAIL_RCVD, FREEMAIL_FROM autolearn=no autolearn_force=no version=3.4.4 X-Google-Thread: 103376,538223cf6855beeb X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII Path: g2news1.google.com!postnews.google.com!24g2000yqr.googlegroups.com!not-for-mail From: Thiago Holanda Newsgroups: comp.lang.ada Subject: Re: Build error: cannot find -lc Date: Thu, 8 Sep 2011 17:46:36 -0700 (PDT) Organization: http://groups.google.com Message-ID: References: <3e304b4f-7319-42d9-96c1-df74aca531c3@24g2000yqr.googlegroups.com> NNTP-Posting-Host: 187.106.187.67 Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: posting.google.com 1315529196 13883 127.0.0.1 (9 Sep 2011 00:46:36 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Fri, 9 Sep 2011 00:46:36 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: 24g2000yqr.googlegroups.com; posting-host=187.106.187.67; posting-account=T4XR2goAAADMyHSeavI1xF6pPRqoWBoa User-Agent: G2/1.0 X-Google-Web-Client: true X-Google-Header-Order: ASELCHRU X-HTTP-UserAgent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/534.30 (KHTML, like Gecko) Ubuntu/11.04 Chromium/12.0.742.112 Chrome/12.0.742.112 Safari/534.30,gzip(gfe) Xref: g2news1.google.com comp.lang.ada:20880 Date: 2011-09-08T17:46:36-07:00 List-Id: On Sep 8, 1:23=A0am, David Sauvage wrote: > On 8 sep, 04:09, Thiago Holanda wrote:> ... > > /usr/gnat/libexec/gcc/x86_64-pc-linux-gnu/4.5.3/ld: cannot find -lc > > ... > > 1- Close GPS > 2- Enter the following line in your working terminal > export LD_LIBRARY_PATH=3D/usr/lib/i386-linux-gnu:$LD_LIBRARY_PATH > 3- Build your application again > > You could add the export line to your ~/.bashrc file. > > Cheers, Thank you for your help David, But, i only need to change a little thing to work in Ubuntu: export LIBRARY_PATH=3D/usr/lib/x86_64-linux-gnu Regards, Thiago