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

Binh Q. Pham binhpham at cs.rutgers.edu
Thu Jul 21 03:36:14 EDT 2011


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:
https://lists.cs.princeton.edu/pipermail/parsec-users/2011-May/001121.html
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
     pkgs/apps/bodytracks/parsec/gcc-pthreads.bldconf
     pkgs/apps/bodytracks/parsec/gcc-tbb.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,
Binh



More information about the parsec-users mailing list