0003784: Path: error - /opt/freecad/lib/libSMDS.so: undefined symbol: _ZN19vtkUnstructuredGrid12GetMeshMTimeEv

Having trouble installing or compiling FreeCAD? Get help here.
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
Post Reply
memfis
Posts: 589
Joined: Tue Nov 15, 2016 7:58 pm

0003784: Path: error - /opt/freecad/lib/libSMDS.so: undefined symbol: _ZN19vtkUnstructuredGrid12GetMeshMTimeEv

Post by memfis »

OS: Arch Linux
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.18.15657 (Git)
Build type: Release
Branch: master
Hash: ed06cbe62676e954b486afe594310452af582c1c
Python version: 2.7.15
Qt version: 5.12.0
Coin version: 3.1.3
OCC version: 7.3.0
Locale: Russian/Russia (ru_RU)


run FreeCad

choose the Path workbench

When selecting the Path workbench, the error message

/opt/freecad/lib/libSMDS.so: undefined symbol: _ZN19vtkUnstructuredGrid12GetMeshMTimeEv
Traceback (most recent call last):
File "<string>", line 75, in Initialize
File "/opt/freecad/Mod/Path/PathScripts/PathGuiInit.py", line 69, in Startup
from PathScripts import PathSurfaceGui
File "/opt/freecad/Mod/Path/PathScripts/PathSurfaceGui.py", line 27, in <module>
import PathScripts.PathSurface as PathSurface
File "/opt/freecad/Mod/Path/PathScripts/PathSurface.py", line 28, in <module>
import MeshPart

and the workbench do not start.

Replaced the package coin -> coin-hg, rebuilt the program. The result is about the same

0.18, Libs: 0.18R15687 (Git)
© Juergen Riegel, Werner Mayer, Yorik van Havre 2001-2019
##### #### ### ####
# # # # # #
# ## #### #### # # # # #
#### # # # # # # # ##### # #
# # #### #### # # # # #
# # # # # # # # # ## ## ##
# # #### #### ### # # #### ## ## ##

/usr/lib/python2.7/site-packages/pivy/_coin.so: undefined symbol: _ZN23SoGLTextureImageElement15hasTransparencyEP7SoState
Traceback (most recent call last):
File "<string>", line 73, in Initialize
File "/opt/freecad/Mod/Path/PathScripts/PathJobCmd.py", line 27, in <module>
import PathScripts.PathJob as PathJob
File "/opt/freecad/Mod/Path/PathScripts/PathJob.py", line 25, in <module>
import ArchPanel
File "/opt/freecad/Mod/Arch/ArchPanel.py", line 24, in <module>
import FreeCAD,Draft,ArchComponent,DraftVecUtils,ArchCommands,math, Part, ArchNesting
File "/opt/freecad/Mod/Arch/ArchComponent.py", line 83, in <module>
import FreeCAD,Draft,ArchCommands,math,sys
File "/opt/freecad/Mod/Arch/ArchCommands.py", line 32, in <module>
from DraftTools import translate, utf8_decode
File "/opt/freecad/Mod/Draft/DraftTools.py", line 44, in <module>
from DraftGui import todo, translate, utf8_decode
File "/opt/freecad/Mod/Draft/DraftGui.py", line 2488, in <module>
import DraftSnap
File "/opt/freecad/Mod/Draft/DraftSnap.py", line 36, in <module>
import FreeCAD, FreeCADGui, math, Draft, DraftGui, DraftTrackers, DraftVecUtils, itertools
File "/opt/freecad/Mod/Draft/DraftTrackers.py", line 38, in <module>
from pivy import coin
File "/usr/lib/python2.7/site-packages/pivy/__init__.py", line 28, in <module>
from coin import SoDB, SoNodeKit, SoInteraction
File "/usr/lib/python2.7/site-packages/pivy/coin.py", line 36, in <module>
_coin = swig_import_helper()
File "/usr/lib/python2.7/site-packages/pivy/coin.py", line 32, in swig_import_helper
_mod = imp.load_module('_coin', fp, pathname, description)



