Libraries missing???

Here's the place for discussion related to CAM/CNC and the development of the Path module.
Konstantin
Posts: 251
Joined: Wed Jul 23, 2014 10:10 am

Libraries missing???

Postby Konstantin » Mon Apr 16, 2018 10:26 am

Hello. Another half of year is passed, and I need FreeCADs Path module again. Installed FreeCAD from Arch Linux AUR repository. When I start Path module it fails with this error:

Code: Select all

freecad
FreeCAD 0.17, Libs: 0.17R5235 (Git shallow)
© Juergen Riegel, Werner Mayer, Yorik van Havre 2001-2018
  #####                 ####  ###   ####  
  #                    #      # #   #   # 
  #     ##  #### ####  #     #   #  #   # 
  ####  # # #  # #  #  #     #####  #   # 
  #     #   #### ####  #    #     # #   # 
  #     #   #    #     #    #     # #   #  ##  ##  ##
  #     #   #### ####   ### #     # ####   ##  ##  ##

nurbs configuration file loaded
libmpi_usempif08.so.20: cannot open shared object file: No such file or directory
Traceback (most recent call last):
  File "<string>", line 74, in Initialize
  File "/usr/lib/freecad/Mod/Path/PathScripts/PathSurfaceGui.py", line 27, in <module>
    import PathScripts.PathSurface as PathSurface
  File "/usr/lib/freecad/Mod/Path/PathScripts/PathSurface.py", line 28, in <module>
    import MeshPart
??? I just compilled it, what can be wrong? Here's ldd output:

Code: Select all

