[parsec-users] Running bodytrack: /usr/lib/libstdc++.so.6: version 'GLIBCXX_3.4.9' not found

Mahmood Naderan nt_mahmood at yahoo.com
Thu Jul 21 04:38:03 EDT 2011

 It is not related to PARSEC itself. The problem is that the binary trying to access a different libstdc++

run "ldd bodytrack" and it will show which library is missing. 

// Naderan *Mahmood;

From: Binh Q. Pham <binhpham at cs.rutgers.edu>
To: parsec-users at lists.cs.princeton.edu
Sent: Thursday, July 21, 2011 12:06 PM
Subject: [parsec-users] Running bodytrack: /usr/lib/libstdc++.so.6: version 'GLIBCXX_3.4.9' not found

Hi all,
I am trying to run bodytrack (parsec 2.1) on a simics x86 simulated machine, and I get this error:
./bodytrack: /usr/lib/libstdc++.so.6: version 'GLIBCXX_3.4.9' not found (required by ./bodytrack)

I have followed the instruction in this thread:
to add '-static' in the following places:
1. In config/gcc.bldconf:
PORTABILITY_FLAGS="-static-libgcc -Wl,--hash-style=both,--as-needed -static"
export LDFLAGS="-L$(CC_HOME}/lib64 -L${CC_HOME}/lib -static"
2. In pkgs/apps/bodytracks/parsec/gcc-openmp.bldconf
I added "-static" to the build_env.

I am compiling Parsec on a 32 bit x86 Linux machine.

I would appreciate if someone can point out what I am missing here.

Thank you,

parsec-users mailing list
parsec-users at lists.cs.princeton.edu

More information about the parsec-users mailing list