Problem with C++ libraries

From: Baudilio Tejerina (tejerina_at_chem.northwestern.edu)
Date: Tue Jun 27 2006 - 10:29:32 CDT

Hi,

I have installed the binary file of NAMD(2.6-b1) on a x86_64 machine
running 'CentOS Linux 2.6.9-22.ELsmp' but when I call the program, it
reports the following error:

./namd2: error while loading shared libraries: libstdc++.so.5: cannot
open shared object file: No such file or directory

The dependencies of such executable are:
         libm.so.6 => /lib64/tls/libm.so.6 (0x0000003fe3500000)
         libdl.so.2 => /lib64/libdl.so.2 (0x0000003fe3300000)
         libz.so.1 => /usr/lib64/libz.so.1 (0x0000003fe3700000)
         libstdc++.so.5 => not found
         libc.so.6 => /lib64/tls/libc.so.6 (0x0000003fe3000000)
         /lib64/ld-linux-x86-64.so.2 (0x0000003fe2e00000)

If I create a link from 'libstdc++.so.5' to 'libstdc++.so.6', then I
get the following error:

./namd2: /usr/lib64/libstdc++.so.5: version `CXXABI_1.2' not found
(required by ./namd2)
./namd2: /usr/lib64/libstdc++.so.5: version `GLIBCPP_3.2' not found
(required by ./namd2)

There is an obvious mismatch between my local C++ libraries and those
what the code was compiled with.

I believe this problem has been reported before but I haven't seen
any solution.
Could anyone on the list comment this issue, please?

Thanks,

Baudilio

Baudilio Tejerina
Department of Chemistry
Northwestern University
2145 Sheridan Rd.
Evanston, IL 60208-3113

Phone: (847) 467 5054
Fax: (847) 467 4996
Office location: Center for Nanofabrication and Molecular Self-
Assembly, 2190 Campus Dr. (#4027).

This archive was generated by hypermail 2.1.6 : Wed Feb 29 2012 - 15:42:16 CST