Welcome to gem5 Q&A, where you can ask questions and receive answers from other members of the community.

/lib/libc.so.6: version `GLIBC_2.15' not found(required by /lib64/libX11.so.6)

0 votes

My native environment is Ubuntu 14.04LTS.

When I run my testcode on gem5 in full system model, it show the errors. TestGauss2 is a statically compiled binary executable file. 

I searched the errors, they showed that libc.so.6 only can support GLIBC 2.6 and below. But I can't update GLIBC on gem5, and I also can't copy the source code(XXX.tar.gz) to make install. Gem5 will show there is no space.

Then, I tried to install the low version of gcc (4.1.2), and recompiled the code. Then I mounted the TestGauss2 to the gem5, it still show the following errors.

./TestGauss2: /lib/libc.so.6: version `GLIBC_2.15' not found (required by ./TestGauss2)
./TestGauss2: /lib/libc.so.6: version `GLIBC_2.7' not found (required by ./TestGauss2)
./TestGauss2: /lib/libc.so.6: version `GLIBC_2.14' not found (required by ./TestGauss2)
./TestGauss2: /lib/libc.so.6: version `GLIBC_2.9' not found (required by ./TestGauss2)
./TestGauss2: /lib/libc.so.6: version `GLIBC_2.11' not found (required by ./TestGauss2)
./TestGauss2: /lib/libc.so.6: version `GLIBC_2.11' not found (required by /lib64/libfreetype.so.6)
./TestGauss2: /lib/libc.so.6: version `GLIBC_2.14' not found (required by /lib64/libfreetype.so.6)
./TestGauss2: /lib/libc.so.6: version `GLIBC_2.14' not found (required by /lib64/libXext.so.6)
./TestGauss2: /lib/libc.so.6: version `GLIBC_2.14' not found (required by /lib64/libX11.so.6)
./TestGauss2: /lib/libc.so.6: version `GLIBC_2.15' not found (required by /lib64/libX11.so.6)
./TestGauss2: /lib/libc.so.6: version `GLIBC_2.11' not found (required by /lib64/libpng12.so.0)
./TestGauss2: /lib/libc.so.6: version `GLIBC_2.14' not found (required by /lib64/libpng12.so.0)
./TestGauss2: /lib/libc.so.6: version `GLIBC_2.14' not found (required by /lib64/libxcb.so.1)

   Hope someone can help me,I will be grateful.

 

asked Mar 15 in Configuration by zhihui_zhao (140 points)

Please log in or register to answer this question.

...