OpenSUSE will not install due libcv

Having trouble installing or compiling FreeCAD? Get help here.
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
wmayer
Founder
Posts: 20241
Joined: Thu Feb 19, 2009 10:32 am
Contact:

Re: OpenSUSE will not install due libcv

Post by wmayer »

Hi,
MyFancyComputer:/opt/FreeCAD/bin # FreeCAD
FreeCAD: error while loading shared libraries: libFreeCADGui.so.2: cannot open shared object file: No such file or directory
MyFancyComputer:/opt/FreeCAD/bin #

but when looking in /opt/FreeCAD/lib64/ it is present. This leads me to believe there's a linking problem yet again.

Oh, and I do have the very latest releases of everything from Packman Bremen.
Trying to launch it from SUSE's meny as a user gives nothing nowadays. Trying to launch it from a terminal in the installation directory as root gives the above.
Mm, that's completely strange. I never ran into such issues on my system. Which version of FreeCAD do you use at the moment? Did you the binaries on your own or did you get them from an openSuse mirror?
By the way, how about contacting "the Drop design team"
I didn't find much on their site. Where can I find the functions you're talking about?


Werner
SveaHund

Re: OpenSUSE will not install due libcv

Post by SveaHund »

Hi again, this time I've updated FreeCAD to the latest offered by Packman hosted by Jacobs University Bremen (http://packman.iu-bremen.de/suse/11.1) via YAST. And below you find the current version I have installed of FreeCAD along with information on where YAST put all files.
Everything here after is copied straight from YAST some 15 minutes ago.

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
FreeCAD-0.8.2237-1.pm.21.7 - FreeCAD is a general purpose 3D CAD modeler

