From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 27822 invoked by alias); 30 Apr 2012 12:40:20 -0000 Received: (qmail 27813 invoked by uid 22791); 30 Apr 2012 12:40:19 -0000 X-SWARE-Spam-Status: No, hits=-0.1 required=5.0 tests=BAYES_20,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,RCVD_IN_DNSWL_NONE,RCVD_IN_HOSTKARMA_YE X-Spam-Check-By: sourceware.org Received: from nm27-vm0.bullet.mail.sp2.yahoo.com (HELO nm27-vm0.bullet.mail.sp2.yahoo.com) (98.139.91.232) by sourceware.org (qpsmtpd/0.43rc1) with SMTP; Mon, 30 Apr 2012 12:40:03 +0000 Received: from [72.30.22.92] by nm27.bullet.mail.sp2.yahoo.com with NNFMP; 30 Apr 2012 12:40:02 -0000 Received: from [68.142.200.227] by tm14.bullet.mail.sp2.yahoo.com with NNFMP; 30 Apr 2012 12:40:02 -0000 Received: from [66.94.237.124] by t8.bullet.mud.yahoo.com with NNFMP; 30 Apr 2012 12:40:02 -0000 Received: from [127.0.0.1] by omp1029.access.mail.mud.yahoo.com with NNFMP; 30 Apr 2012 12:40:02 -0000 Received: (qmail 20534 invoked from network); 30 Apr 2012 12:40:02 -0000 X-Yahoo-SMTP: YbXY4QiswBDIwUvpBHqjGlM60e.1oHNBgoHih_YhU30ZyW4- Received: from [192.168.0.2] (heitkamp@76.250.139.197 with plain) by smtp101.sbc.mail.mud.yahoo.com with SMTP; 30 Apr 2012 05:40:02 -0700 PDT Message-ID: <4F9E881C.7000900@ameritech.net> Date: Mon, 30 Apr 2012 12:40:00 -0000 From: "F. Heitkamp" User-Agent: Mozilla/5.0 (X11; Linux i686 on x86_64; rv:11.0) Gecko/20120327 Thunderbird/11.0.1 MIME-Version: 1.0 To: gcc-help@gcc.gnu.org Subject: g++ libstdc++ linker question. Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit 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-04/txt/msg00315.txt.bz2 People will tell me to ask on matplotlib list but I believe this a more generic GNU C++ question. I have been trying to run matplotlib that I built from source on my linux from scratch like box. When I try to run an example I get: bash-4.2$ python2.6 matplotlib-ex1.py Traceback (most recent call last): File "matplotlib-ex1.py", line 13, in import matplotlib.pyplot as plt File "/usr/lib/python2.6/site-packages/matplotlib/pyplot.py", line 23, in from matplotlib.figure import Figure, figaspect File "/usr/lib/python2.6/site-packages/matplotlib/figure.py", line 16, in import artist File "/usr/lib/python2.6/site-packages/matplotlib/artist.py", line 6, in from transforms import Bbox, IdentityTransform, TransformedBbox, TransformedPath File "/usr/lib/python2.6/site-packages/matplotlib/transforms.py", line 34, in from matplotlib._path import affine_transform ImportError: /usr/lib/python2.6/site-packages/matplotlib/_path.so: undefined symbol: _ZSt16__ostream_insertIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_PKS3_i I see this symbol is in 32 bits libstdc++ library, but does not seem to appear in 64 bits versions. bash-4.2$ ldd /usr/lib/python2.6/site-packages/matplotlib/_path.so linux-gate.so.1 => (0xffffe000) libpython2.6.so.1.0 => /usr/lib/libpython2.6.so.1.0 (0xf74f7000) libgcc_s.so.1 => /lib/libgcc_s.so.1 (0xf74de000) libpthread.so.0 => /lib/libpthread.so.0 (0xf74c4000) libc.so.6 => /lib/libc.so.6 (0xf7367000) libdl.so.2 => /lib/libdl.so.2 (0xf7362000) libutil.so.1 => /lib/libutil.so.1 (0xf735e000) libm.so.6 => /lib/libm.so.6 (0xf7338000) /lib/ld-linux.so.2 (0xf77d1000) libstdc++ is not shown as being linked with _path.so Any thoughts? Fred