ldd /usr/bin/freecad
        linux-vdso.so.1 (0x00007ffcd2bcf000)
        libFreeCADGui.so => /usr/lib/freecad/lib/libFreeCADGui.so (0x00007f9bd037e000)
        libFreeCADApp.so => /usr/lib/freecad/lib/libFreeCADApp.so (0x00007f9bcfebb000)
        libFreeCADBase.so => /usr/lib/freecad/lib/libFreeCADBase.so (0x00007f9bcfb06000)
        libpython2.7.so.1.0 => /usr/lib/libpython2.7.so.1.0 (0x00007f9bcf6c0000)
        libQtGui.so.4 => /usr/lib/libQtGui.so.4 (0x00007f9bce9e4000)
        libQtCore.so.4 => /usr/lib/libQtCore.so.4 (0x00007f9bce4f7000)
        libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0x00007f9bce170000)
        libgcc_s.so.1 => /usr/lib/libgcc_s.so.1 (0x00007f9bcdf59000)
        libc.so.6 => /usr/lib/libc.so.6 (0x00007f9bcdba2000)
        libmpi_cxx.so.40 => /usr/lib/openmpi/libmpi_cxx.so.40 (0x00007f9bcd987000)
        libmpi.so.40 => /usr/lib/openmpi/libmpi.so.40 (0x00007f9bcd67e000)
        libCoin.so.60 => /usr/lib/libCoin.so.60 (0x00007f9bccc53000)
        libGL.so.1 => /usr/lib/libGL.so.1 (0x00007f9bcc9c8000)
        libXext.so.6 => /usr/lib/libXext.so.6 (0x00007f9bcc7b6000)
        libX11.so.6 => /usr/lib/libX11.so.6 (0x00007f9bcc477000)
        libdl.so.2 => /usr/lib/libdl.so.2 (0x00007f9bcc273000)
        libpthread.so.0 => /usr/lib/libpthread.so.0 (0x00007f9bcc055000)
        libboost_filesystem.so.1.66.0 => /usr/lib/libboost_filesystem.so.1.66.0 (0x00007f9bcbe3a000)
        libboost_program_options.so.1.66.0 => /usr/lib/libboost_program_options.so.1.66.0 (0x00007f9bcbbb6000)
        libboost_regex.so.1.66.0 => /usr/lib/libboost_regex.so.1.66.0 (0x00007f9bcb8a6000)
        libboost_signals.so.1.66.0 => /usr/lib/libboost_signals.so.1.66.0 (0x00007f9bcb68e000)
        libboost_system.so.1.66.0 => /usr/lib/libboost_system.so.1.66.0 (0x00007f9bcb489000)
        libboost_thread.so.1.66.0 => /usr/lib/libboost_thread.so.1.66.0 (0x00007f9bcb263000)
        libboost_chrono.so.1.66.0 => /usr/lib/libboost_chrono.so.1.66.0 (0x00007f9bcb05a000)
        libboost_date_time.so.1.66.0 => /usr/lib/libboost_date_time.so.1.66.0 (0x00007f9bcae48000)
        libboost_atomic.so.1.66.0 => /usr/lib/libboost_atomic.so.1.66.0 (0x00007f9bcac46000)
        libQtOpenGL.so.4 => /usr/lib/libQtOpenGL.so.4 (0x00007f9bca94b000)
        libQtSvg.so.4 => /usr/lib/libQtSvg.so.4 (0x00007f9bca6f6000)
        libQtWebKit.so.4 => /usr/lib/libQtWebKit.so.4 (0x00007f9bc81c2000)
        libQtXml.so.4 => /usr/lib/libQtXml.so.4 (0x00007f9bc7f7b000)
        libQtNetwork.so.4 => /usr/lib/libQtNetwork.so.4 (0x00007f9bc7c44000)
        libspnav.so.0 => /usr/lib/libspnav.so.0 (0x00007f9bc7a40000)
        libshiboken-python2.7.so.1.2 => /usr/lib/libshiboken-python2.7.so.1.2 (0x00007f9bc7811000)
        libpyside-python2.7.so.1.2 => /usr/lib/libpyside-python2.7.so.1.2 (0x00007f9bc75e6000)
        libxerces-c-3.2.so => /usr/lib/libxerces-c-3.2.so (0x00007f9bc7049000)
        libz.so.1 => /usr/lib/libz.so.1 (0x00007f9bc6e32000)
        libutil.so.1 => /usr/lib/libutil.so.1 (0x00007f9bc6c2f000)
        libm.so.6 => /usr/lib/libm.so.6 (0x00007f9bc68e3000)
        libglib-2.0.so.0 => /usr/lib/libglib-2.0.so.0 (0x00007f9bc65cc000)
        libpng16.so.16 => /usr/lib/libpng16.so.16 (0x00007f9bc6396000)
        libfreetype.so.6 => /usr/lib/libfreetype.so.6 (0x00007f9bc60cd000)
        libgobject-2.0.so.0 => /usr/lib/libgobject-2.0.so.0 (0x00007f9bc5e79000)
        libSM.so.6 => /usr/lib/libSM.so.6 (0x00007f9bc5c71000)
        libICE.so.6 => /usr/lib/libICE.so.6 (0x00007f9bc5a55000)
        libXrender.so.1 => /usr/lib/libXrender.so.1 (0x00007f9bc584a000)
        libfontconfig.so.1 => /usr/lib/libfontconfig.so.1 (0x00007f9bc5607000)
        librt.so.1 => /usr/lib/librt.so.1 (0x00007f9bc53ff000)
        /lib64/ld-linux-x86-64.so.2 => /usr/lib64/ld-linux-x86-64.so.2 (0x00007f9bd1363000)
        libopen-rte.so.40 => /usr/lib/openmpi/libopen-rte.so.40 (0x00007f9bc514d000)
        libopen-pal.so.40 => /usr/lib/openmpi/libopen-pal.so.40 (0x00007f9bc4e91000)
        libhwloc.so.5 => /usr/lib/libhwloc.so.5 (0x00007f9bc4c53000)
        libGLX.so.0 => /usr/lib/libGLX.so.0 (0x00007f9bc4a22000)
        libGLdispatch.so.0 => /usr/lib/libGLdispatch.so.0 (0x00007f9bc476c000)
        libxcb.so.1 => /usr/lib/libxcb.so.1 (0x00007f9bc4543000)
        libicudata.so.61 => /usr/lib/libicudata.so.61 (0x00007f9bc299e000)
        libicui18n.so.61 => /usr/lib/libicui18n.so.61 (0x00007f9bc24f3000)
        libicuuc.so.61 => /usr/lib/libicuuc.so.61 (0x00007f9bc2139000)
        libjpeg.so.8 => /usr/lib/libjpeg.so.8 (0x00007f9bc1ed1000)
        libudev.so.1 => /usr/lib/libudev.so.1 (0x00007f9bc1cb3000)
        libgstapp-1.0.so.0 => /usr/lib/libgstapp-1.0.so.0 (0x00007f9bc1aa4000)
        libgstpbutils-1.0.so.0 => /usr/lib/libgstpbutils-1.0.so.0 (0x00007f9bc186c000)
        libgstvideo-1.0.so.0 => /usr/lib/libgstvideo-1.0.so.0 (0x00007f9bc15d4000)
        libgstaudio-1.0.so.0 => /usr/lib/libgstaudio-1.0.so.0 (0x00007f9bc1360000)
        libgstbase-1.0.so.0 => /usr/lib/libgstbase-1.0.so.0 (0x00007f9bc10eb000)
        libgstreamer-1.0.so.0 => /usr/lib/libgstreamer-1.0.so.0 (0x00007f9bc0dae000)
        libsqlite3.so.0 => /usr/lib/libsqlite3.so.0 (0x00007f9bc0a99000)
        libssl.so.1.1 => /usr/lib/libssl.so.1.1 (0x00007f9bc082f000)
        libcrypto.so.1.1 => /usr/lib/libcrypto.so.1.1 (0x00007f9bc03b2000)
        libnsl.so.1 => /usr/lib/libnsl.so.1 (0x00007f9bc019a000)
        libcurl.so.4 => /usr/lib/libcurl.so.4 (0x00007f9bbff1c000)
        libpcre.so.1 => /usr/lib/libpcre.so.1 (0x00007f9bbfcaa000)
        libbz2.so.1.0 => /usr/lib/libbz2.so.1.0 (0x00007f9bbfa9a000)
        libharfbuzz.so.0 => /usr/lib/libharfbuzz.so.0 (0x00007f9bbf7e8000)
        libffi.so.6 => /usr/lib/libffi.so.6 (0x00007f9bbf5df000)
        libuuid.so.1 => /usr/lib/libuuid.so.1 (0x00007f9bbf3d8000)
        libexpat.so.1 => /usr/lib/libexpat.so.1 (0x00007f9bbf1a6000)
        libnuma.so.1 => /usr/lib/libnuma.so.1 (0x00007f9bbef9b000)
        libltdl.so.7 => /usr/lib/libltdl.so.7 (0x00007f9bbed91000)
        libXau.so.6 => /usr/lib/libXau.so.6 (0x00007f9bbeb8d000)
        libXdmcp.so.6 => /usr/lib/libXdmcp.so.6 (0x00007f9bbe987000)
        libgsttag-1.0.so.0 => /usr/lib/libgsttag-1.0.so.0 (0x00007f9bbe74c000)
        liborc-0.4.so.0 => /usr/lib/liborc-0.4.so.0 (0x00007f9bbe4cd000)
        libgmodule-2.0.so.0 => /usr/lib/libgmodule-2.0.so.0 (0x00007f9bbe2c9000)
        libunwind.so.8 => /usr/lib/libunwind.so.8 (0x00007f9bbe0af000)
        libdw.so.1 => /usr/lib/libdw.so.1 (0x00007f9bbde67000)
        libnghttp2.so.14 => /usr/lib/libnghttp2.so.14 (0x00007f9bbdc42000)
        libidn2.so.0 => /usr/lib/libidn2.so.0 (0x00007f9bbda25000)
        libpsl.so.5 => /usr/lib/libpsl.so.5 (0x00007f9bbd815000)
        libgssapi_krb5.so.2 => /usr/lib/libgssapi_krb5.so.2 (0x00007f9bbd5c7000)
        libkrb5.so.3 => /usr/lib/libkrb5.so.3 (0x00007f9bbd2df000)
        libk5crypto.so.3 => /usr/lib/libk5crypto.so.3 (0x00007f9bbd0ac000)
        libcom_err.so.2 => /usr/lib/libcom_err.so.2 (0x00007f9bbcea8000)
        libgraphite2.so.3 => /usr/lib/libgraphite2.so.3 (0x00007f9bbcc7c000)
        liblzma.so.5 => /usr/lib/liblzma.so.5 (0x00007f9bbca56000)
        libelf.so.1 => /usr/lib/libelf.so.1 (0x00007f9bbc83e000)
        libunistring.so.2 => /usr/lib/libunistring.so.2 (0x00007f9bbc4bd000)
        libkrb5support.so.0 => /usr/lib/libkrb5support.so.0 (0x00007f9bbc2b0000)
        libkeyutils.so.1 => /usr/lib/libkeyutils.so.1 (0x00007f9bbc0ac000)
        libresolv.so.2 => /usr/lib/libresolv.so.2 (0x00007f9bbbe95000)