/etc/ld.so.conf.d/FreeCAD.conf
/opt/FreeCAD
/opt/FreeCAD/Mod
/opt/FreeCAD/Mod/Complete
/opt/FreeCAD/Mod/Complete/Complete.so
/opt/FreeCAD/Mod/Complete/CompleteGui.so
/opt/FreeCAD/Mod/Complete/Init.py
/opt/FreeCAD/Mod/Complete/InitGui.py
/opt/FreeCAD/Mod/Complete/libComplete.so
/opt/FreeCAD/Mod/Complete/libComplete.so.2
/opt/FreeCAD/Mod/Complete/libComplete.so.2.0.0
/opt/FreeCAD/Mod/Complete/libCompleteGui.so
/opt/FreeCAD/Mod/Complete/libCompleteGui.so.2
/opt/FreeCAD/Mod/Complete/libCompleteGui.so.2.0.0
/opt/FreeCAD/Mod/Draft
/opt/FreeCAD/Mod/Draft/Draft.py
/opt/FreeCAD/Mod/Draft/Init.py
/opt/FreeCAD/Mod/Draft/InitGui.py
/opt/FreeCAD/Mod/Draft/draftGui.py
/opt/FreeCAD/Mod/Draft/draftlibs
/opt/FreeCAD/Mod/Draft/draftlibs/__init__.py
/opt/FreeCAD/Mod/Draft/draftlibs/dxfColorMap.py
/opt/FreeCAD/Mod/Draft/draftlibs/dxfImportObjects.py
/opt/FreeCAD/Mod/Draft/draftlibs/dxfLibrary.py
/opt/FreeCAD/Mod/Draft/draftlibs/dxfReader.py
/opt/FreeCAD/Mod/Draft/draftlibs/fcgeo.py
/opt/FreeCAD/Mod/Draft/draftlibs/fcvec.py
/opt/FreeCAD/Mod/Draft/icons.svg
/opt/FreeCAD/Mod/Draft/importDXF.py
/opt/FreeCAD/Mod/Draft/importOCA.py
/opt/FreeCAD/Mod/Draft/importSVG.py
/opt/FreeCAD/Mod/Draft/preferences-draft.svg
/opt/FreeCAD/Mod/Draft/userprefs.ui
/opt/FreeCAD/Mod/Drawing
/opt/FreeCAD/Mod/Drawing/Drawing.so
/opt/FreeCAD/Mod/Drawing/DrawingGui.so
/opt/FreeCAD/Mod/Drawing/Init.py
/opt/FreeCAD/Mod/Drawing/InitGui.py
/opt/FreeCAD/Mod/Drawing/libDrawing.so
/opt/FreeCAD/Mod/Drawing/libDrawing.so.2
/opt/FreeCAD/Mod/Drawing/libDrawing.so.2.0.0
/opt/FreeCAD/Mod/Drawing/libDrawingGui.so
/opt/FreeCAD/Mod/Drawing/libDrawingGui.so.2
/opt/FreeCAD/Mod/Drawing/libDrawingGui.so.2.0.0
/opt/FreeCAD/Mod/Image
/opt/FreeCAD/Mod/Image/Image.so
/opt/FreeCAD/Mod/Image/ImageGui.so
/opt/FreeCAD/Mod/Image/Init.py
/opt/FreeCAD/Mod/Image/InitGui.py
/opt/FreeCAD/Mod/Image/libImage.so
/opt/FreeCAD/Mod/Image/libImage.so.2
/opt/FreeCAD/Mod/Image/libImage.so.2.0.0
/opt/FreeCAD/Mod/Image/libImageGui.so
/opt/FreeCAD/Mod/Image/libImageGui.so.2
/opt/FreeCAD/Mod/Image/libImageGui.so.2.0.0
/opt/FreeCAD/Mod/Mesh
/opt/FreeCAD/Mod/Mesh/BuildRegularGeoms.py
/opt/FreeCAD/Mod/Mesh/Init.py
/opt/FreeCAD/Mod/Mesh/InitGui.py
/opt/FreeCAD/Mod/Mesh/Mesh.so
/opt/FreeCAD/Mod/Mesh/MeshGui.so
/opt/FreeCAD/Mod/Mesh/MeshTestsApp.py
/opt/FreeCAD/Mod/Mesh/libMesh.so
/opt/FreeCAD/Mod/Mesh/libMesh.so.2
/opt/FreeCAD/Mod/Mesh/libMesh.so.2.0.0
/opt/FreeCAD/Mod/Mesh/libMeshGui.so
/opt/FreeCAD/Mod/Mesh/libMeshGui.so.2
/opt/FreeCAD/Mod/Mesh/libMeshGui.so.2.0.0
/opt/FreeCAD/Mod/MeshPart
/opt/FreeCAD/Mod/MeshPart/Init.py
/opt/FreeCAD/Mod/MeshPart/InitGui.py
/opt/FreeCAD/Mod/MeshPart/MeshPart.so
/opt/FreeCAD/Mod/MeshPart/MeshPartGui.so
/opt/FreeCAD/Mod/MeshPart/libMeshPart.so
/opt/FreeCAD/Mod/MeshPart/libMeshPart.so.2
/opt/FreeCAD/Mod/MeshPart/libMeshPart.so.2.0.0
/opt/FreeCAD/Mod/MeshPart/libMeshPartGui.so
/opt/FreeCAD/Mod/MeshPart/libMeshPartGui.so.2
/opt/FreeCAD/Mod/MeshPart/libMeshPartGui.so.2.0.0
/opt/FreeCAD/Mod/Part
/opt/FreeCAD/Mod/Part/Init.py
/opt/FreeCAD/Mod/Part/InitGui.py
/opt/FreeCAD/Mod/Part/MakeBottle.py
/opt/FreeCAD/Mod/Part/Part.so
/opt/FreeCAD/Mod/Part/PartGui.so
/opt/FreeCAD/Mod/Part/libPart.so
/opt/FreeCAD/Mod/Part/libPart.so.2
/opt/FreeCAD/Mod/Part/libPart.so.2.0.0
/opt/FreeCAD/Mod/Part/libPartGui.so
/opt/FreeCAD/Mod/Part/libPartGui.so.2
/opt/FreeCAD/Mod/Part/libPartGui.so.2.0.0
/opt/FreeCAD/Mod/PartDesign
/opt/FreeCAD/Mod/PartDesign/Init.py
/opt/FreeCAD/Mod/PartDesign/InitGui.py
/opt/FreeCAD/Mod/PartDesign/PartDesign.so
/opt/FreeCAD/Mod/PartDesign/PartDesignGui.so
/opt/FreeCAD/Mod/PartDesign/libPartDesign.so
/opt/FreeCAD/Mod/PartDesign/libPartDesign.so.2
/opt/FreeCAD/Mod/PartDesign/libPartDesign.so.2.0.0
/opt/FreeCAD/Mod/PartDesign/libPartDesignGui.so
/opt/FreeCAD/Mod/PartDesign/libPartDesignGui.so.2
/opt/FreeCAD/Mod/PartDesign/libPartDesignGui.so.2.0.0
/opt/FreeCAD/Mod/Points
/opt/FreeCAD/Mod/Points/Init.py
/opt/FreeCAD/Mod/Points/InitGui.py
/opt/FreeCAD/Mod/Points/Points.so
/opt/FreeCAD/Mod/Points/PointsGui.so
/opt/FreeCAD/Mod/Points/libPoints.so
/opt/FreeCAD/Mod/Points/libPoints.so.2
/opt/FreeCAD/Mod/Points/libPoints.so.2.0.0
/opt/FreeCAD/Mod/Points/libPointsGui.so
/opt/FreeCAD/Mod/Points/libPointsGui.so.2
/opt/FreeCAD/Mod/Points/libPointsGui.so.2.0.0
/opt/FreeCAD/Mod/Raytracing
/opt/FreeCAD/Mod/Raytracing/Init.py
/opt/FreeCAD/Mod/Raytracing/InitGui.py
/opt/FreeCAD/Mod/Raytracing/Raytracing.so
/opt/FreeCAD/Mod/Raytracing/RaytracingGui.so
/opt/FreeCAD/Mod/Raytracing/libRaytracing.so
/opt/FreeCAD/Mod/Raytracing/libRaytracing.so.2
/opt/FreeCAD/Mod/Raytracing/libRaytracing.so.2.0.0
/opt/FreeCAD/Mod/Raytracing/libRaytracingGui.so
/opt/FreeCAD/Mod/Raytracing/libRaytracingGui.so.2
/opt/FreeCAD/Mod/Raytracing/libRaytracingGui.so.2.0.0
/opt/FreeCAD/Mod/ReverseEngineering
/opt/FreeCAD/Mod/ReverseEngineering/Init.py
/opt/FreeCAD/Mod/ReverseEngineering/InitGui.py
/opt/FreeCAD/Mod/ReverseEngineering/ReverseEngineering.so
/opt/FreeCAD/Mod/ReverseEngineering/ReverseEngineeringGui.so
/opt/FreeCAD/Mod/ReverseEngineering/libReverseEngineering.so
/opt/FreeCAD/Mod/ReverseEngineering/libReverseEngineering.so.2
/opt/FreeCAD/Mod/ReverseEngineering/libReverseEngineering.so.2.0.0
/opt/FreeCAD/Mod/ReverseEngineering/libReverseEngineeringGui.so
/opt/FreeCAD/Mod/ReverseEngineering/libReverseEngineeringGui.so.2
/opt/FreeCAD/Mod/ReverseEngineering/libReverseEngineeringGui.so.2.0.0
/opt/FreeCAD/Mod/Sketcher
/opt/FreeCAD/Mod/Sketcher/Init.py
/opt/FreeCAD/Mod/Sketcher/InitGui.py
/opt/FreeCAD/Mod/Sketcher/Sketcher.so
/opt/FreeCAD/Mod/Sketcher/SketcherGui.so
/opt/FreeCAD/Mod/Sketcher/libSketcher.so
/opt/FreeCAD/Mod/Sketcher/libSketcher.so.2
/opt/FreeCAD/Mod/Sketcher/libSketcher.so.2.0.0
/opt/FreeCAD/Mod/Sketcher/libSketcherGui.so
/opt/FreeCAD/Mod/Sketcher/libSketcherGui.so.2
/opt/FreeCAD/Mod/Sketcher/libSketcherGui.so.2.0.0
/opt/FreeCAD/Mod/TemplatePyMod
/opt/FreeCAD/Mod/TemplatePyMod/Commands.py
/opt/FreeCAD/Mod/TemplatePyMod/FeaturePython.py
/opt/FreeCAD/Mod/TemplatePyMod/Init.py
/opt/FreeCAD/Mod/TemplatePyMod/InitGui.py
/opt/FreeCAD/Mod/TemplatePyMod/PythonQt.py
/opt/FreeCAD/Mod/TemplatePyMod/Tests.py
/opt/FreeCAD/Mod/Test
/opt/FreeCAD/Mod/Test/Base.py
/opt/FreeCAD/Mod/Test/Document.py
/opt/FreeCAD/Mod/Test/Init.py
/opt/FreeCAD/Mod/Test/InitGui.py
/opt/FreeCAD/Mod/Test/Menu.py
/opt/FreeCAD/Mod/Test/QtUnitGui.so
/opt/FreeCAD/Mod/Test/TestApp.py
/opt/FreeCAD/Mod/Test/TestGui.py
/opt/FreeCAD/Mod/Test/UnicodeTests.py
/opt/FreeCAD/Mod/Test/Workbench.py
/opt/FreeCAD/Mod/Test/libQtUnitGui.so
/opt/FreeCAD/Mod/Test/libQtUnitGui.so.2
/opt/FreeCAD/Mod/Test/libQtUnitGui.so.2.0.0
/opt/FreeCAD/Mod/Test/qtunittest.py
/opt/FreeCAD/Mod/_TEMPLATE_
/opt/FreeCAD/Mod/_TEMPLATE_/Init.py
/opt/FreeCAD/Mod/_TEMPLATE_/InitGui.py
/opt/FreeCAD/Mod/_TEMPLATE_/_TEMPLATE_.so
/opt/FreeCAD/Mod/_TEMPLATE_/_TEMPLATE_Gui.so
/opt/FreeCAD/Mod/_TEMPLATE_/lib_TEMPLATE_.so
/opt/FreeCAD/Mod/_TEMPLATE_/lib_TEMPLATE_.so.2
/opt/FreeCAD/Mod/_TEMPLATE_/lib_TEMPLATE_.so.2.0.0
/opt/FreeCAD/Mod/_TEMPLATE_/lib_TEMPLATE_Gui.so
/opt/FreeCAD/Mod/_TEMPLATE_/lib_TEMPLATE_Gui.so.2
/opt/FreeCAD/Mod/_TEMPLATE_/lib_TEMPLATE_Gui.so.2.0.0
/opt/FreeCAD/bin
/opt/FreeCAD/bin/FreeCAD
/opt/FreeCAD/bin/FreeCADCmd
/opt/FreeCAD/lib64
/opt/FreeCAD/lib64/FreeCAD.so
/opt/FreeCAD/lib64/libFreeCADApp.so
/opt/FreeCAD/lib64/libFreeCADApp.so.2
/opt/FreeCAD/lib64/libFreeCADApp.so.2.0.0
/opt/FreeCAD/lib64/libFreeCADBase.so
/opt/FreeCAD/lib64/libFreeCADBase.so.2
/opt/FreeCAD/lib64/libFreeCADBase.so.2.0.0
/opt/FreeCAD/lib64/libFreeCADGui.so
/opt/FreeCAD/lib64/libFreeCADGui.so.2
/opt/FreeCAD/lib64/libFreeCADGui.so.2.0.0
/opt/FreeCAD/share
/opt/FreeCAD/share/Templates
/opt/FreeCAD/share/Templates/A3_Landscape.svg
/usr/bin/FreeCAD
/usr/bin/FreeCADCmd
/usr/share/applications/FreeCAD.desktop
/usr/share/doc/packages/FreeCAD
/usr/share/doc/packages/FreeCAD/ChangeLog.txt
/usr/share/doc/packages/FreeCAD/README.Linux
/usr/share/doc/packages/FreeCAD/copying.lib
/usr/share/pixmaps/FCIcon.xpm

