[AWS] Simple Build Issue

Pascal Obry pascal at obry.net
Wed Aug 10 13:06:27 CEST 2011


Joseph,

> So I've install 2011 into /usr/gnat however running into it not
> finding libc.so ...
> joseph at joseph-laptop:~/aws$ make setup
> i686-pc-linux-gnu-gcc check_config.o -o check_config
> /usr/bin/../libexec/gcc/i686-pc-linux-gnu/4.5.3/ld: cannot find -lc
> collect2: ld returned 1 exit status
> gprbuild: link of check_config.c failed

Never seen this one!

> Setup OS specific definitions
> make[1]: ../.build/native/release/../setup/check_config: Command not found
> make[1]: *** [../.build/native/release/../setup/src/aws-os_lib.ads] Error 127
> make: *** [config_setup] Error 2
>
> My libc.so is located:
> /usr/lib/i386-linux-gnu/libc.so
>
> So i tried just to link the library:
> sudo ln -s /usr/lib/i386-linux-gnu/libc.a /usr/gnat/lib/libc.a

Please undo, I don't think this is right anyway.

> I also tried the work around in this blog:
> http://blog.adalabs.com/post/2011/07/26/AWS-GPL-2.10.0-(2011)-on-Ubuntu-11.04
> . Any ideas?

Maybe a multi-arch issue, just a guess, can you try with:

    $ export LIBRARY_PATH=/usr/lib/i386-linux-gnu

?

Also make sure the libc C development files are installed into your 
system, on GNU/Debian:

    $ sudo aptitude install libc6-dev

Pascal.

-- 

--|------------------------------------------------------
--| Pascal Obry                           Team-Ada Member
--| 45, rue Gabriel Peri - 78114 Magny Les Hameaux FRANCE
--|------------------------------------------------------
--|    http://www.obry.net  -  http://v2p.fr.eu.org
--| "The best way to travel is by means of imagination"
--|
--| gpg --keyserver keys.gnupg.net --recv-key F949BD3B



More information about the AWS mailing list