================

OS: Arch Linux
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.18.15805 (Git)
Build type: Release
Branch: master
Hash: f431226bb827d960588485fbae5b5c072c7b640c
Python version: 2.7.15
Qt version: 5.12.1
Coin version: 4.0.0a
OCC version: 7.3.0
Locale: Russian/Russia (ru_RU)


/usr/lib/python2.7/site-packages/pivy/_coin.so: undefined symbol: _ZN23SoGLTextureImageElement15hasTransparencyEP7SoState
Traceback (most recent call last):
File "<string>", line 73, in Initialize
File "/home/memfis/yaourt-tmp-memfis/freecad_020/Mod/Path/PathScripts/PathJobCmd.py", line 27, in <module>
import PathScripts.PathJob as PathJob
File "/home/memfis/yaourt-tmp-memfis/freecad_020/Mod/Path/PathScripts/PathJob.py", line 25, in <module>
import ArchPanel
File "/home/memfis/yaourt-tmp-memfis/freecad_020/Mod/Arch/ArchPanel.py", line 24, in <module>
import FreeCAD,Draft,ArchComponent,DraftVecUtils,ArchCommands,math, Part, ArchNesting
File "/home/memfis/yaourt-tmp-memfis/freecad_020/Mod/Arch/ArchComponent.py", line 83, in <module>
import FreeCAD,Draft,ArchCommands,math,sys
File "/home/memfis/yaourt-tmp-memfis/freecad_020/Mod/Arch/ArchCommands.py", line 32, in <module>
from DraftTools import translate, utf8_decode
File "/home/memfis/yaourt-tmp-memfis/freecad_020/Mod/Draft/DraftTools.py", line 44, in <module>
from DraftGui import todo, translate, utf8_decode
File "/home/memfis/yaourt-tmp-memfis/freecad_020/Mod/Draft/DraftGui.py", line 2503, in <module>
import DraftSnap
File "/home/memfis/yaourt-tmp-memfis/freecad_020/Mod/Draft/DraftSnap.py", line 36, in <module>
import FreeCAD, FreeCADGui, math, Draft, DraftGui, DraftTrackers, DraftVecUtils, itertools
File "/home/memfis/yaourt-tmp-memfis/freecad_020/Mod/Draft/DraftTrackers.py", line 38, in <module>
from pivy import coin
File "/usr/lib/python2.7/site-packages/pivy/__init__.py", line 28, in <module>
from coin import SoDB, SoNodeKit, SoInteraction
File "/usr/lib/python2.7/site-packages/pivy/coin.py", line 36, in <module>
_coin = swig_import_helper()
File "/usr/lib/python2.7/site-packages/pivy/coin.py", line 32, in swig_import_helper
_mod = imp.load_module('_coin', fp, pathname, description)


https://www.freecadweb.org/tracker/view.php?id=3784
Attachments
1.png
1.png (112.21 KiB) Viewed 1572 times
triplus
Veteran
Posts: 9471
Joined: Mon Dec 12, 2011 4:45 pm

Re: 0003784: Path: error - /opt/freecad/lib/libSMDS.so: undefined symbol: _ZN19vtkUnstructuredGrid12GetMeshMTimeEv

Post by triplus »

Did you compile FreeCAD? Usually such issues are related to borked build. Deleting everything and starting from scratch could therefore resolve the issue.
memfis
Posts: 589
Joined: Tue Nov 15, 2016 7:58 pm

Re: 0003784: Path: error - /opt/freecad/lib/libSMDS.so: undefined symbol: _ZN19vtkUnstructuredGrid12GetMeshMTimeEv

Post by memfis »

I installed from the repository, and from scratch from git.
memfis
Posts: 589
Joined: Tue Nov 15, 2016 7:58 pm

Re: 0003784: Path: error - /opt/freecad/lib/libSMDS.so: undefined symbol: _ZN19vtkUnstructuredGrid12GetMeshMTimeEv

