From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 21403 invoked by alias); 29 Jul 2010 19:05:06 -0000 Received: (qmail 21394 invoked by uid 22791); 29 Jul 2010 19:05:06 -0000 X-SWARE-Spam-Status: No, hits=-2.1 required=5.0 tests=AWL,BAYES_00 X-Spam-Check-By: sourceware.org Received: from rock.gnat.com (HELO rock.gnat.com) (205.232.38.15) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 29 Jul 2010 19:04:54 +0000 Received: from localhost (localhost.localdomain [127.0.0.1]) by filtered-rock.gnat.com (Postfix) with ESMTP id 6C8442BAC20; Thu, 29 Jul 2010 15:04:52 -0400 (EDT) Received: from rock.gnat.com ([127.0.0.1]) by localhost (rock.gnat.com [127.0.0.1]) (amavisd-new, port 10024) with LMTP id UF09h3+zg3zz; Thu, 29 Jul 2010 15:04:52 -0400 (EDT) Received: from joel.gnat.com (localhost.localdomain [127.0.0.1]) by rock.gnat.com (Postfix) with ESMTP id 1539C2BAC02; Thu, 29 Jul 2010 15:04:51 -0400 (EDT) Received: by joel.gnat.com (Postfix, from userid 1000) id E1D045BE20; Thu, 29 Jul 2010 12:04:39 -0700 (PDT) Date: Thu, 29 Jul 2010 19:05:00 -0000 From: Joel Brobecker To: Michael Snyder Cc: "gdb-patches@sourceware.org" Subject: Re: 7.2 branch, configure problem, --with-python Message-ID: <20100729190439.GC13267@adacore.com> References: <4C508CD3.4070309@vmware.com> <4C508DE6.8020807@vmware.com> <4C50914E.1030408@vmware.com> <20100728213636.GX13267@adacore.com> <4C50B58A.5080408@vmware.com> <20100729152827.GZ13267@adacore.com> <4C51BC60.1040104@vmware.com> <4C51BFEE.20602@vmware.com> <20100729184046.GB13267@adacore.com> <4C51CD34.8040501@vmware.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4C51CD34.8040501@vmware.com> User-Agent: Mutt/1.5.20 (2009-06-14) Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2010-07/txt/msg00549.txt.bz2 > Umm, yeah. configure is always looking for the libs in > /lib/config. Which for me (both system > and personal install) contains only the static libs. And that would be what a normal install looks like: - If you configure python with --enable-shared, lib/ should only contain the dso, and lib/python-/config/ should only contain the archive. - If you configure without --enable-shared, then lib/ should only contain the archive. And so should your lib/python-/config/ directory. The bottom line, IMO, is that you python install is simply broken. It looks like libpython.so was built separately from the rest of the python install. For instance, what does "ldd /path/to/your/python" show? Is it linked against libpython.so? -- Joel