AnsweredAssumed Answered

Open64 library path question

Question asked by yurtesen on May 11, 2012
Latest reply on May 16, 2012 by yurtesen

I am trying to install AMD x86 Open64 on Scientific Linux 6.2 amd64 on a custom folder...

 

If I have  lib/gcc-lib/x86_64-open64-linux/4.5.1/64 in LD_LIBRARY_PATH and if I try to compile a simple program, I get the following error:

 

lib/gcc-lib/x86_64-open64-linux/4.5.1/wgen42: error while loading shared libraries: libstdc++.so.6: wrong ELF class: ELFCLASS64

 

If I use lib/gcc-lib/x86_64-open64-linux/4.5.1/32 then it works.

 

so I wonder, why do I have to use 32bit libraries on 64bit os ? am I doing something wrong?

 

Thanks,

Evren

Outcomes