Post by memfis »

Power is changing. Rolled back -
python-pivy & python2-pivy

The error has changed, but the result is the same -

OS: "Arch Linux"
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.17.13544 (Git)
Build type: Release
Branch: makepkg
Hash: e1db7bff8ff36439373eb9a426567d8afe289c4d
Python version: 2.7.15
Qt version: 5.12.0
Coin version: 4.0.0a
OCC version: 7.3.0
Locale: Russian/Russia (ru_RU)
==========
No module named _coin
Traceback (most recent call last):
File "<string>", line 52, in Initialize
File "/usr/lib/freecad/Mod/Path/PathScripts/PathDressupDogbone.py", line 31, in <module>
import PathScripts.PathDressup as PathDressup
File "/usr/lib/freecad/Mod/Path/PathScripts/PathDressup.py", line 27, in <module>
import PathScripts.PathJob as PathJob
File "/usr/lib/freecad/Mod/Path/PathScripts/PathJob.py", line 25, in <module>
import ArchPanel
File "/usr/lib/freecad/Mod/Arch/ArchPanel.py", line 24, in <module>
import FreeCAD,Draft,ArchComponent,DraftVecUtils,ArchCommands,math, Part, ArchNesting
File "/usr/lib/freecad/Mod/Arch/ArchComponent.py", line 34, in <module>
import FreeCAD,Draft,ArchCommands,math
File "/usr/lib/freecad/Mod/Arch/ArchCommands.py", line 31, in <module>
from DraftTools import translate, utf8_decode
File "/usr/lib/freecad/Mod/Draft/DraftTools.py", line 43, in <module>
from DraftGui import todo, QtCore, QtGui, translate, utf8_decode
File "/usr/lib/freecad/Mod/Draft/DraftGui.py", line 2276, in <module>
import DraftSnap
File "/usr/lib/freecad/Mod/Draft/DraftSnap.py", line 36, in <module>
import FreeCAD, FreeCADGui, math, Draft, DraftGui, DraftTrackers, DraftVecUtils, itertools
File "/usr/lib/freecad/Mod/Draft/DraftTrackers.py", line 38, in <module>
from pivy import coin
File "/usr/lib/python2.7/site-packages/pivy/__init__.py", line 28, in <module>
from coin import SoDB, SoNodeKit, SoInteraction
File "/usr/lib/python2.7/site-packages/pivy/coin.py", line 26, in <module>
_coin = swig_import_helper()
File "/usr/lib/python2.7/site-packages/pivy/coin.py", line 25, in swig_import_helper
return importlib.import_module('_coin')
File "/usr/lib/python2.7/importlib/__init__.py", line 37, in import_module
__import__(name)
=============


OS: Arch Linux
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.18.15805 (Git)
Build type: Release
Branch: master
Hash: f431226bb827d960588485fbae5b5c072c7b640c
Python version: 2.7.15
Qt version: 5.12.1
Coin version: 4.0.0a
OCC version: 7.3.0
Locale: Russian/Russia (ru_RU)

