From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 24385 invoked by alias); 19 May 2011 00:35:54 -0000 Received: (qmail 24287 invoked by uid 22791); 19 May 2011 00:35:53 -0000 X-SWARE-Spam-Status: No, hits=-0.7 required=5.0 tests=AWL,BAYES_50,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,RFC_ABUSE_POST,TW_LR,TW_RW,TW_WX,TW_XG,TW_XR X-Spam-Check-By: sourceware.org Received: from mail-ww0-f51.google.com (HELO mail-ww0-f51.google.com) (74.125.82.51) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 19 May 2011 00:35:39 +0000 Received: by wwf26 with SMTP id 26so2196549wwf.8 for ; Wed, 18 May 2011 17:35:38 -0700 (PDT) MIME-Version: 1.0 Received: by 10.216.58.207 with SMTP id q57mr2318291wec.63.1305765337783; Wed, 18 May 2011 17:35:37 -0700 (PDT) Received: by 10.216.73.1 with HTTP; Wed, 18 May 2011 17:35:37 -0700 (PDT) Reply-To: noloader@gmail.com In-Reply-To: References: <20110518100445.25120@gmx.net> Date: Thu, 19 May 2011 04:48:00 -0000 Message-ID: Subject: Re: can't run gcc 4.5.3/4.6.0 under ubuntu 11.04 From: Jeffrey Walton To: Ian Lance Taylor Cc: Klaus Rudolph , Axel Freyn , gcc-help@gcc.gnu.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-IsSubscribed: yes Mailing-List: contact gcc-help-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-help-owner@gcc.gnu.org X-SW-Source: 2011-05/txt/msg00263.txt.bz2 On Wed, May 18, 2011 at 8:10 PM, Ian Lance Taylor wrote: > "Klaus Rudolph" 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 =D1=95ystem 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/li= bc.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-linu= x-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 =C2=A0/usr/lib/i386-linux-gnu ... >> >> Is there a trick to setup the compiler build (configure??, environment f= lags) with some additional lib path infos to give xgcc a chance to find the= libs? > > > This is interesting and somewhat annoying. =C2=A0I hope the Ubuntu develo= pers > 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