204 files total
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

About the "Drop design team"; they had this fired up as a part (spin-off?) of their 'Masters in Computer Science'. As I understand it, the project mainly aims to track / position some light sources and interact with 3D-games, in this case LED's with a web-camera.
My thought was to develop that idea to put light sources with different wavelength on each finger and one, or several, cameras to track / trace these with. My believe is that the hardware is the least problem, it's about making it lightning fast and reliable that's the challenge. If you by chance would get your hands on a copy of LXF issue 124 (Linux Format) you would see it, imho, nicely documented.
SveaHund

Re: OpenSUSE will not install due libcv

Post by SveaHund »

Sorry, forgot to mention that still nothing happens when trying to start FreeCAD...

Cheers!
wmayer
Founder
Posts: 20241
Joined: Thu Feb 19, 2009 10:32 am
Contact:

Re: OpenSUSE will not install due libcv

Post by wmayer »

Hi,

what exactly do you mean with "still nothing happens"? Does it not start at all or does it start with no modules. In the latter case check the file /usr/bin/FreeCAD whether this is a symlink to the actual executable at /opt/FreeCAD/bin/FreeCAD or whether it's a copy.

So, it must be a symlink and must not be a copy otherwise it cannot work. As I mentioned in an earlier post FreeCAD assumes a certain directory structure starting from the location of the executable. Alternatively, you can try /opt/FreeCAD/bin/FreeCAD directly.

