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

Yungang Bao ybao at CS.Princeton.EDU
Thu Jul 21 16:12:33 EDT 2011


You probably need to update you libstdc++ or use old version gcc to compile the workload. 

Yungang

----- Original Message -----
From: "Binh Q. Pham" <binhpham at cs.rutgers.edu>
To: "Mahmood Naderan" <nt_mahmood at yahoo.com>
Cc: "PARSEC Users" <parsec-users at lists.cs.princeton.edu>
Sent: Thursday, July 21, 2011 12:45:28 PM
Subject: Re: [parsec-users] Running bodytrack: /usr/lib/libstdc++.so.6: version 'GLIBCXX_3.4.9' not found

Thanks for a quick response. I have run the ldd command inside the 
simulated machine, and this is what I get:
./bodytrack: /usr/lib/libstdc++.so.6: version 'GLIBCXX_3.4.9' not found 
(required by ./bodytrack)
./bodytrack: /usr/lib/libstdc++.so.6: version 'GLIBCXX_3.4.11' not found 
(required by ./bodytrack)
linux-gate.so.1 => (0x002fa000)
libpthread.so.0 => /lib/libpthread.so.0 (0x00b2a000)
libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0x006c2000)

 From the thread that I pasted in my previous post, it seems like 
inserting "-static" during compilation can solve this problem, but it 
doesn't in my case.
On 07/21/2011 04:38 AM, Mahmood Naderan wrote:
>   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:
> 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
>
> _______________________________________________
> parsec-users mailing list
> parsec-users at lists.cs.princeton.edu
> https://lists.cs.princeton.edu/mailman/listinfo/parsec-users

_______________________________________________
parsec-users mailing list
parsec-users at lists.cs.princeton.edu
https://lists.cs.princeton.edu/mailman/listinfo/parsec-users


More information about the parsec-users mailing list