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