[Paraview] Building Parallel ParaView on 64 bit Linux System

John Biddiscombe biddisco at cscs.ch
Thu May 14 02:17:51 EDT 2009


Peter
> Linking CXX shared library ../../bin/libvtkHybrid.so
> /usr/bin/ld: /opt/local/pgi-7.2/linux86-64/7.2/lib/libpgc.a(va_arg.o): 
> relocation R_X86_64_32 against `a local symbol' can not be used when 
> making a shared object; recompile with -fPIC

this message is telling you that libpgc was compiled as a static library 
and was not compiled with the -fPIC flag. Unfortunately, you can't link 
a non relocatable static lib into a (relocatable) dynamic/shared lib - 
so you must either find a libpgc.so and replace the link options with 
this lib instead of libpgc.a - or you must recompile libpgc with the 
-fPIC flag - which may not be an option - either way, you must find 
another libpgc which you can link - oitherwise you're limited to 
building static and hence no plugins for paraview.

JB



More information about the ParaView mailing list