Maybe some of dependencies wants wrong library? Which then? How can I figure it out? Help me, please, to understand what is happening.

My system:

OS: "Manjaro Linux"
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.17.5235 (Git shallow)
Build type: Release
Branch: master
Hash: 3e6b68c0a1422860ec47160ff5c6b46ff8322a97
Python version: 2.7.14
Qt version: 4.8.7
Coin version: 3.1.3
OCC version: 7.2.0
Locale: C/Default (C)
herbk
Posts: 833
Joined: Mon Nov 03, 2014 3:45 pm
Location: Windsbach, Bavarya (Germany)

Re: Libraries missing???

Postby herbk » Mon Apr 16, 2018 3:06 pm

Hi Konstantin,

sorry, i can't help directly, but some things i noticed abaout your problem.

First: n my mind the thread would be better placed in Install / Compile forum.
Secound: Your FreeCAD package is very old. We are on 0,17 13509 now, wich is released as stable since about two weeks.
Third: I reed about nearly the same problem with an Arch based system (and installing with AUR), but don't remember that someone can help... So maybe it's better you ask in a Manjaro Forum to.

I'm on obensuse and have also problems to install FC on regular way, but the AppImage works very fine, maybe it works on Manjaro to.
FreeCAD_0.17.13509.glibc2.17-x86_64.AppImage is the actuall release, you can download here: https://github.com/FreeCAD/FreeCAD/releases
Gruß Herbert