Freecad crash after pushing new document button

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

Re: Freecad crash after pushing new document button

Post by tiagojanz »

Hi, sorry for the delay

Now when I open I have this error

libcvaux.so.1: cannot open shared object file: No such file or directory

and when I try to create a new document it stills crash

is there anything else I can do to help?
wmayer
Founder
Posts: 20241
Joined: Thu Feb 19, 2009 10:32 am
Contact:

Re: Freecad crash after pushing new document button

Post by wmayer »

Hi,

for the libcvaux.so issue you have to install the OpenCV package. It seems that there is still a problem in Yorik's package with some missing dependencies.

And yes, there is something what you can check on your system. What does the following commands say?
* dpkg -S libCoin.so.60
* dpkg -S libCoin.so.40
* dpkg -S libSoQt4.so.20
* ldd /usr/lib/libSoQt.so.20
* dpkg --print-avail libsoqt4-20
* dpkg --print-avail libcoin40c2
* dpkg --print-avail libcoin60c2
* dpkg --print-avail freecad


It's clear that there is a dependency mismatch of Coin2 and Coin3 on your system. We now try to find out how this can happen.

Cheers,
Werner
tiagojanz

Re: Freecad crash after pushing new document button

Post by tiagojanz »

* dpkg -S libCoin.so.60

libcoin60: /usr/lib/libCoin.so.60.0.0
libcoin60: /usr/lib/libCoin.so.60


* dpkg -S libCoin.so.40
libcoin40c2: /usr/lib/libCoin.so.40
libcoin40c2: /usr/lib/libCoin.so.40.5.0

dpkg -S libSoQt4.so.20

libsoqt4-20: /usr/lib/libSoQt4.so.20
libsoqt4-20: /usr/lib/libSoQt4.so.20.4.1

ldd /usr/lib/libSoQt.so.20
ldd: /usr/lib/libSoQt.so.20: No such file or directory

dpkg --print-avail libsoqt4-20

Package: libsoqt4-20
Priority: optional
Section: libs
Installed-Size: 848
Maintainer: Ubuntu MOTU Developers <ubuntu-motu@lists.ubuntu.com>
Architecture: amd64
Source: soqt
Version: 1.4.1-6
Depends: libc6 (>= 2.4), libcoin40c2, libgcc1 (>= 1:4.1.1), libgl1-mesa-glx | libgl1, libice6 (>= 1:1.0.0), libqt4-opengl (>= 4.4.3), libqt4-qt3support (>= 4.4.3), libqtgui4 (>= 4.4.3), libsm6, libstdc++6 (>= 4.1.1), libx11-6, libxext6, libxi6 (>= 2:1.1.3-1ubuntu3), libxmu6
Size: 272874
Description: Qt4 GUI component toolkit for Inventor - runtime
SoQt is a Qt GUI component toolkit library for Coin, based on the
API of the InventorXt GUI component toolkit. SoQt is also compatible
with OpenInventor of SGI and TGS.
.
This library is linked against Qt version 4.
Original-Maintainer: Steve M. Robbins <smr@debian.org>
Homepage: http://doc.coin3d.org/SoQt/



dpkg --print-avail libcoin40c2

