I am trying to install deal.II on a cluster running CentOS 6.7. I have tried all versions starting from version 8.0. I always get the same error at the end of building:
/usr/bin/ld: /usr/local/lib/libnetcdf_c++.a(netcdf.o): relocation R_X86_64_32S against `vtable for NcTypedComponent' can not be used when making a shared object; recompile with -fPIC /usr/local/lib/libnetcdf_c++.a: could not read symbols: Bad value collect2: ld returned 1 exit status make[2]: *** [lib/libdeal_II.so.8.1.0] Error 1 make[1]: *** [source/CMakeFiles/deal_II.dir/all] Error 2 make: *** [all] Error 2 The gcc version installed is 4.4.7 and cmake version is 2.8.12.2. Can anyone help in fixing this problem? -- The deal.II project is located at http://www.dealii.org/ For mailing list/forum options, see https://groups.google.com/d/forum/dealii?hl=en --- You received this message because you are subscribed to the Google Groups "deal.II User Group" group. To unsubscribe from this group and stop receiving emails from it, send an email to dealii+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.