My fedora 8 system:

bash2 :2 [EMAIL PROTECTED] 11:47:40; gcc -v
Using built-in specs.
Target: i686-pc-linux-gnu
Configured with: /home/mleisner/src/gcc-4.3.1/configure --with-mpfr=/usr/local/
--prefix=/usr/gnu/gcc-4.3.1
Thread model: posix
gcc version 4.3.1 (GCC)

% oggDump
oggDump: /usr/lib/libstdc++.so.6: version `GLIBCXX_3.4.9' not found (required
by oggDump)
% LD_LIBRARY_PATH=/usr/gnu/gcc/lib oggDump
usage <oggDump> [options] file
Options are:
 -h         : help screen
 -g         : dump pages
 -p         : dump packets
 -l <level> : information depth  default: 5(most information)
 -s         : promt for streams to dump
 -o <file>  : output dump information to a file
bash2 :2 [EMAIL PROTECTED] 11:48:27;

By default, I suppose a -Wl,-rpath,<prefix-lib> would be useful...

marty


-- 
           Summary: installing gcc in a non-conventional place has problems
                    finding libstdc++.
           Product: gcc
           Version: 4.3.1
            Status: UNCONFIRMED
          Severity: minor
          Priority: P3
         Component: c++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: leisner at rochester dot rr dot com
  GCC host triplet: i686-pc-linux-gnu


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37116

Reply via email to