[MOAB-dev] building MOAB with CGNS support

Vijay S. Mahadevan vijay.m at gmail.com
Mon Sep 1 15:24:20 CDT 2014


Make sure the LD_LIBRARY_PATH contains the cgns installation library
path (/usr/local/lib ?). To verify, you can run "ldd mbconvert" and
see if any of the dynamic libraries are not resolved.

Vijay

On Mon, Sep 1, 2014 at 2:06 PM, Kanaev A.A. <kanaev at ibrae.ac.ru> wrote:
> Hello MOAB-dev,
>
> Here's how i configure Makefile:
> ...
> ./configure --prefix=${FATHOM_DIR}/moab/build --with-mpi=${MPI2_PREFIX} --without-netcdf --with-hdf5=${HDF5_PREFIX} --with-zlib=${ZLIB_PREFIX} --with-szlib=${SZIP_PREFIX} --with-zoltan=${zoltan_PREFIX} --with-parmetis=${parmetis_PREFIX} --with-cgns=${FATHOM_DIR}/cgnslib_3.2.1/src --enable-igeom  --enable-docs --with-doxygen=/home/anton/doxygen/bin --enable-static 2>&1 | tee configure.log
>
> configure goes ok:
> ...
> checking if CGNS support is enabled... yes
> checking cgnslib.h usability... yes
> checking cgnslib.h presence... yes
> checking for cgnslib.h... yes
> checking for cg_open in -lcgns... no
> checking for cg_open in -lcgns... yes
> ...
>
>
> After build is done when i run mbconvert i got the following message:
>
> mbconvert: error while loading shared libraries: libcgns.so.3.2: cannot open shared object file: No such file or directory
>
> ${FATHOM_DIR}/cgnslib_3.2.1/src contains libcgns.so.3.2, it is also installed to /usr/local/lib
>
> What can be wrong?
>
> Thanks,
> Anton


More information about the moab-dev mailing list