No module named _coin
Traceback (most recent call last):
File "<string>", line 73, in Initialize
File "/home/memfis/yaourt-tmp-memfis/freecad_020/Mod/Path/PathScripts/PathJobCmd.py", line 27, in <module>
import PathScripts.PathJob as PathJob
File "/home/memfis/yaourt-tmp-memfis/freecad_020/Mod/Path/PathScripts/PathJob.py", line 25, in <module>
import ArchPanel
File "/home/memfis/yaourt-tmp-memfis/freecad_020/Mod/Arch/ArchPanel.py", line 24, in <module>
import FreeCAD,Draft,ArchComponent,DraftVecUtils,ArchCommands,math, Part, ArchNesting
File "/home/memfis/yaourt-tmp-memfis/freecad_020/Mod/Arch/ArchComponent.py", line 83, in <module>
import FreeCAD,Draft,ArchCommands,math,sys
File "/home/memfis/yaourt-tmp-memfis/freecad_020/Mod/Arch/ArchCommands.py", line 32, in <module>
from DraftTools import translate, utf8_decode
File "/home/memfis/yaourt-tmp-memfis/freecad_020/Mod/Draft/DraftTools.py", line 44, in <module>
from DraftGui import todo, translate, utf8_decode
File "/home/memfis/yaourt-tmp-memfis/freecad_020/Mod/Draft/DraftGui.py", line 2503, in <module>
import DraftSnap
File "/home/memfis/yaourt-tmp-memfis/freecad_020/Mod/Draft/DraftSnap.py", line 36, in <module>
import FreeCAD, FreeCADGui, math, Draft, DraftGui, DraftTrackers, DraftVecUtils, itertools
File "/home/memfis/yaourt-tmp-memfis/freecad_020/Mod/Draft/DraftTrackers.py", line 38, in <module>
from pivy import coin
File "/usr/lib/python2.7/site-packages/pivy/__init__.py", line 28, in <module>
from coin import SoDB, SoNodeKit, SoInteraction
File "/usr/lib/python2.7/site-packages/pivy/coin.py", line 26, in <module>
_coin = swig_import_helper()
File "/usr/lib/python2.7/site-packages/pivy/coin.py", line 25, in swig_import_helper
return importlib.import_module('_coin')
File "/usr/lib/python2.7/importlib/__init__.py", line 37, in import_module
__import__(name)


package, of course, is -

pacman -Qs coin
local/coin-docs 3.1.3-18
A high-level 3D graphics toolkit on top of OpenGL (docs)
local/coin-hg r11936.6c7a6ce6eed6-1
A high-level, retained-mode 3D graphics toolkit compatible with Open Inventor 2.1
local/python-pivy 0.6.4-1
A Python binding for Coin
local/python2-pivy 20101207-1
Coin binding for Python
triplus
Veteran
Posts: 9471
Joined: Mon Dec 12, 2011 4:45 pm

Re: 0003784: Path: error - /opt/freecad/lib/libSMDS.so: undefined symbol: _ZN19vtkUnstructuredGrid12GetMeshMTimeEv

Post by triplus »

Please use the code tags.

Until you resolve the issue, you can use the AppImage.

https://github.com/FreeCAD/FreeCAD/releases

As for resolving the issue. This second issue feels Pivy related, therefore try reinstalling the Pivy package.
memfis
Posts: 589
Joined: Tue Nov 15, 2016 7:58 pm

Re: 0003784: Path: error - /opt/freecad/lib/libSMDS.so: undefined symbol: _ZN19vtkUnstructuredGrid12GetMeshMTimeEv

Post by memfis »

Rolled back

coin-hg -> coin

./../freecad_020/bin/FreeCAD: symbol lookup error: /home/memfis/yaourt-tmp-memfis/freecad_020/lib/libFreeCADGui.so: undefined symbol: _ZN6SoBase12createNotRecEv

freecad
freecad: symbol lookup error: /usr/lib/freecad/lib/libFreeCADGui.so: undefined symbol: _ZN6SoBase12createNotRecEv
User avatar
Kunda1
Veteran
Posts: 13434
Joined: Thu Jan 05, 2017 9:03 pm

Re: 0003784: Path: error - /opt/freecad/lib/libSMDS.so: undefined symbol: _ZN19vtkUnstructuredGrid12GetMeshMTimeEv

Post by Kunda1 »

@memfis opened an issue prior to this thread: issue #3784
Alone you go faster. Together we go farther
Please mark thread [Solved]
Want to contribute back to FC? Checkout:
'good first issues' | Open TODOs and FIXMEs | How to Help FreeCAD | How to report Bugs
triplus
Veteran
Posts: 9471
Joined: Mon Dec 12, 2011 4:45 pm

Re: 0003784: Path: error - /opt/freecad/lib/libSMDS.so: undefined symbol: _ZN19vtkUnstructuredGrid12GetMeshMTimeEv

Post by triplus »

This is highly likely packaging/compile issue.
Post Reply