Linux Mint 19 - FreeCAD will not start!

Post here for help on using FreeCAD's graphical user interface (GUI).
Forum rules
and Helpful information
IMPORTANT: Please click here and read this first, before asking for help

Also, be nice to others! Read the FreeCAD code of conduct!
Twinager
Posts: 9
Joined: Sat Mar 23, 2019 6:51 pm

Re: Linux Mint 19 - FreeCAD will not start!

Post by Twinager »

kisolre wrote: Mon Mar 25, 2019 12:05 pm Help -> About FreeCAD -> Copy to clipboard
Thank you, but I cannot open FreeCAD!
kisolre
Veteran
Posts: 4166
Joined: Wed Nov 21, 2018 1:13 pm

Re: Linux Mint 19 - FreeCAD will not start!

Post by kisolre »

Sorry, I was quick to respond before reading all. You obviously could not get that since it crashes before that.

From your terminal log it looks like it is "FreeCAD 0.17, Libs: 0.17R13541"
You should try what wmayer suggested:
wmayer wrote: Sun Mar 24, 2019 3:28 pm
Twinager wrote: Sun Mar 24, 2019 9:44 am OK, but I'm not an expert: how can I check this pls?
If installed by a package manager you can see it in the dependencies. Alternatively, use the tool ldd like:

Code: Select all

ldd /usr/lib/freecad/lib/libFreeCADGui.so
If you see any libraries with a Qt5 in their names then it depends on Qt5.
Twinager
Posts: 9
Joined: Sat Mar 23, 2019 6:51 pm

Re: Linux Mint 19 - FreeCAD will not start!

Post by Twinager »

kisolre wrote: Mon Mar 25, 2019 1:09 pm Sorry, I was quick to respond before reading all. You obviously could not get that since it crashes before that.

From your terminal log it looks like it is "FreeCAD 0.17, Libs: 0.17R13541"
You should try what wmayer suggested:
wmayer wrote: Sun Mar 24, 2019 3:28 pm
Twinager wrote: Sun Mar 24, 2019 9:44 am OK, but I'm not an expert: how can I check this pls?
If installed by a package manager you can see it in the dependencies. Alternatively, use the tool ldd like:

Code: Select all

