[Paraview] ParaView builds using Mesa

Scott, W Alan wascott at sandia.gov
Mon Apr 11 20:00:33 EDT 2011


I am trying to create a paraview (client side) build of ParaView using Mesa on Linux.  I have compiled Mesa using Mesa 7.4.2, compiled with 'make linux-x86-64-static'.

I am now trying to compile ParaView, and keep failing with the following:

[  7%] Built target Cosmo
Linking CXX shared library ../../../bin/libvtkftgl.so
/usr/bin/ld: /projects/viz/paraview/support/Linux-cee-sw-rhel5-x86_64/install/Mesa-7.4.2/lib/libMESAGL.a(glapi.o): relocation R_X86_64_32 against `a local symbol' can not be used when making a shared object; recompile with -fPIC
/projects/viz/paraview/support/Linux-cee-sw-rhel5-x86_64/install/Mesa-7.4.2/lib/libMESAGL.a: could not read symbols: Bad value
collect2: ld returned 1 exit status
make[2]: *** [bin/libvtkftgl.so.pv3.10] Error 1
make[1]: *** [VTK/Utilities/ftgl/CMakeFiles/vtkftgl.dir/all] Error 2
make: *** [all] Error 2

I have tried setting "BUILD_SHARED_LIBS" off when using ccmake on paraView, but it keeps turning itself on.

What I believe I need to do is create a static build of ParaView, thus Mesa won't need the -fPIC flag.

Any ideas?

Thanks all,

Alan


--------------------------------------------------------
W. Alan Scott
ParaView Support Manager

GAITS
Sandia National Laboratories, MS 0822
Org 9326 - Building 880 A1-C
(505) 284-0932   FAX (505) 845-0833
---------------------------------------------------------



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.paraview.org/pipermail/paraview/attachments/20110412/b1b6a5a6/attachment.htm>


More information about the ParaView mailing list