comp.lang.ada
 help / color / mirror / Atom feed
From: Thiago Holanda <tholanda@gmail.com>
Subject: Re: Build error: cannot find -lc
Date: Thu, 8 Sep 2011 17:46:36 -0700 (PDT)
Date: 2011-09-08T17:46:36-07:00	[thread overview]
Message-ID: <b47552ee-297d-451a-be97-a910c92f9352@24g2000yqr.googlegroups.com> (raw)
In-Reply-To: eca52ac2-ee09-46a9-b52c-6817964f4a61@q8g2000yqe.googlegroups.com

On Sep 8, 1:23 am, David Sauvage <david.sauv...@adalabs.com> wrote:
> On 8 sep, 04:09, Thiago Holanda <thola...@gmail.com> 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,

Thank you for your help David,

But, i only need to change a little thing to work in Ubuntu:

export LIBRARY_PATH=/usr/lib/x86_64-linux-gnu

Regards,

Thiago




  reply	other threads:[~2011-09-09  0:46 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-09-08  0:09 Build error: cannot find -lc Thiago Holanda
2011-09-08  4:23 ` David Sauvage
2011-09-09  0:46   ` Thiago Holanda [this message]
2011-09-09  3:44     ` David Sauvage
2011-09-09  5:40     ` Pascal Obry
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox