LAM/MPI logo

LAM/MPI General User's Mailing List Archives

  |   Home   |   Download   |   Documentation   |   FAQ   |   all just in this list

From: Brian W. Barrett (brbarret_at_[hidden])
Date: 2004-12-07 19:19:39


Tru Huynh wrote:
> On Tue, Dec 07, 2004 at 03:17:12PM -0500, Brian Barrett wrote:
>
>>On Dec 7, 2004, at 2:19 PM, Tru Huynh wrote:
>>
>>>I am trying to compile lam-7.1.1 or lam-7.1.2b10 with gcc 3.4.3 on a
>>>x86_64 machine.
>>>Both trials fails during the configure run:
>>
>>>checking size of bool... -1
>>>configure: WARNING: *** Problem running configure test!
>>>configure: WARNING: *** See config.log for details.
>>>configure: error: *** Cannot continue.
>>
>>Can you send config.log? It's pretty useful in tracking these things
>>down. Immediately, nothing jumps out at me as to why this is
>>happening.
>
> > sure here they are
> ok: lam-7.1.2b10 with gcc-3.2.3
> 2 non working with gcc-3.4.3 (7.1.1 and 7.1.2b10)

 From the conifg.log for gcc 3.4.3:
configure:8805: checking size of bool
configure:8828: g++ -o conftest -O3 -DLAM_BUILDING=1 conftest.cc >&5
configure:8831: $? = 0
configure:8833: ./conftest
./conftest: error while loading shared libraries: libstdc++.so.6: cannot
open shared object file: No such file or directory

It looks like your installation of gcc or your LD_LIBRARY_PATH or your
ld.config aren't setup properly. You might want to try writing a small
(non-MPI) hello world in C++ and try playing with your system until you
can run both the C++ compiler and the executables produced by the C++
compiler.

Hope this helps,

Brian