Open MPI logo

Open MPI User's Mailing List Archives

  |   Home   |   Support   |   FAQ   |   all Open MPI User's mailing list

Subject: [OMPI users] build problems - undefined reference to `lt_libltdlc_LTX_preloaded_symbols and libtool install
From: Michael Hines (michael.hines_at_[hidden])
Date: 2009-08-27 13:34:38

I'm building from todays svn co on an x86_64 centos 5
Linux 2.6.18-128.1.10.el5 #1 SMP

m4 (GNU M4) 1.4.13
automake (GNU automake) 1.11
autoconf (GNU Autoconf) 2.64 (GNU libtool) 2.2.6
gcc (GCC) 4.3.2

and configured with

../configure --prefix=$HOME/openmpi --srcdir=.. --disable-mpi-f77

and get

libtool: link: gcc -O3 -DNDEBUG -finline-functions -fno-strict-aliasing
-pthread -fvisibility=hidden -o opal_wrapper
opal_wrapper.o ../../../opal/.libs/libopen-pal.a -ldl -lnsl -lutil -lm
../../../opal/.libs/libopen-pal.a(libltdlc_la-ltdl.o): In function
ltdl.c:(.text+0x10d3): undefined reference to

Is anyone familiar with this or what to do about it?
If I try to avoid with

../configure --prefix=$HOME/openmpi --srcdir=.. --disable-mpi-f77
--disable-mpi-f90 --disable-dlopen

I 'make -j 4' successfully but during 'make install' get

  /bin/sh ../../../libtool --mode=install /usr/bin/install -c
opal_wrapper '/home/hines/openmpi/bin'
./opal_wrapper: line 1: ELF: command not found
libtool: install: invalid libtool wrapper script `opal_wrapper'

Hints on how to build on this machine are greatly welcome. I had the
same problems when using openmpi-1.3.3.tar.gz and my normal development
environment (less recent m4 and autotools, and gcc-4.1.2)