Hi,

On Tuesday, December 6, 2016 at 9:22:35 AM UTC-5, Sudarshan Kumar wrote:

> /usr/bin/ld.gold: error: /usr/local/lib/libnetcdf_c++.a(netcdf.o): 
> requires unsupported dynamic reloc 11; recompile with -fPIC
>
The problem is that libnetcdf was compiled as a static library but you are 
building deal.II as a shared library. You can:
1) recompile libnetcdf as a shared library (preferred option)
2) recompile libnetcdf as a static library and use the flag -fPIC when you 
compile it
3) compile everything (deal.II + other dependencies) as static libraries 
(by far the hardest solution)

Best,

Bruno

-- 
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.

Reply via email to