yade-users team mailing list archive
-
yade-users team
-
Mailing list archive
-
Message #20638
Re: [Question #683819]: Error during installation: libyade.so
Question #683819 on Yade changed:
https://answers.launchpad.net/yade/+question/683819
YUFAN ZHAO gave more information on the question:
@Jan
>what does "make VERBOSE=ON" tells?
Thanks for your reply. There was no change about the error after typing
"make VERBOSE=ON".
The log shown as below:
[ 6%] Linking CXX shared library lib/x86_64-linux-gnu/libyade.so
/usr/bin/cmake -E cmake_link_script CMakeFiles/yade.dir/link.txt --verbose=ON
/usr/bin/c++ -fPIC -fPIC -O2 --param=ssp-buffer-size=4 -Wformat -Wformat-security -Werror=format-security -Wall -std=c++11 -DYADE_VTK -DYADE_OPENMP -fopenmp -DYADE_GTS -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include -DQGLVIEWER_FOUND -DYADE_OPENGL -DYADE_QT5 -DYADE_CGAL -DFLOW_ENGINE -DTWOPHASEFLOW -DLINSOLV -DFLOW_ENGINE -DYADE_GL2PS -DLBM_ENGINE -Wl,--as-needed -shared -Wl,-soname,libyade.so -o lib/x86_64-linux-gnu/libyade.so CMakeFiles/yade.dir/core/ForceContainerSerial.cpp.o CMakeFiles/yade.dir/core/InteractionContainer.cpp.o CMakeFiles/yade.dir/core/Cell.cpp.o CMakeFiles/yade.dir/core/State.cpp.o CMakeFiles/yade.dir/core/ForceContainerParallel.cpp.o CMakeFiles/yade.dir/core/Material.cpp.o CMakeFiles/yade.dir/core/ThreadRunner.cpp.o CMakeFiles/yade.dir/core/Scene.cpp.o CMakeFiles/yade.dir/core/FileGenerator.cpp.o CMakeFiles/yade.dir/core/BodyContainer.cpp.o CMakeFiles/yade.dir/core/SimulationFlow.cpp.o CMakeFiles/yade.dir/core/Clump.cpp.o CMakeFiles/yade.dir/core/ThreadWorker.cpp.o CMakeFiles/yade.dir/core/corePlugins.cpp.o CMakeFiles/yade.dir/core/Interaction.cpp.o CMakeFiles/yade.dir/core/Omega.cpp.o CMakeFiles/yade.dir/core/Body.cpp.o CMakeFiles/yade.dir/pkg/dem/MeasureCapStress.cpp.o CMakeFiles/yade.dir/pkg/dem/BlockGen.cpp.o CMakeFiles/yade.dir/pkg/dem/PotentialBlock2AABB.cpp.o CMakeFiles/yade.dir/pkg/dem/BubbleMat.cpp.o CMakeFiles/yade.dir/pkg/dem/TriaxialStressController.cpp.o CMakeFiles/yade.dir/pkg/dem/Polyhedra.cpp.o CMakeFiles/yade.dir/pkg/dem/GeneralIntegratorInsertionSortCollider.cpp.o CMakeFiles/yade.dir/pkg/dem/Ip2_ElastMat.cpp.o CMakeFiles/yade.dir/pkg/dem/CapillaryPhys.cpp.o CMakeFiles/yade.dir/pkg/dem/FrictViscoPM.cpp.o CMakeFiles/yade.dir/pkg/dem/TriaxialTest.cpp.o CMakeFiles/yade.dir/pkg/dem/TriaxialCompressionEngine.cpp.o CMakeFiles/yade.dir/pkg/dem/ViscoelasticCapillarPM.cpp.o CMakeFiles/yade.dir/pkg/dem/SpheresFactory.cpp.o CMakeFiles/yade.dir/pkg/dem/ForceTorqueRecorder.cpp.o CMakeFiles/yade.dir/pkg/dem/FacetTopologyAnalyzer.cpp.o CMakeFiles/yade.dir/pkg/dem/PotentialBlock.cpp.o CMakeFiles/yade.dir/pkg/dem/ThreeDTriaxialEngine.cpp.o CMakeFiles/yade.dir/pkg/dem/VTKRecorder.cpp.o CMakeFiles/yade.dir/pkg/dem/UniaxialStrainer.cpp.o CMakeFiles/yade.dir/pkg/dem/ViscoelasticPM.cpp.o CMakeFiles/yade.dir/pkg/dem/Ig2_PP_PP_ScGeom.cpp.o CMakeFiles/yade.dir/pkg/dem/Ig2_Facet_Sphere_ScGeom.cpp.o CMakeFiles/yade.dir/pkg/dem/Polyhedra_splitter.cpp.o CMakeFiles/yade.dir/pkg/dem/CapillaryPhys1.cpp.o CMakeFiles/yade.dir/pkg/dem/TesselationWrapper.cpp.o CMakeFiles/yade.dir/pkg/dem/KnKsPBLaw.cpp.o CMakeFiles/yade.dir/pkg/dem/PotentialParticle2AABB.cpp.o CMakeFiles/yade.dir/pkg/dem/SimpleShear.cpp.o CMakeFiles/yade.dir/pkg/dem/ElectrostaticMat.cpp.o CMakeFiles/yade.dir/pkg/dem/FrictPhys.cpp.o CMakeFiles/yade.dir/pkg/dem/Integrator.cpp.o CMakeFiles/yade.dir/pkg/dem/RockBolt.cpp.o CMakeFiles/yade.dir/pkg/dem/KinemC__Engine.cpp.o CMakeFiles/yade.dir/pkg/dem/Law2_ScGeom_CapillaryPhys_Capillarity.cpp.o CMakeFiles/yade.dir/pkg/dem/STLImporter.cpp.o CMakeFiles/yade.dir/pkg/dem/Law2_ScGeom_CapillaryPhys_Capillarity1.cpp.o CMakeFiles/yade.dir/pkg/dem/ElasticContactLaw.cpp.o CMakeFiles/yade.dir/pkg/dem/GlobalStiffnessTimeStepper.cpp.o CMakeFiles/yade.dir/pkg/dem/deformablecohesive/Bo1_DeformableElement_Aabb.cpp.o CMakeFiles/yade.dir/pkg/dem/deformablecohesive/Lin4NodeTetra_Lin4NodeTetra_InteractionElement.cpp.o CMakeFiles/yade.dir/pkg/dem/deformablecohesive/Gl1_Node.cpp.o CMakeFiles/yade.dir/pkg/dem/deformablecohesive/DeformableCohesiveElement.cpp.o CMakeFiles/yade.dir/pkg/dem/deformablecohesive/FEInternalForceDispatchers.cpp.o CMakeFiles/yade.dir/pkg/dem/deformablecohesive/Gl1_DeformableElement.cpp.o CMakeFiles/yade.dir/pkg/dem/deformablecohesive/DeformableElement.cpp.o CMakeFiles/yade.dir/pkg/dem/deformablecohesive/Lin4NodeTetra.cpp.o CMakeFiles/yade.dir/pkg/dem/deformablecohesive/LinElastMat.cpp.o CMakeFiles/yade.dir/pkg/dem/deformablecohesive/CohesiveMat.cpp.o CMakeFiles/yade.dir/pkg/dem/deformablecohesive/Bo1_Node_Aabb.cpp.o CMakeFiles/yade.dir/pkg/dem/deformablecohesive/Node.cpp.o CMakeFiles/yade.dir/pkg/dem/deformablecohesive/FEInternalForceEngine.cpp.o CMakeFiles/yade.dir/pkg/dem/deformablecohesive/If2_2xLin4NodeTetra_LinCohesiveStiffPropDampElastMat.cpp.o CMakeFiles/yade.dir/pkg/dem/deformablecohesive/If2_Lin4NodeTetra_LinIsoRayleighDampElast.cpp.o CMakeFiles/yade.dir/pkg/dem/ConcretePM.cpp.o CMakeFiles/yade.dir/pkg/dem/PotentialParticle.cpp.o CMakeFiles/yade.dir/pkg/dem/JointedCohesiveFrictionalPM.cpp.o CMakeFiles/yade.dir/pkg/dem/Ig2_Sphere_Sphere_ScGeom.cpp.o CMakeFiles/yade.dir/pkg/dem/Disp2DPropLoadEngine.cpp.o CMakeFiles/yade.dir/pkg/dem/Ig2_PB_PB_ScGeom.cpp.o CMakeFiles/yade.dir/pkg/dem/MicroMacroAnalyser.cpp.o CMakeFiles/yade.dir/pkg/dem/LudingPM.cpp.o CMakeFiles/yade.dir/pkg/dem/CohesiveFrictionalContactLaw.cpp.o CMakeFiles/yade.dir/pkg/dem/ScGeom.cpp.o CMakeFiles/yade.dir/pkg/dem/Shop_01.cpp.o CMakeFiles/yade.dir/pkg/dem/CapillaryStressRecorder.cpp.o CMakeFiles/yade.dir/pkg/dem/SampleCapillaryPressureEngine.cpp.o CMakeFiles/yade.dir/pkg/dem/TriaxialStateRecorder.cpp.o CMakeFiles/yade.dir/pkg/dem/CapillaryTriaxialTest.cpp.o CMakeFiles/yade.dir/pkg/dem/InelastCohFrictPM.cpp.o CMakeFiles/yade.dir/pkg/dem/DomainLimiter.cpp.o CMakeFiles/yade.dir/pkg/dem/SnapshotEngine.cpp.o CMakeFiles/yade.dir/pkg/dem/MortarMat.cpp.o CMakeFiles/yade.dir/pkg/dem/L3Geom.cpp.o CMakeFiles/yade.dir/pkg/dem/KinemSimpleShearBox.cpp.o CMakeFiles/yade.dir/pkg/dem/RockLiningGlobal.cpp.o CMakeFiles/yade.dir/pkg/dem/NewtonIntegrator.cpp.o CMakeFiles/yade.dir/pkg/dem/SpherePack.cpp.o CMakeFiles/yade.dir/pkg/dem/PeriIsoCompressor.cpp.o CMakeFiles/yade.dir/pkg/dem/WirePM.cpp.o CMakeFiles/yade.dir/pkg/dem/HertzMindlin.cpp.o CMakeFiles/yade.dir/pkg/dem/Polyhedra_support.cpp.o CMakeFiles/yade.dir/pkg/dem/UnbalancedForceCallbacks.cpp.o CMakeFiles/yade.dir/pkg/dem/CohesiveTriaxialTest.cpp.o CMakeFiles/yade.dir/pkg/dem/RungeKuttaCashKarp54Integrator.cpp.o CMakeFiles/yade.dir/pkg/dem/Polyhedra_Ig2.cpp.o CMakeFiles/yade.dir/pkg/dem/KnKsLaw.cpp.o CMakeFiles/yade.dir/pkg/dem/Tetra.cpp.o CMakeFiles/yade.dir/pkg/dem/Lubrication.cpp.o CMakeFiles/yade.dir/pkg/dem/Ig2_Box_Sphere_ScGeom.cpp.o CMakeFiles/yade.dir/pkg/dem/Shop_02.cpp.o CMakeFiles/yade.dir/pkg/dem/FlatGridCollider.cpp.o CMakeFiles/yade.dir/pkg/lbm/LBMnode.cpp.o CMakeFiles/yade.dir/pkg/lbm/HydrodynamicsLawLBM.cpp.o CMakeFiles/yade.dir/pkg/pfv/DummyFlowEngine.cpp.o CMakeFiles/yade.dir/pkg/pfv/DFNFlow.cpp.o CMakeFiles/yade.dir/pkg/pfv/FlowEngine.cpp.o CMakeFiles/yade.dir/pkg/pfv/TwoPhaseFlowEngine.cpp.o CMakeFiles/yade.dir/pkg/pfv/PeriodicFlowEngine.cpp.o CMakeFiles/yade.dir/pkg/pfv/SoluteFlowEngine.cpp.o CMakeFiles/yade.dir/pkg/pfv/UnsaturatedEngine.cpp.o CMakeFiles/yade.dir/pkg/common/SpatialQuickSortCollider.cpp.o CMakeFiles/yade.dir/pkg/common/PFacet.cpp.o CMakeFiles/yade.dir/pkg/common/SPHEngine.cpp.o CMakeFiles/yade.dir/pkg/common/Gl1_Primitives.cpp.o CMakeFiles/yade.dir/pkg/common/ResetRandomPosition.cpp.o CMakeFiles/yade.dir/pkg/common/InteractionLoop.cpp.o CMakeFiles/yade.dir/pkg/common/Facet.cpp.o CMakeFiles/yade.dir/pkg/common/Wall.cpp.o CMakeFiles/yade.dir/pkg/common/ForceEngine.cpp.o CMakeFiles/yade.dir/pkg/common/GravityEngines.cpp.o CMakeFiles/yade.dir/pkg/common/HydroForceEngine.cpp.o CMakeFiles/yade.dir/pkg/common/Collider.cpp.o CMakeFiles/yade.dir/pkg/common/Bo1_Aabb.cpp.o CMakeFiles/yade.dir/pkg/common/Gl1_NormPhys.cpp.o CMakeFiles/yade.dir/pkg/common/Dispatching.cpp.o CMakeFiles/yade.dir/pkg/common/Cylinder.cpp.o CMakeFiles/yade.dir/pkg/common/Grid.cpp.o CMakeFiles/yade.dir/pkg/common/MatchMaker.cpp.o CMakeFiles/yade.dir/pkg/common/Gl1_PotentialParticle.cpp.o CMakeFiles/yade.dir/pkg/common/ParallelEngine.cpp.o CMakeFiles/yade.dir/pkg/common/Grid_GUI.cpp.o CMakeFiles/yade.dir/pkg/common/Gl1_PotentialBlock.cpp.o CMakeFiles/yade.dir/pkg/common/InsertionSortCollider.cpp.o CMakeFiles/yade.dir/pkg/common/common.cpp.o CMakeFiles/yade.dir/pkg/common/OpenGLRenderer.cpp.o CMakeFiles/yade.dir/pkg/common/KinematicEngines.cpp.o CMakeFiles/yade.dir/pkg/common/PersistentTriangulationCollider.cpp.o CMakeFiles/yade.dir/pkg/common/ZECollider.cpp.o CMakeFiles/yade.dir/pkg/common/Gl1_PFacet.cpp.o CMakeFiles/yade.dir/lib/base/Math.cpp.o CMakeFiles/yade.dir/lib/factory/ClassFactory.cpp.o CMakeFiles/yade.dir/lib/factory/DynLibManager.cpp.o CMakeFiles/yade.dir/lib/serialization/Serializable.cpp.o CMakeFiles/yade.dir/lib/pyutil/gil.cpp.o CMakeFiles/yade.dir/core/main/pyboot.cpp.o CMakeFiles/yade.dir/lib/opengl/GLUtils.cpp.o CMakeFiles/yade.dir/lib/triangulation/TriaxialState.cpp.o CMakeFiles/yade.dir/lib/triangulation/Timer.cpp.o CMakeFiles/yade.dir/lib/triangulation/KinematicLocalisationAnalyser.cpp.o CMakeFiles/yade.dir/lib/triangulation/Tenseur3.cpp.o CMakeFiles/yade.dir/lib/triangulation/basicVTKwritter.cpp.o CMakeFiles/yade.dir/lib/computational-geometry/MarchingCube.cpp.o CMakeFiles/yade.dir/yade_automoc.cpp.o -lboost_python -lboost_thread -lboost_filesystem -lboost_iostreams -lboost_regex -lboost_serialization -lboost_system -lboost_date_time -lboost_chrono -lboost_atomic -lpthread -lpython2.7 /usr/local/lib/libbz2.a -lz -lCGAL -lgmp -lgmpxx -lcholmod -lamd -lcamd -lcolamd -lccolamd -lopenblas -lmetis -lgl2ps -lopenblas -llapack -lClp -lOsiClp -lCoinUtils -lopenblas -llapack -lrt -lz -ljpeg -lpng -ltiff /usr/lib/x86_64-linux-gnu/libvtkIOXML-6.2.so.6.2.0 /usr/lib/x86_64-linux-gnu/libvtkIOGeometry-6.2.so.6.2.0 -ljsoncpp /usr/lib/x86_64-linux-gnu/libvtkIOXMLParser-6.2.so.6.2.0 -lexpat /usr/lib/x86_64-linux-gnu/libvtkRenderingCore-6.2.so.6.2.0 /usr/lib/x86_64-linux-gnu/libvtkCommonColor-6.2.so.6.2.0 /usr/lib/x86_64-linux-gnu/libvtkFiltersExtraction-6.2.so.6.2.0 /usr/lib/x86_64-linux-gnu/libvtkFiltersStatistics-6.2.so.6.2.0 /usr/lib/x86_64-linux-gnu/libvtkImagingFourier-6.2.so.6.2.0 /usr/lib/x86_64-linux-gnu/libvtkalglib-6.2.so.6.2.0 /usr/lib/x86_64-linux-gnu/libvtkFiltersGeometry-6.2.so.6.2.0 /usr/lib/x86_64-linux-gnu/libvtkFiltersSources-6.2.so.6.2.0 /usr/lib/x86_64-linux-gnu/libvtkImagingGeneral-6.2.so.6.2.0 /usr/lib/x86_64-linux-gnu/libvtkImagingSources-6.2.so.6.2.0 /usr/lib/x86_64-linux-gnu/libvtkImagingHybrid-6.2.so.6.2.0 gui/lib/x86_64-linux-gnu/_GLViewer.so -lglut -lXmu -lXi -lQGLViewer -lmetis -lClp -lOsiClp -lCoinUtils -lrt -ljpeg -lpng -ltiff -ljsoncpp -lexpat /usr/lib/x86_64-linux-gnu/libvtkFiltersGeneral-6.2.so.6.2.0 /usr/lib/x86_64-linux-gnu/libvtkFiltersCore-6.2.so.6.2.0 /usr/lib/x86_64-linux-gnu/libvtkCommonComputationalGeometry-6.2.so.6.2.0 /usr/lib/x86_64-linux-gnu/libvtkIOImage-6.2.so.6.2.0 /usr/lib/x86_64-linux-gnu/libvtkDICOMParser-6.2.so.6.2.0 /usr/lib/x86_64-linux-gnu/libvtkIOCore-6.2.so.6.2.0 /usr/lib/x86_64-linux-gnu/libvtkmetaio-6.2.so.6.2.0 -lz /usr/lib/x86_64-linux-gnu/libvtkImagingCore-6.2.so.6.2.0 /usr/lib/x86_64-linux-gnu/libvtkCommonExecutionModel-6.2.so.6.2.0 /usr/lib/x86_64-linux-gnu/libvtkCommonDataModel-6.2.so.6.2.0 /usr/lib/x86_64-linux-gnu/libvtkCommonMisc-6.2.so.6.2.0 /usr/lib/x86_64-linux-gnu/libvtkCommonSystem-6.2.so.6.2.0 /usr/lib/x86_64-linux-gnu/libvtksys-6.2.so.6.2.0 -ldl /usr/lib/x86_64-linux-gnu/libvtkCommonTransforms-6.2.so.6.2.0 /usr/lib/x86_64-linux-gnu/libvtkCommonMath-6.2.so.6.2.0 /usr/lib/x86_64-linux-gnu/libvtkCommonCore-6.2.so.6.2.0 /usr/lib/x86_64-linux-gnu/libQt5Xml.so.5.5.1 /usr/lib/x86_64-linux-gnu/libQt5OpenGL.so.5.5.1 /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5.5.1 /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5.5.1 /usr/lib/x86_64-linux-gnu/libQt5Core.so.5.5.1 -lGLU -lGL -lGLU -lGL -lboost_python -lboost_thread -lboost_filesystem -lboost_iostreams -lboost_regex -lboost_serialization -lboost_system -lboost_date_time -lboost_chrono -lboost_atomic -lpthread -lpython2.7 -lgl2ps -lglut -lXmu -lXi -lQGLViewer -Wl,-rpath,/home/yufan/myYade/build/gui/lib/x86_64-linux-gnu::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
/usr/bin/ld: /usr/local/lib/libbz2.a(bzlib.o): relocation R_X86_64_32S against `BZ2_crc32Table' can not be used when making a shared object; recompile with -fPIC
/usr/local/lib/libbz2.a: error adding symbols: Bad value
collect2: error: ld returned 1 exit status
CMakeFiles/yade.dir/build.make:4363: recipe for target 'lib/x86_64-linux-gnu/libyade.so' failed
make[2]: *** [lib/x86_64-linux-gnu/libyade.so] Error 1
make[2]: Leaving directory '/home/yufan/myYade/build'
CMakeFiles/Makefile2:171: recipe for target 'CMakeFiles/yade.dir/all' failed
make[1]: *** [CMakeFiles/yade.dir/all] Error 2
make[1]: Leaving directory '/home/yufan/myYade/build'
Makefile:127: recipe for target 'all' failed
make: *** [all] Error 2
Could you help me to point out the problem and give any advice?
Thank you in advance!
--
You received this question notification because your team yade-users is
an answer contact for Yade.