[Paraview] static linking with python

Burlen Loring bloring at lbl.gov
Wed Mar 2 18:31:07 EST 2011


Hi,

I'm trying to link paraview static and include python. In the executable 
link line there are a couple "-Wl,-Bdynamic" appearing and I am not able 
to locate their source.

Can anyone help figure out where these comes from and how to turn them off?

Burlen

Linking CXX executable ../../bin/pvserver
cd 
/global/homes/l/loring/Franklin/ParaView/PV3-3.8.1-py/Servers/Executables && 
/global/common/franklin/usg/cmake/2.8.2/bin/cmake -E cmake_link_script 
CMakeFiles/pvserver.dir/link.txt --verbose=1
/opt/cray/xt-asyncpe/4.3/bin/CC    -Wno-deprecated -static -O3 -DNDEBUG  
-fPIC -Bstatic -static CMakeFiles/pvserver.dir/pvserver.cxx.o  -o 
../../bin/pvserver -rdynamic -L/opt/fftw/3.2.2.1/lib/ 
-L/opt/cray/pmi/1.0-1.0000.7901.22.1.ss/lib64 
-L/opt/cray/mpt/5.1.3/xt/seastar/mpich2-gnu/lib 
-L/opt/cray/mpt/5.1.3/xt/seastar/sma/lib64 
-L/opt/xt-libsci/10.5.0/gnu/lib/45 -L/opt/xt-libsci/10.5.0/gnu/lib 
-L/opt/xt-pe/2.2.48B/lib -L/opt/xt-pe/default/lib 
-L/opt/xt-pe/2.2.48B/lib/snos64 -L/opt/xt-pe/default/lib/snos64 
-L/usr/lib/alps -L/opt/gcc/4.5.1/snos/lib/gcc/x86_64-suse-linux/4.5.1 
-L/opt/gcc/4.5.1/snos/lib64 -L/lib64 -L/opt/gcc/4.5.1/snos/lib 
../../bin/libvtkPVServerCommon.a ../../bin/libvtkPVFilters.a 
../../bin/libvtkPVServerManager.a ../../bin/libvtkPVPythonInterpretor.a 
../../bin/libvtkPVFiltersCS.a ../../bin/libvtkPVFiltersPython.a 
../../bin/libvtkPVServerManagerPython.a 
../../bin/libvtkPVFiltersPythonD.a 
../../bin/libvtkPVServerManagerPythonD.a ../../bin/libvtkPVFilters.a 
../../bin/libvtkPVServerManager.a ../../bin/libvtkPVPythonInterpretor.a 
../../bin/libvtkPVFiltersCS.a ../../bin/libvtkPVFiltersPython.a 
../../bin/libvtkPVServerManagerPython.a 
../../bin/libvtkPVFiltersPythonD.a 
../../bin/libvtkPVServerManagerPythonD.a ../../bin/libicet_mpi.a 
../../bin/libicet_strategies.a ../../bin/libicet.a 
../../bin/libvtkXdmfCS.a ../../bin/libvtkXdmf.a ../../bin/libXdmf.a 
/usr/common/graphics/python-cnl/2.7.1/lib/libpython2.7.a 
../../bin/libvtkCommonPython.a ../../bin/libvtkFilteringPython.a 
../../bin/libvtkImagingPython.a ../../bin/libvtkGraphicsPython.a 
../../bin/libvtkGenericFilteringPython.a 
../../bin/libvtkGenericFilteringPythonD.a ../../bin/libvtkIOPython.a 
../../bin/libvtkRenderingPython.a 
../../bin/libvtkVolumeRenderingPython.a 
../../bin/libvtkVolumeRenderingPythonD.a ../../bin/libvtkHybridPython.a 
../../bin/libvtkWidgetsPython.a ../../bin/libvtkParallelPython.a 
../../bin/libvtkInfovisPython.a ../../bin/libvtkGeovisPython.a 
../../bin/libvtkGeovisPythonD.a ../../bin/libvtkGeovis.a 
../../bin/libvtkproj4.a ../../bin/libvtkViewsPython.a 
../../bin/libvtkChartsPython.a ../../bin/libvtkChartsPythonD.a 
../../bin/libvtkViewsPythonD.a ../../bin/libvtkInfovisPythonD.a 
../../bin/libvtkCharts.a ../../bin/libvtkViews.a 
../../bin/libvtkPVServerCommonPython.a -lz -Wl,-Bstatic -lutil 
../../bin/libvtkVolumeRenderingCS.a ../../bin/libvtkVolumeRendering.a 
../../bin/libvtkWidgetsCS.a ../../bin/libvtkWidgetsPythonD.a 
../../bin/libvtkHybridPythonD.a ../../bin/libvtkParallelPythonD.a 
../../bin/libvtkRenderingPythonD.a ../../bin/libvtkImagingPythonD.a 
../../bin/libvtkGraphicsPythonD.a 
../../bin/libvtkPVServerCommonPythonD.a 
../../bin/libvtkPVServerCommonCS.a ../../bin/libvtkPVServerCommon.a 
../../bin/libvtkInfovisCS.a ../../bin/libvtkInfovis.a 
../../bin/libvtkWidgets.a ../../bin/libvtklibxml2.a 
../../bin/libvtkalglib.a ../../bin/libKWCommon.a ../../bin/libhdf5.a 
-Wl,-Bdynamic -lm ../../bin/libvtkPVCommandOptions.a 
../../bin/libvtkHybridCS.a ../../bin/libvtkHybrid.a 
../../bin/libvtkParallelCS.a ../../bin/libvtkParallel.a 
../../bin/libvtkexoIIc.a ../../bin/libVPIC.a ../../bin/libCosmo.a 
/opt/cray/mpt/5.1.0/xt/seastar/mpich2-gnu/lib/libmpich.a 
../../bin/libvtkRenderingCS.a ../../bin/libvtkRendering.a 
/usr/common/graphics/ParaView/Mesa-7.5.1/lib64/libOSMesa.a 
../../bin/libvtkftgl.a ../../bin/libvtkfreetype.a 
../../bin/libvtkGenericFilteringCS.a ../../bin/libvtkGenericFiltering.a 
../../bin/libvtkGraphicsCS.a ../../bin/libvtkGraphics.a 
../../bin/libvtkverdict.a ../../bin/libvtkImagingCS.a 
../../bin/libvtkImaging.a ../../bin/libvtkIOCS.a 
../../bin/libvtkFilteringCS.a ../../bin/libvtkCommonCS.a 
../../bin/libvtkClientServer.a ../../bin/libvtkIOPythonD.a 
../../bin/libvtkIO.a ../../bin/libvtkDICOMParser.a 
../../bin/libvtkNetCDF_cxx.a ../../bin/libvtkNetCDF.a 
../../bin/libvtkmetaio.a ../../bin/libvtksqlite.a ../../bin/libvtkpng.a 
../../bin/libvtktiff.a ../../bin/libvtkzlib.a ../../bin/libvtkjpeg.a 
../../bin/libvtkexpat.a ../../bin/libvtkFilteringPythonD.a 
../../bin/libvtkFiltering.a ../../bin/libvtkCommonPythonD.a 
../../bin/libvtkCommon.a ../../bin/libvtksys.a -ldl -lm -lpthread 
-Wl,-Bstatic -Wl,-Bdynamic -lmpich -lrt -lsma -lportals -lpmi -lalpslli 
-lalpsutil -lm -lc -lc_p -lpthread -lfftw3 -lfftw3f


More information about the ParaView mailing list