The directory structure under /opt/FreeCAD looks fine so far.

Cheers
Werner
SveaHund

Re: OpenSUSE will not install due libcv

Post by SveaHund »

What I mean is when trying to start FreeCAD from the START-menu absolutely nothing happens.
When starting it in a terminal as root I get the same as before:

MyFancyComputer:/opt/FreeCAD/bin # FreeCAD
FreeCAD: error while loading shared libraries: libFreeCADGui.so.2: cannot open shared object file: No such file or directory
MyFancyComputer:/opt/FreeCAD/bin #

and as earlier libFreeCADGui.so.2 is present in /opt/FreeCAD/lib64/.

What, exactly, shall I do to make this work?

And the most important of all, how to make it work automatically even after an update of my system?

As a passage I successfully managed to persuade my friend in downloading and installing the Windows version of FreeCAD and it just worked! It took him a merely 4 minutes from clicking on download to the point where he was up'n running. Why can't I get it to "just work"? It's not fair... =O(
wmayer
Founder
Posts: 20241
Joined: Thu Feb 19, 2009 10:32 am
Contact:

Re: OpenSUSE will not install due libcv

Post by wmayer »

Hi,
What I mean is when trying to start FreeCAD from the START-menu absolutely nothing happens.
Probably caused be the below problem.
When starting it in a terminal as root I get the same as before:

