From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 30394 invoked by alias); 18 May 2011 10:05:02 -0000 Received: (qmail 30354 invoked by uid 22791); 18 May 2011 10:05:02 -0000 X-SWARE-Spam-Status: No, hits=-0.5 required=5.0 tests=AWL,BAYES_00,FAKE_REPLY_C,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,TW_LR,TW_RW,TW_WX,TW_XG,TW_XR X-Spam-Check-By: sourceware.org Received: from mailout-de.gmx.net (HELO mailout-de.gmx.net) (213.165.64.23) by sourceware.org (qpsmtpd/0.43rc1) with SMTP; Wed, 18 May 2011 10:04:48 +0000 Received: (qmail 24210 invoked by uid 0); 18 May 2011 10:04:46 -0000 Received: from 199.64.72.252 by www013.gmx.net with HTTP; Wed, 18 May 2011 12:04:46 +0200 (CEST) Content-Type: text/plain; charset="utf-8" Date: Wed, 18 May 2011 10:23:00 -0000 From: "Klaus Rudolph" Message-ID: <20110518100445.25120@gmx.net> MIME-Version: 1.0 Subject: Re: can't run gcc 4.5.3/4.6.0 under ubuntu 11.04 To: Axel Freyn , gcc-help@gcc.gnu.org Content-Transfer-Encoding: 8bit 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/msg00235.txt.bz2 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? Regards Klaus -- Ihr GMX Postfach immer dabei: die kostenlose GMX Mail App für Android. Komfortabel, sicher und schnell: www.gmx.de/android