[Paraview] Linking problems when compiling ParaView 3.8.1 with OpenMPI 1.4.3 and Python 2.7

Nenad Vujicic nenadus at gmail.com
Tue Nov 23 18:00:51 EST 2010


Hello everyone,

I tried to compile ParaView 3.8.1 with BUILD_SHARED_LIBS,
PARAVIEW_USE_MPI and PARAVIEW_ENABLE_PYTHON options turned on, but I
get following linking errors:

4>   Creating library
E:\Projects\ParaView-3.8.1\build\bin\Release\MPIPython.lib and object
E:\Projects\ParaView-3.8.1\build\bin\Release\MPIPython.exp
4>MPI.obj : error LNK2019: unresolved external symbol
__imp__lt_dladvise_destroy referenced in function _dlopen_mpi_lib
4>MPI.obj : error LNK2019: unresolved external symbol
__imp__lt_dlopenadvise referenced in function _dlopen_mpi_lib
4>MPI.obj : error LNK2019: unresolved external symbol
__imp__lt_dladvise_global referenced in function _dlopen_mpi_lib
4>MPI.obj : error LNK2019: unresolved external symbol
__imp__lt_dladvise_ext referenced in function _dlopen_mpi_lib
4>MPI.obj : error LNK2019: unresolved external symbol
__imp__lt_dladvise_init referenced in function _dlopen_mpi_lib
4>MPI.obj : error LNK2019: unresolved external symbol __imp__lt_dlinit
referenced in function _dlopen_mpi_lib
4>MPI.obj : error LNK2019: unresolved external symbol __imp__lt_dlexit
referenced in function _dlclose_mpi_lib
4>MPI.obj : error LNK2019: unresolved external symbol
__imp__lt_dlclose referenced in function _dlclose_mpi_lib
4>E:\Projects\ParaView-3.8.1\build\bin\Release\MPIPython.dll : fatal
error LNK1120: 8 unresolved externals

I use Visual Studio 2008 SP1, CMake 2.8 and OpenMPI 1.4.3 (compiled
with default options in Release mode). Same errors I get when trying
to compile under CentOS 5.3 (with precompiled OpenMPI 1.4.3 sources)
too. Other projects are compiled well in both cases. Does anyone knows
how to solve this problem? I believe the solution is in setting
appropriate building options for OpenMPI, but I'm not sure what to do.

Thanks,
Nenad.


More information about the ParaView mailing list