ldd /usr/lib/freecad/lib/libFreeCADGui.so
If you see any libraries with a Qt5 in their names then it depends on Qt5.
This is the result:
pier@pier-desktop:~$ ldd /usr/lib/freecad/lib/libFreeCADGui.so
linux-vdso.so.1 (0x00007ffe9d3f8000)
libFreeCADApp.so => /usr/lib/freecad/lib/libFreeCADApp.so (0x00007f6a6bbe8000)
libCoin.so.80c => /usr/lib/x86_64-linux-gnu/libCoin.so.80c (0x00007f6a6b1db000)
libboost_regex.so.1.65.1 => /usr/lib/x86_64-linux-gnu/libboost_regex.so.1.65.1 (0x00007f6a6aed3000)
libboost_signals.so.1.65.1 => /usr/lib/x86_64-linux-gnu/libboost_signals.so.1.65.1 (0x00007f6a6acbc000)
libboost_system.so.1.65.1 => /usr/lib/x86_64-linux-gnu/libboost_system.so.1.65.1 (0x00007f6a6aab7000)
libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007f6a6a898000)
libGL.so.1 => /usr/lib/x86_64-linux-gnu/libGL.so.1 (0x00007f6a6a60c000)
libQt5PrintSupport.so.5 => /usr/lib/x86_64-linux-gnu/libQt5PrintSupport.so.5 (0x00007f6a6a39d000)
libQt5Svg.so.5 => /usr/lib/x86_64-linux-gnu/libQt5Svg.so.5 (0x00007f6a6a148000)
libQt5Network.so.5 => /usr/lib/x86_64-linux-gnu/libQt5Network.so.5 (0x00007f6a69dbc000)
libX11.so.6 => /usr/lib/x86_64-linux-gnu/libX11.so.6 (0x00007f6a69a84000)
libshiboken2-python2.7.x86_64-linux-gnu.so.5.11 => /usr/lib/x86_64-linux-gnu/libshiboken2-python2.7.x86_64-linux-gnu.so.5.11 (0x00007f6a6985a000)
libpyside2-python2.7.x86_64-linux-gnu.so.5.11 => /usr/lib/x86_64-linux-gnu/libpyside2-python2.7.x86_64-linux-gnu.so.5.11 (0x00007f6a6962a000)
libFreeCADBase.so => /usr/lib/freecad/lib/libFreeCADBase.so (0x00007f6a692a5000)
libpython2.7.so.1.0 => /usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0 (0x00007f6a68d28000)
libxerces-c-3.2.so => /usr/lib/x86_64-linux-gnu/libxerces-c-3.2.so (0x00007f6a687b4000)
libzipios.so.0 => /usr/lib/x86_64-linux-gnu/libzipios.so.0 (0x00007f6a68589000)
libQt5Xml.so.5 => /usr/lib/x86_64-linux-gnu/libQt5Xml.so.5 (0x00007f6a6834d000)
libQt5Widgets.so.5 => /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5 (0x00007f6a67b06000)
libQt5Gui.so.5 => /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5 (0x00007f6a6739d000)
libQt5Core.so.5 => /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 (0x00007f6a66c52000)
libstdc++.so.6 => /usr/lib/x86_64-linux-gnu/libstdc++.so.6 (0x00007f6a668c9000)
libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007f6a6652b000)
libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x00007f6a66313000)
libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f6a65f22000)
libboost_program_options.so.1.65.1 => /usr/lib/x86_64-linux-gnu/libboost_program_options.so.1.65.1 (0x00007f6a65ca1000)
libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007f6a65a9d000)
libexpat.so.1 => /lib/x86_64-linux-gnu/libexpat.so.1 (0x00007f6a6586b000)
libicui18n.so.60 => /usr/lib/x86_64-linux-gnu/libicui18n.so.60 (0x00007f6a653ca000)
libicuuc.so.60 => /usr/lib/x86_64-linux-gnu/libicuuc.so.60 (0x00007f6a65013000)
/lib64/ld-linux-x86-64.so.2 (0x00007f6a6cea6000)
libGLX.so.0 => /usr/lib/x86_64-linux-gnu/libGLX.so.0 (0x00007f6a64de2000)
libGLdispatch.so.0 => /usr/lib/x86_64-linux-gnu/libGLdispatch.so.0 (0x00007f6a64b2c000)
libz.so.1 => /lib/x86_64-linux-gnu/libz.so.1 (0x00007f6a6490f000)
libxcb.so.1 => /usr/lib/x86_64-linux-gnu/libxcb.so.1 (0x00007f6a646e7000)
libQt5Qml.so.5 => /usr/lib/x86_64-linux-gnu/libQt5Qml.so.5 (0x00007f6a640ea000)
libutil.so.1 => /lib/x86_64-linux-gnu/libutil.so.1 (0x00007f6a63ee7000)
libcurl-gnutls.so.4 => /usr/lib/x86_64-linux-gnu/libcurl-gnutls.so.4 (0x00007f6a63c6a000)
libpng16.so.16 => /usr/lib/x86_64-linux-gnu/libpng16.so.16 (0x00007f6a63a38000)
libharfbuzz.so.0 => /usr/lib/x86_64-linux-gnu/libharfbuzz.so.0 (0x00007f6a6379a000)
libdouble-conversion.so.1 => /usr/lib/x86_64-linux-gnu/libdouble-conversion.so.1 (0x00007f6a63589000)
libglib-2.0.so.0 => /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0 (0x00007f6a63273000)
libicudata.so.60 => /usr/lib/x86_64-linux-gnu/libicudata.so.60 (0x00007f6a616ca000)
libXau.so.6 => /usr/lib/x86_64-linux-gnu/libXau.so.6 (0x00007f6a614c6000)
libXdmcp.so.6 => /usr/lib/x86_64-linux-gnu/libXdmcp.so.6 (0x00007f6a612c0000)
libnghttp2.so.14 => /usr/lib/x86_64-linux-gnu/libnghttp2.so.14 (0x00007f6a6109b000)
libidn2.so.0 => /usr/lib/x86_64-linux-gnu/libidn2.so.0 (0x00007f6a60e7e000)
librtmp.so.1 => /usr/lib/x86_64-linux-gnu/librtmp.so.1 (0x00007f6a60c62000)
libpsl.so.5 => /usr/lib/x86_64-linux-gnu/libpsl.so.5 (0x00007f6a60a54000)
libnettle.so.6 => /usr/lib/x86_64-linux-gnu/libnettle.so.6 (0x00007f6a6081e000)
libgnutls.so.30 => /usr/lib/x86_64-linux-gnu/libgnutls.so.30 (0x00007f6a604b9000)
libgssapi_krb5.so.2 => /usr/lib/x86_64-linux-gnu/libgssapi_krb5.so.2 (0x00007f6a6026e000)
libldap_r-2.4.so.2 => /usr/lib/x86_64-linux-gnu/libldap_r-2.4.so.2 (0x00007f6a6001c000)
liblber-2.4.so.2 => /usr/lib/x86_64-linux-gnu/liblber-2.4.so.2 (0x00007f6a5fe0e000)
libfreetype.so.6 => /usr/lib/x86_64-linux-gnu/libfreetype.so.6 (0x00007f6a5fb5a000)
libgraphite2.so.3 => /usr/lib/x86_64-linux-gnu/libgraphite2.so.3 (0x00007f6a5f92d000)
libpcre.so.3 => /lib/x86_64-linux-gnu/libpcre.so.3 (0x00007f6a5f6bb000)
libbsd.so.0 => /lib/x86_64-linux-gnu/libbsd.so.0 (0x00007f6a5f4a6000)
libunistring.so.2 => /usr/lib/x86_64-linux-gnu/libunistring.so.2 (0x00007f6a5f128000)
libhogweed.so.4 => /usr/lib/x86_64-linux-gnu/libhogweed.so.4 (0x00007f6a5eef4000)
libgmp.so.10 => /usr/lib/x86_64-linux-gnu/libgmp.so.10 (0x00007f6a5ec73000)
libp11-kit.so.0 => /usr/lib/x86_64-linux-gnu/libp11-kit.so.0 (0x00007f6a5e944000)
libtasn1.so.6 => /usr/lib/x86_64-linux-gnu/libtasn1.so.6 (0x00007f6a5e731000)
libkrb5.so.3 => /usr/lib/x86_64-linux-gnu/libkrb5.so.3 (0x00007f6a5e45b000)
libk5crypto.so.3 => /usr/lib/x86_64-linux-gnu/libk5crypto.so.3 (0x00007f6a5e229000)
libcom_err.so.2 => /lib/x86_64-linux-gnu/libcom_err.so.2 (0x00007f6a5e025000)
libkrb5support.so.0 => /usr/lib/x86_64-linux-gnu/libkrb5support.so.0 (0x00007f6a5de1a000)
libresolv.so.2 => /lib/x86_64-linux-gnu/libresolv.so.2 (0x00007f6a5dbff000)
libsasl2.so.2 => /usr/lib/x86_64-linux-gnu/libsasl2.so.2 (0x00007f6a5d9e4000)
libgssapi.so.3 => /usr/lib/x86_64-linux-gnu/libgssapi.so.3 (0x00007f6a5d7a3000)
librt.so.1 => /lib/x86_64-linux-gnu/librt.so.1 (0x00007f6a5d59b000)
libffi.so.6 => /usr/lib/x86_64-linux-gnu/libffi.so.6 (0x00007f6a5d393000)
libkeyutils.so.1 => /lib/x86_64-linux-gnu/libkeyutils.so.1 (0x00007f6a5d18f000)
libheimntlm.so.0 => /usr/lib/x86_64-linux-gnu/libheimntlm.so.0 (0x00007f6a5cf86000)
libkrb5.so.26 => /usr/lib/x86_64-linux-gnu/libkrb5.so.26 (0x00007f6a5ccf9000)
libasn1.so.8 => /usr/lib/x86_64-linux-gnu/libasn1.so.8 (0x00007f6a5ca57000)
libhcrypto.so.4 => /usr/lib/x86_64-linux-gnu/libhcrypto.so.4 (0x00007f6a5c821000)
libroken.so.18 => /usr/lib/x86_64-linux-gnu/libroken.so.18 (0x00007f6a5c60b000)
libwind.so.0 => /usr/lib/x86_64-linux-gnu/libwind.so.0 (0x00007f6a5c3e2000)
libheimbase.so.1 => /usr/lib/x86_64-linux-gnu/libheimbase.so.1 (0x00007f6a5c1d3000)
libhx509.so.5 => /usr/lib/x86_64-linux-gnu/libhx509.so.5 (0x00007f6a5bf89000)
libsqlite3.so.0 => /usr/lib/x86_64-linux-gnu/libsqlite3.so.0 (0x00007f6a5bc80000)
libcrypt.so.1 => /lib/x86_64-linux-gnu/libcrypt.so.1 (0x00007f6a5ba48000)
pier@pier-desktop:~$
wmayer
Founder
Posts: 20319
Joined: Thu Feb 19, 2009 10:32 am
Contact:

