[MOAB-dev] error when install moab on Ubuntu 14.04 LTS 64
Huayi Wei
huayiwei1984 at gmail.com
Sun Aug 17 07:16:05 CDT 2014
Hi, Vijay, I can compile moab now, thanks for your suggestion. -- Huayi
On 2014年08月17日 03:05, Vijay S. Mahadevan wrote:
>
> This looks like an error due to incompatible static and dynamic builds
> for dependencies. For your static builds, use - -with-pic or
> CXXFLAGS="-fPIC -DPIC". Reconfigure CGM and install first. Then try
> moab build again. Let us know if there are still problems.
>
> Vijay
>
> On Aug 16, 2014 10:30 AM, "Huayi Wei" <huayiwei1984 at gmail.com
> <mailto:huayiwei1984 at gmail.com>> wrote:
>
> 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/moab-dev/attachments/20140817/c04cc468/attachment.html>
More information about the moab-dev
mailing list