MyFancyComputer:/opt/FreeCAD/bin # FreeCAD
FreeCAD: error while loading shared libraries: libFreeCADGui.so.2: cannot open shared object file: No such file or directory
MyFancyComputer:/opt/FreeCAD/bin #
You can try to set an environment variable from the terminal:
export LD_LIBRARY_PATH=/opt/FreeCAD/lib64:$LD_LIBRARY_PATH
(maybe all dirs under Mod needs to be added) and try again. BTW, there is actually no reason to run FreeCAD as root.
You should also check if you have read-permission for the directories under /opt/FreeCAD -- it's rather unusual but who knows.

I have seen the file /etc/ld.so.conf.d/FreeCAD.conf in your list. What is the content of this file? This file actually should contain the paths for the FreeCAD libs so that the environment variable LD_LIBRARY_PATH doesn't need to be set. When installing the rpm package the tool ldconfig should automatically be called to update the ld cache where to look for FreeCAD libs.

If you still don't get it to work then maybe it's best to issue a bug report to the package maintainer of Suse.

Werner
SveaHund

Re: OpenSUSE will not install due libcv

Post by SveaHund »

Finally I got it working after I updated to the lastest version avaible via YAST (0.8 2237). I had an e-mail converstion with the packager as you suggested and you where right, things started to happen after that.
Now that I have it up and running I managed to make a box and a solid tube and move (translate) them. The fillet and pad didn't work at all and the sketch worked really bad, but I guess this has to do with the early stage of developing?
Anyway, thanks for all your patients and effort, and keep up the good work!

PS. An extra thanks for the implementation of CATIA behaviour of the mouse! Will you make it work with 3dConnexion's space-(mouse/explorer) too? DS.
wmayer
Founder
Posts: 20241
Joined: Thu Feb 19, 2009 10:32 am
Contact:

Re: OpenSUSE will not install due libcv

Post by wmayer »

Hi,
The fillet and pad didn't work at all and the sketch worked really bad, but I guess this has to do with the early stage of developing?
Yes, the sketcher isn't usable at the moment. The pad should work if the underlying sketch is closed, i.e. it should create a solid. However, the length of extrusion is too long by far. With the property editor you can set this to a sensible value (e.g. Dir.Z = -2.0) and press F5 afterwards. The same is for the fillet object. There the radius is internally set to 5 which is often more than the dimension of the whole object.

We're working on version 0.9 already which fixes many of these issues.

BTW, nice to you get FreeCAD working now :)

Werner
User avatar
jriegel
Founder
Posts: 3369
Joined: Sun Feb 15, 2009 5:29 pm
Location: Ulm, Germany
Contact:

Re: OpenSUSE will not install due libcv

Post by jriegel »

I have already a space mouse (the cheap one) and will try to get it work soon.

Jürgen
Stop whining - start coding!
Post Reply