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 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: a07f3367d7,538223cf6855beeb X-Google-Attributes: gida07f3367d7,public,usenet X-Google-NewGroupId: yes X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news2.google.com!postnews.google.com!q8g2000yqe.googlegroups.com!not-for-mail From: David Sauvage Newsgroups: comp.lang.ada Subject: Re: Build error: cannot find -lc Date: Wed, 7 Sep 2011 21:23:56 -0700 (PDT) Organization: http://groups.google.com Message-ID: References: <3e304b4f-7319-42d9-96c1-df74aca531c3@24g2000yqr.googlegroups.com> NNTP-Posting-Host: 41.136.239.156 Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 X-Trace: posting.google.com 1315455836 505 127.0.0.1 (8 Sep 2011 04:23:56 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Thu, 8 Sep 2011 04:23:56 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: q8g2000yqe.googlegroups.com; posting-host=41.136.239.156; posting-account=RLLoCgoAAAAlrjFze52eMRxLw8Zw6JGC User-Agent: G2/1.0 X-Google-Web-Client: true X-Google-Header-Order: HUALESNKRC X-HTTP-UserAgent: Mozilla/5.0 (X11; Linux i686; rv:6.0.1) Gecko/20100101 Firefox/6.0.1,gzip(gfe) Xref: g2news2.google.com comp.lang.ada:21847 Date: 2011-09-07T21:23:56-07:00 List-Id: 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=/usr/lib/i386-linux-gnu:$LD_LIBRARY_PATH 3- Build your application again You could add the export line to your ~/.bashrc file. Cheers,