Compile w/Py3 & Qt5 for Dummies

Having trouble installing or compiling FreeCAD? Get help here.
looo
Posts: 2665
Joined: Mon Nov 11, 2013 5:29 pm

Re: Compile w/Py3 & Qt5 for Dummies

Postby looo » Tue Feb 19, 2019 8:28 am

Was the netgen-package updated in ubuntu 18.04? I have problems with updating netgen:

Code: Select all

libnglib-dev: Depends: libnglib-6.2.1807 (= 6.2.1807+dfsg1-0ppa3~ubuntu18.04) aber es ist nicht installiert
netgen: Depends: libnglib-6.2.1807 (= 6.2.1807+dfsg1-0ppa3~ubuntu18.04) aber es ist nicht installiert
        Depends: libgcc1 (>= 1:3.0) aber 1:8.2.0-1ubuntu2~18.04 ist bereits installiert
        Depends: libtcl8.6 (>= 8.6.0) aber 8.6.8+dfsg-3 ist bereits installiert
        Depends: libtk8.6 (>= 8.6.0) aber 8.6.8-4 ist bereits installiert
User avatar
kkremitzki
Posts: 1652
Joined: Thu Mar 03, 2016 9:52 pm
Location: Texas

Re: Compile w/Py3 & Qt5 for Dummies

Postby kkremitzki » Wed Feb 20, 2019 9:01 pm

What apt command are you getting that error message from btw?
Like my FreeCAD work? I'd appreciate any level of support via Patreon, Liberapay, or PayPal! Read more about what I do at my blog.
looo
Posts: 2665
Joined: Mon Nov 11, 2013 5:29 pm

Re: Compile w/Py3 & Qt5 for Dummies

Postby looo » Fri Feb 22, 2019 7:43 am

kkremitzki wrote:
Wed Feb 20, 2019 9:01 pm
What apt command are you getting that error message from btw?
It was from "apt-get upgrade". A "apt-get --fix-broken install" seems to fixed it now.
User avatar
kkremitzki
Posts: 1652
Joined: Thu Mar 03, 2016 9:52 pm
Location: Texas

Re: Compile w/Py3 & Qt5 for Dummies

Postby kkremitzki » Fri Feb 22, 2019 4:31 pm

Ah, OK, great. I was going to suggest sudo apt install -f as a fix but wanted to get more context first.
Like my FreeCAD work? I'd appreciate any level of support via Patreon, Liberapay, or PayPal! Read more about what I do at my blog.
User avatar
kkremitzki
Posts: 1652
Joined: Thu Mar 03, 2016 9:52 pm
Location: Texas

Re: Compile w/Py3 & Qt5 for Dummies

Postby kkremitzki » Fri Feb 22, 2019 6:07 pm

BTW, I have an updated netgen 6.2.1810 package I still need to upload to the PPAs.
Like my FreeCAD work? I'd appreciate any level of support via Patreon, Liberapay, or PayPal! Read more about what I do at my blog.
reox
Posts: 595
Joined: Sat Aug 13, 2016 10:06 am

Re: Compile w/Py3 & Qt5 for Dummies

Postby reox » Sun Mar 03, 2019 12:09 pm

today I tried to build with netgen support, but I noticed that I would get this error message when switching into the FEM workbench:

Code: Select all

libnglib.so: cannot open shared object file: No such file or directory
Traceback (most recent call last):
  File "<string>", line 45, in Initialize
the error would go away if I used:

Code: Select all

LD_LIBRARY_PATH=/usr/lib/x86_64-linux-gnu/netgen/:$LD_LIRBARY_PATH freecad
It looks like that libnglib.so is also not listed by ldconfig -p.
I would guess, that the problem is, that no symlinks from /usr/lib/x86_64-linux-gnu/netgen/ to /usr/lib/x86_64-linux-gnu are provided, thus ldconfig does not search for the library?

I'm using netgen from debian sid:

Code: Select all

ii  libnglib-6.2.1804:amd64 6.2.1804+dfsg1-2 amd64        Automatic 3d tetrahedral mesh generator shared library
ii  libnglib-dev            6.2.1804+dfsg1-2 amd64        Automatic 3d tetrahedral mesh generator development files
ii  netgen         6.2.1804+dfsg1-2 amd64        Automatic 3d tetrahedral mesh generator
reox
Posts: 595
Joined: Sat Aug 13, 2016 10:06 am

Re: Compile w/Py3 & Qt5 for Dummies

Postby reox » Tue Mar 05, 2019 6:59 pm

kkremitzki wrote:
Fri Feb 22, 2019 6:07 pm
ping
I think the netgen package in debian should either provide a /etc/ld.conf.d/netgen.conf or symlink the .so files to /usr/lib/$(dpkg-architecture -qDEB_BUILD_GNU_TYPE) so they are found by ldconfig.
wmayer
Site Admin
Posts: 14478
Joined: Thu Feb 19, 2009 10:32 am

Re: Compile w/Py3 & Qt5 for Dummies

Postby wmayer » Mon Jul 15, 2019 7:47 pm

looo wrote:
Sat Feb 09, 2019 10:25 am
Somehow I am missing /usr/lib/python3.6/site-packages/shiboken2.<cpython....>.so
Today I was installing an Ubuntu LTS version in a virtualbox environment and I ran into the same problem. I have installed the corresponding packages of the PPA and I can confirm that this file is still missing.