libtool Error on compiling SVN Rev. 2216 on ArchLinux

Having trouble installing or compiling FreeCAD? Get help here.
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
Post Reply
bier

libtool Error on compiling SVN Rev. 2216 on ArchLinux

Post by bier »

Hello there,

i get the following error when i try to build freecad from the arch linux AUR (which uses the svn repository of freecad):
make[6]: Entering directory `/var/abs/local/yaourtbuild/freecad-svn/src/freecad/src/Mod/Mesh/App'
/bin/sh ../../../../libtool --tag=CXX --mode=link g++ -D_OCC64 -Wno-deprecated -frtti -L../../../Base -L../../../App -L/usr/lib -L/usr/lib/ -L/usr/lib -L -L/usr/lib -lgts -lglib-2.0 -lm -version-info 2:0:0 -lpthread -o libMesh.la -rpath /usr/Mod/Mesh libMesh_la-Algorithm.lo libMesh_la-Approximation.lo libMesh_la-Builder.lo libMesh_la-Definitions.lo libMesh_la-Degeneration.lo libMesh_la-Elements.lo libMesh_la-Evaluation.lo libMesh_la-Grid.lo libMesh_la-Info.lo libMesh_la-MeshKernel.lo libMesh_la-MeshIO.lo libMesh_la-Projection.lo libMesh_la-SetOperations.lo libMesh_la-Triangulation.lo libMesh_la-Tools.lo libMesh_la-TopoAlgorithm.lo libMesh_la-Visitor.lo libMesh_la-Wm4ApprCylinderFit3.lo libMesh_la-Wm4ApprLineFit3.lo libMesh_la-Wm4ApprPlaneFit3.lo libMesh_la-Wm4ApprPolyFit3.lo libMesh_la-Wm4ApprQuadraticFit3.lo libMesh_la-Wm4ApprSphereFit3.lo libMesh_la-Wm4DelPolygonEdge.lo libMesh_la-Wm4DelPolyhedronFace.lo libMesh_la-Wm4DelTetrahedron.lo libMesh_la-Wm4DelTriangle.lo libMesh_la-Wm4Delaunay.lo libMesh_la-Wm4Delaunay1.lo libMesh_la-Wm4Delaunay2.lo libMesh_la-Wm4Delaunay3.lo libMesh_la-Wm4DistLine3Segment3.lo libMesh_la-Wm4DistLine3Triangle3.lo libMesh_la-Wm4DistSegment3Segment3.lo libMesh_la-Wm4DistSegment3Triangle3.lo libMesh_la-Wm4DistVector3Plane3.lo libMesh_la-Wm4DistVector3Segment3.lo libMesh_la-Wm4DistVector3Triangle3.lo libMesh_la-Wm4Distance.lo libMesh_la-Wm4ETManifoldMesh.lo libMesh_la-Wm4Eigen.lo libMesh_la-Wm4FoundationPCH.lo libMesh_la-Wm4ImplicitSurface.lo libMesh_la-Wm4Intersector.lo libMesh_la-Wm4Intersector1.lo libMesh_la-Wm4IntrLine3Box3.lo libMesh_la-Wm4IntrLine3Plane3.lo libMesh_la-Wm4IntrSegment3Box3.lo libMesh_la-Wm4IntrSegment3Plane3.lo libMesh_la-Wm4IntrTriangle2Triangle2.lo libMesh_la-Wm4IntrTriangle3Triangle3.lo libMesh_la-Wm4LinearSystem.lo libMesh_la-Wm4Math.lo libMesh_la-Wm4Matrix2.lo libMesh_la-Wm4Matrix3.lo libMesh_la-Wm4Matrix4.lo libMesh_la-Wm4Memory.lo libMesh_la-Wm4MeshCurvature.lo libMesh_la-Wm4MeshSmoother.lo libMesh_la-Wm4ParametricSurface.lo libMesh_la-Wm4PolynomialRoots.lo libMesh_la-Wm4QuadricSurface.lo libMesh_la-Wm4Surface.lo libMesh_la-Wm4System.lo libMesh_la-Wm4TriangulateEC.lo libMesh_la-Wm4VEManifoldMesh.lo libMesh_la-Wm4Vector2.lo libMesh_la-Wm4Vector3.lo libMesh_la-Wm4Vector4.lo libMesh_la-AppMeshPy.lo libMesh_la-Doxygen.lo libMesh_la-Facet.lo libMesh_la-FacetPyImp.lo libMesh_la-FeatureMeshCurvature.lo libMesh_la-FeatureMeshExport.lo libMesh_la-FeatureMeshDefects.lo libMesh_la-FeatureMeshImport.lo libMesh_la-FeatureMeshSegmentByMesh.lo libMesh_la-FeatureMeshSetOperations.lo libMesh_la-FeatureMeshSolid.lo libMesh_la-FeatureMeshTransform.lo libMesh_la-FeatureMeshTransformDemolding.lo libMesh_la-Mesh.lo libMesh_la-MeshFeature.lo libMesh_la-MeshFeaturePyImp.lo libMesh_la-MeshPointPyImp.lo libMesh_la-MeshProperties.lo libMesh_la-MeshPyImp.lo libMesh_la-GTSAlgos.lo libMesh_la-Segment.lo libMesh_la-PreCompiled.lo -lboost_filesystem-mt -lboost_regex-mt -lboost_system-mt -lxerces-c -lpython2.6 -lFreeCADBase -lFreeCADApp
libtool: link: require no space between `-L' and `-L/usr/lib'
make[6]: *** [libMesh.la] Fehler 1
make[6]: Leaving directory `/var/abs/local/yaourtbuild/freecad-svn/src/freecad/src/Mod/Mesh/App'
make[5]: *** [all] Fehler 2
make[5]: Leaving directory `/var/abs/local/yaourtbuild/freecad-svn/src/freecad/src/Mod/Mesh/App'
make[4]: *** [all-recursive] Fehler 1
make[4]: Leaving directory `/var/abs/local/yaourtbuild/freecad-svn/src/freecad/src/Mod/Mesh'
make[3]: *** [all-recursive] Fehler 1
make[3]: Leaving directory `/var/abs/local/yaourtbuild/freecad-svn/src/freecad/src/Mod'
make[2]: *** [all-recursive] Fehler 1
make[2]: Leaving directory `/var/abs/local/yaourtbuild/freecad-svn/src/freecad/src'
make[1]: *** [all-recursive] Fehler 1
make[1]: Leaving directory `/var/abs/local/yaourtbuild/freecad-svn/src/freecad'
make: *** [all] Fehler 2

Does anybody know how to fix this?

Thank you
wmayer
Founder
Posts: 20324
Joined: Thu Feb 19, 2009 10:32 am
Contact:

Re: libtool Error on compiling SVN Rev. 2216 on ArchLinux

Post by wmayer »

The issue is solved. Please get rev. 2220 (or later) which fixes that.

There was used a variable exported from ./configure as linker flag. If the OpenCascade package cannot be found the variable is empty and thus caused the problem.
Post Reply