erorr: recompile with -fPIC

12 views
Skip to first unread message

ztdep...@gmail.com

unread,
Aug 29, 2024, 2:26:34 AM8/29/24
to deal.II User Group
/usr/bin/ld: /home/ztdep/2T/lib/Trilinos-13.4/lib/libnox.a(NOX_Abstract_Vector.C.o): relocation R_X86_64_32S against symbol `_ZTVN7Teuchos11RCPNodeTmplIN3NOX11MultiVectorENS_13DeallocDeleteIS2_EEEE' can not be used when making a shared object; recompile
with -fPIC


Daniel Arndt

unread,
Aug 29, 2024, 8:53:03 AM8/29/24
to dea...@googlegroups.com
You should build Trilinos as shared library.

Best,
Daniel

On Thu, Aug 29, 2024 at 2:26 AM ztdep...@gmail.com <ztdep...@gmail.com> wrote:
>
> /usr/bin/ld: /home/ztdep/2T/lib/Trilinos-13.4/lib/libnox.a(NOX_Abstract_Vector.C.o): relocation R_X86_64_32S against symbol `_ZTVN7Teuchos11RCPNodeTmplIN3NOX11MultiVectorENS_13DeallocDeleteIS2_EEEE' can not be used when making a shared object; recompile
> with -fPIC
>
>
> --
> 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+un...@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/msgid/dealii/0184a12a-bc20-4f6e-b9e2-20538f63ebd8n%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages