[MOAB-dev] error when install moab on Ubuntu 14.04 LTS 64

Huayi Wei huayiwei1984 at gmail.com
Sat Aug 16 09:30:05 CDT 2014


Hi, Moab dev,

I configure moab like following:
```
  ./configure --prefix=/home/why/software/sigma/tmp --enable-shared 
--enable-debug --enable-igeom --enable-tools --enable-docs 
--disable-qvdual  --without-cgns --with-mpi --with-netcdf=/usr 
--with-hdf5 --with-zoltan=/usr/local/sigma/thirdparty/Zoltan 
--with-parmetis=/usr --with-cgm=/usr/local/sigma/1.0 
--with-vtk=/usr/local/sigma/thirdparty/VTK --with-vtk-lib-suffix=-6.0 
CPPFLAGS="-I/usr/local/sigma/thirdparty/Zoltan/include " LIBS="-lzoltan 
-lparmetis -lmetis -lptscotch  -lptscotcherr -lptscotcherrexit"
```

When make, I met an error as following :

```
Making all in mbzoltan
make[3]: Entering directory 
`/home/why/software/sigma/src/moab/tools/mbzoltan'
   CXX      mbpart.o
In file included from MBZoltan.hpp:27:0,
                  from mbpart.cpp:1:
/usr/local/sigma/thirdparty/Zoltan/include/zoltan_cpp.h:151:7: warning: 
unused parameter ‘iperm’ [-Wunused-parameter]
    int Order    ( int num_gid_entries,
        ^
   CXXLD    mbpart
/usr/bin/ld: mbpart.o: undefined reference to symbol '_ZN11CubitStringD1Ev'
/usr/local/sigma/1.0/lib/libcgm.so.0: error adding symbols: DSO missing 
from command line
collect2: error: ld returned 1 exit status
make[3]: *** [mbpart] Error 1
make[3]: Leaving directory 
`/home/why/software/sigma/src/moab/tools/mbzoltan'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/why/software/sigma/src/moab/tools'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/why/software/sigma/src/moab'
make: *** [all] Error 2
```
Does the problem come from libcgm.so.0. Please help me to fixed it. 
Thanks very much.

Best

Huayi



More information about the moab-dev mailing list