This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: can't run gcc 4.5.3/4.6.0 under ubuntu 11.04


On Wed, May 18, 2011 at 8:10 PM, Ian Lance Taylor <iant@google.com> wrote:
> "Klaus Rudolph" <lts-rudolph@gmx.de> writes:
>
>> Axel Freyn wrote:
>>> Did you install the development packages? that is, the ubuntu-package
>>> libc6-dev?
>>> If not, the compiler is right :)
>>> If yes -- could you post where on your Ñystem libc.so and libm.so really
>>> exist?
>>>
>>
>> the packages are installed and running the gcc/g++ compiler which comes with ubuntu runs fine.
>>
>> The libs could be found:
>>
>> krud@mauersegler:~$ ls -lsa /usr/lib/i386-linux-gnu/libc.so
>> 4 -rw-r--r-- 1 root root 283 2011-04-11 13:03 /usr/lib/i386-linux-gnu/libc.so
>> krud@mauersegler:~$ ls -lsa /lib/i386-linux-gnu/libc.so.6
>> 0 lrwxrwxrwx 1 root root 12 2011-05-17 14:27 /lib/i386-linux-gnu/libc.so.6 -> libc-2.13.so
>> krud@mauersegler:~/test/c++/compile_ubuntu_11.04$ ls -lsa /lib/i386-linux-gnu/libc-2.13.so
>> 1404 -rwxr-xr-x 1 root root 1434180 2011-04-11 13:08 /lib/i386-linux-gnu/libc-2.13.s
>>
>> The xgcc is not looking inside Â/usr/lib/i386-linux-gnu ...
>>
>> Is there a trick to setup the compiler build (configure??, environment flags) with some additional lib path infos to give xgcc a chance to find the libs?
>
>
> This is interesting and somewhat annoying. ÂI hope the Ubuntu developers
> who chose to move these packages will be willing to share patches with
> gcc so that gcc works by default.
It gets better - try and find a console under Unity....

Jeff


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]