From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 14176 invoked by alias); 2 May 2012 11:37:15 -0000 Received: (qmail 14167 invoked by uid 22791); 2 May 2012 11:37:14 -0000 X-SWARE-Spam-Status: No, hits=-7.1 required=5.0 tests=AWL,BAYES_00,KHOP_RCVD_UNTRUST,KHOP_THREADED,RCVD_IN_DNSWL_HI,RCVD_IN_HOSTKARMA_W,SPF_HELO_PASS,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 02 May 2012 11:36:52 +0000 Received: from int-mx01.intmail.prod.int.phx2.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id q42BapxP008198 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Wed, 2 May 2012 07:36:51 -0400 Received: from zebedee.pink (ovpn-113-25.phx2.redhat.com [10.3.113.25]) by int-mx01.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id q42BaoCj015169; Wed, 2 May 2012 07:36:51 -0400 Message-ID: <4FA11C52.9020009@redhat.com> Date: Wed, 02 May 2012 11:37:00 -0000 From: Andrew Haley User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:11.0) Gecko/20120329 Thunderbird/11.0.1 MIME-Version: 1.0 To: gcc-help@gcc.gnu.org Subject: Re: g++ libstdc++ linker question. References: <4F9E881C.7000900@ameritech.net> <4FA1170F.9060409@ameritech.net> In-Reply-To: <4FA1170F.9060409@ameritech.net> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit 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: 2012-05/txt/msg00006.txt.bz2 On 05/02/2012 12:14 PM, F. Heitkamp wrote: > On 04/30/12 13:47, Jonathan Wakely wrote: >> On 30 April 2012 18:28, Jonathan Wakely wrote: >>> On 30 April 2012 13:39, F. Heitkamp wrote: >>> >> The matplotlib I use is built with: >> >> python setupegg.py build_ext \ >> --rpath=/opt/gcc-4.4.3/lib64 >> python setupegg.py build >> python setupegg.py install --user >> >> The --rpath option ensures the right libstdc++.so is found at runtime >> (we have several installed). That build works here, and is linked to >> libstdc++.so. Unfortunately it builds matplotlib as a python egg, >> which is a very annoying package format. I'd rather not install it >> via egg, but have no experience doing so and can't suggest why your >> build was not linked to libstdc++. > > This last suggestion did not work for me. I got the same undefined > symbol error. My linux setup is a 64 bits kernel running on sort of a > hybrid 32/64 bits system. By that I mean I have some 64 bits userland > along with the 32bits. When I configure python programs using the usual > commands it comes back with arch x86_64. Anyway I guess this is getting > off topic for this list now, but suggestions are welcome nonetheless. We really need you to answer this question: > Is _path.so a 32-bit or 64-bit library? From the missing symbol I'm > assuming 32-bit. And if it is compiled 32-bit, we need to know why. Andrew.