Package: libsoqt4-20
Priority: optional
Section: libs
Installed-Size: 848
Maintainer: Ubuntu MOTU Developers <ubuntu-motu@lists.ubuntu.com>
Architecture: amd64
Source: soqt
Version: 1.4.1-6
Depends: libc6 (>= 2.4), libcoin40c2, libgcc1 (>= 1:4.1.1), libgl1-mesa-glx | libgl1, libice6 (>= 1:1.0.0), libqt4-opengl (>= 4.4.3), libqt4-qt3support (>= 4.4.3), libqtgui4 (>= 4.4.3), libsm6, libstdc++6 (>= 4.1.1), libx11-6, libxext6, libxi6 (>= 2:1.1.3-1ubuntu3), libxmu6
Size: 272874
Description: Qt4 GUI component toolkit for Inventor - runtime
SoQt is a Qt GUI component toolkit library for Coin, based on the
API of the InventorXt GUI component toolkit. SoQt is also compatible
with OpenInventor of SGI and TGS.
.
This library is linked against Qt version 4.
Original-Maintainer: Steve M. Robbins <smr@debian.org>
Homepage: http://doc.coin3d.org/SoQt/
tiago@tux-dev:~$ dpkg --print-avail libcoin40c2
Package: libcoin40c2
Priority: optional
Section: libs
Installed-Size: 7472
Maintainer: Ubuntu MOTU Developers <ubuntu-motu@lists.ubuntu.com>
Architecture: amd64
Source: coin2
Version: 2.5.0-2
Replaces: libcoin40
Depends: libc6 (>= 2.4), libgcc1 (>= 1:4.1.1), libgl1-mesa-glx | libgl1, libice6 (>= 1:1.0.0), libsm6, libstdc++6 (>= 4.1.1), libx11-6, libxext6
Suggests: libsimage-dev, libfreetype6, libopenal0a, zlib1g, libbz2-1.0
Conflicts: libcoin40
Size: 2507340
Description: high-level 3D graphics kit with Open Inventor and VRML97 support - runtime
Coin 2.0 is an OpenGL-based, retain-mode 3D graphics library that
implements the Open Inventor 2.1 API. It also includes support for
VRML97 and 3D audio. Installing the suggested packages will enable
extra features:
.
libsimage-dev enables loading of image files in SbImage
libfreetype6 enables use of TrueType fonts
libopenal0a enables audio support
zlib1g and libbz2 enable transparent read of compressed files
.
Coin version 2 is licensed under the GNU GPL. There is a similar,
though OpenGL-only, library available under the more permissive
GNU Lesser GPL license in the libcoin20-dev package.
For more information on Coin, see http://www.coin3d.org/.
Original-Maintainer: Steve M. Robbins <smr@debian.org>
Homepage: http://www.coin3d.org/


* dpkg --print-avail libcoin60c2

Package `libcoin60c2' is not available.
Use dpkg --info (= dpkg-deb --info) to examine archive files,
and dpkg --contents (= dpkg-deb --contents) to list their contents


dpkg --print-avail freecad

Package: freecad
Priority: extra
Section: Graphics
Installed-Size: 27052
Maintainer: yorik@gmx.fr
Architecture: amd64
Version: 0.7-2145
Provides: freecad
Depends: libopencascade-foundation-6.3.0, libopencascade-modeling-6.3.0, python, libc6, libstdc++6, libboost-date-time1.37.0, libboost-filesystem1.37.0, libboost-graph1.37.0, libboost-iostreams1.37.0, libboost-program-options1.37.0, libboost-regex1.37.0, libboost-serialization1.37.0, libboost-signals1.37.0, libqt4-gui, zlib1g, libxerces-c28, libxt6, libsoqt4-20, libxmu6, libxi6, libgl1-mesa-glx, libx11-6, libxext6, libcv1, libqt4-qt3support, libglu1-mesa, libhighgui1, python-qt4, python-pivy, libgts-0.7-5
Size: 7133628
Description: FreeCAD is an Open Source CAx RAD based on OpenCasCade, Qt and Python. It features some key concepts like macro recording, workbenches, ability to run as a server and dynamically loadable application extensions and it is designed to be platform independent. For more details see http://sourceforge.net/projects/free-cad


Hope this makes sense :D
User avatar
yorik
Founder
Posts: 13640
Joined: Tue Feb 17, 2009 9:16 pm
Location: Brussels
Contact:

Re: Freecad crash after pushing new document button

Post by yorik »

Hmm looks like you need to install libcvaux1 package. Funny, I hadn't noticed that package before... Sorry about that . Anyway I'm finally switching to the normal way of building deb packages, instead of my ever-provisory-never-good system :) So, from now on things should go much better, since I won't have to specify dependencies by hand.
But for the coin2/coin3 mismatch, it looks like the your SoQt package liks to coin2 (coin40), while my freecad package links to coin3 (coin60)... This, I'm afraid, won't work, sorry... If you want to use a package I made, I'm afraid you'll need to wait for next ubuntu version.

Cheers
Yorik
Post Reply