Re: Linux Mint 19 - FreeCAD will not start!

Post by wmayer »

OK, so it clearly uses Qt5. Now the Qt5 migration for FreeCAD v0.17 was not finished yet and I am not sure if this is the reason of the problem. If there is a chance to use v0.18 instead I would try this.
Twinager
Posts: 9
Joined: Sat Mar 23, 2019 6:51 pm

Re: Linux Mint 19 - FreeCAD will not start!

Post by Twinager »

wmayer wrote: Mon Mar 25, 2019 1:33 pm OK, so it clearly uses Qt5. Now the Qt5 migration for FreeCAD v0.17 was not finished yet and I am not sure if this is the reason of the problem. If there is a chance to use v0.18 instead I would try this.
Thank you, I'll try to download and install FreeCAD 0.18 (before I'll remove the 0.17 version).
User avatar
NormandC
Veteran
Posts: 18589
Joined: Sat Feb 06, 2010 9:52 pm
Location: Québec, Canada

Re: Linux Mint 19 - FreeCAD will not start!

Post by NormandC »

wmayer wrote: Mon Mar 25, 2019 1:33 pm OK, so it clearly uses Qt5. Now the Qt5 migration for FreeCAD v0.17 was not finished yet and I am not sure if this is the reason of the problem. If there is a chance to use v0.18 instead I would try this.
The freecad-stable PPA with 0.17.13541 has been built with Qt5 for months for Ubuntu 18.04, and I've used it without issue (it contains a patch for Qt5). It did replace system libraries like libcoin80v5 with newer versions provided by the PPA.

