QuantumATK Forum

QuantumATK => Installation and License Questions => Topic started by: zzhang on July 6, 2009, 23:53

Title: ATK-semi library
Post by: zzhang on July 6, 2009, 23:53
Hello,

When running the ATK-semi, I go the following error: /home/zzhang/ATK/atk-2009.06/nlpython/bin/nlpython_exec: /lib64/tls/libc.so.6: version `GLIBC_2.4' not found (required by /home/zzhang/ATK/atk-2009.06/nlpython/bin/../lib/libpython2.6.so.1.0).

When I tried to look for GLIBC_2.4 I found the following link:
http://gbgames.com/blog/2008/04/linux-game-development-glibc_24-errors-solved/

There it was mentioned that GLIBC_2.4 is not needed when the correct compiler flags export CFLAGS="-fno-stack-protector" are used. If by mistake the flag -fno-stack-protector is used in building the libraries, it requires GLIBC_2.4.

Could somebody explain if this the case for the ATK-semi? Or is it necessary to install GLIBC_2.4?

Thanks,
Zhiyong
Title: Re: ATK-semi library
Post by: zh on July 10, 2009, 03:10
If you just run the command like the following:
/path_to_atk-2009.06/nlpython/bin/nlpython
, you will see some messages that tell us the compiler platform: [GCC 4.2.4 (Ubuntu 4.2.4-5ubuntu1)] on linux2.

From the error message you have met, I guess the compiler flag "CFLAGS="-fno-stack-protector" was not used to compile the version of ATK-Semi library you have installed. So it is necessary to install GLIBC_2.4. 

Anyway, the tip in your link is a good suggestion to do some tests for ATK-Semi library to avoid installing GLBC_2.4.
Title: Re: ATK-semi library
Post by: Nordland on July 10, 2009, 15:22
Dear zzhang.

Could you please tell what kind of linux you are running under?

It would be great to know....
Title: Re: ATK-semi library
Post by: renren123123 on July 22, 2009, 02:51
I install the ATK-SE, as mentioned above, I face  the problem when runing:
/home/atk2009/atk-2009.06/nlpython/bin/nlpython_exec: /lib64/tls/libc.so.6: version `GLIBC_2.4' not found (required by /home/atk2009/atk-2009.06/nlpython/bin/../lib/libpython2.6.so.1.0)
How to slove it?
My linux:
Linux node11 2.6.9-78.ELsmp #1 SMP Wed Jul 9 15:46:26 EDT 2008 x86_64 x86_64 x86_64 GNU/Linux
Thank you very much!!!
Title: Re: ATK-semi library
Post by: renren123123 on July 24, 2009, 02:50
http://rpm.pbone.net/index.php3/stat/3/srodzaj/1/search/libc.so.6(GLIBC_2.4)
Here a lot of RPM are shown,
which one for our linux system ?
Title: Re: ATK-semi library
Post by: zh on July 24, 2009, 07:02
If you do not know which one should be chosen, recommend you use "yum extender" or other GUI tool to update your packages. It will be easy.