Maybe it's a problem of conflicting libraries/failed updates, or maybe a graphics issue like the one that affects AMD/Radeon chipsets?

See known OS specific issues topic. https://forum.freecadweb.org/viewtopic.php?f=3&t=30573
jmaustpc
Veteran
Posts: 11207
Joined: Tue Jul 26, 2011 6:28 am
Location: Australia

Re: Linux Mint 19 - FreeCAD will not start!

Post by jmaustpc »

Twinager wrote: Mon Mar 25, 2019 11:37 am
Sorry: how can I display above infos?
Sorry, I was jumping between many topics and I forgot that in your case you could not get FreeCAD to start in the first place.
Twinager wrote: Mon Mar 25, 2019 2:21 pm Thank you, I'll try to download and install FreeCAD 0.18 (before I'll remove the 0.17 version).
Actually 0.18 is the version avaiable from the "Daily" ppa right now, soon that will go up to the current dev version 0.19 and 0.18 will move to the "release" ppa. Your system will tell you automatically when an update is available.

The two PPAs were deliberately set up so that you can have two independent version of FreeCAD installed simultaneously. If you install the "daily" version you get "FreeCAD daily" in your applications menu and if you install from the "release" ppa you get "FreeCAD" and if you install both then you will have both in your menu. Installing both is the best thing to do, so you can try and help test the next version while doing "important" work in the "release" version. Usually shortly after release many cool and important features and bug fixes arrive in the daily/dev version hence a lot of us end up quite soon doing everything in the dev version, which with its bug fixes often ends up in some ways more stable than the release version.

Also if you ever find a bug in a Release version you can first test in the daily/dev version to see if its already been fixed before reporting it on the forums.

Jim
Twinager
Posts: 9
Joined: Sat Mar 23, 2019 6:51 pm

Re: Linux Mint 19 - FreeCAD will not start!

Post by Twinager »

wmayer wrote: Mon Mar 25, 2019 1:33 pm OK, so it clearly uses Qt5. Now the Qt5 migration for FreeCAD v0.17 was not finished yet and I am not sure if this is the reason of the problem. If there is a chance to use v0.18 instead I would try this.
Thank you.
I downloaded the 0.18 appimage but will not start too!
Do you like to take access to my pc and try to view yourself the messages?
I'm really tired: I was tring for few hours to solve but, ...
jmaustpc
Veteran
Posts: 11207
Joined: Tue Jul 26, 2011 6:28 am
Location: Australia

Re: Linux Mint 19 - FreeCAD will not start!

Post by jmaustpc »

one more tip, remove all addons/3rd party addons etc. in case it is one of them causing the issue.

If FreeCAD works then add one add on at a time and test FreeCAD still works. This is good general advise for any application with particularly 3rd party add ons.
thirschbuechler
Posts: 1
Joined: Sat Apr 06, 2019 8:03 am

Re: Linux Mint 19 - FreeCAD will not start!

Post by thirschbuechler »

Yeah, the AppImage seems to be buggy atm (https://github.com/FreeCAD/FreeCAD-AppImage/issues/14), but I think I found out why (follow link to github)
Post Reply