Just a quick note here. I was trying to get a DWG to load in freecad…
I’m running 64 ubuntu and I seem to be having the same problem was far as what was occurring here. http://forum.freecadweb.org/viewtopic.php?f=3&t=8594&p=70887&hilit=Teigha#p70887
It was the weirdess thing. I would try executing the program in the folder in which it resides and I’d get a message back.
jonasthomas@JTLapTop:/usr/bin/TeighaFileConverter_4.00.0$ TeighaFileConverter
/usr/bin/TeighaFileConverter: 4: /usr/bin/TeighaFileConverter: /usr/bin/TeighaFileConverter_4.00.0/TeighaFileConverter: not found
I ran across this http://linuxaideddesign.blogspot.com/2013/05/teigha-viewer-and-teigha-file-converter.html which talked about installing ia32-libs and things seem to get much better.
Before I installed this… I didn’t get anything when I did this.
jonasthomas@JTLapTop:/$ ldd /usr/bin/TeighaFileConverter_4.00.0/TeighaFileConverter
linux-gate.so.1 => (0xf7779000)
libTD_Alloc.so => not found
libTD_DbRoot.so => not found
libTD_Root.so => not found
libTD_Db.so => not found
libTD_Ge.so => not found
libTD_Gi.so => not found
libTD_SpatialIndex.so => not found
libTD_Gs.so => not found
libsisl.so => not found
libQtGui.so.4 => /usr/lib/i386-linux-gnu/libQtGui.so.4 (0xf6c81000)
libpng12.so.0 => /lib/i386-linux-gnu/libpng12.so.0 (0xf6c57000)
libXext.so.6 => /usr/lib/i386-linux-gnu/libXext.so.6 (0xf6c45000)
libX11.so.6 => /usr/lib/i386-linux-gnu/libX11.so.6 (0xf6b10000)
libQtCore.so.4 => /usr/lib/i386-linux-gnu/libQtCore.so.4 (0xf6833000)
libz.so.1 => /lib/i386-linux-gnu/libz.so.1 (0xf681d000)
librt.so.1 => /lib/i386-linux-gnu/librt.so.1 (0xf6814000)
libdl.so.2 => /lib/i386-linux-gnu/libdl.so.2 (0xf680f000)
libpthread.so.0 => /lib/i386-linux-gnu/libpthread.so.0 (0xf67f3000)
libstdc++.so.6 => /usr/lib/i386-linux-gnu/libstdc++.so.6 (0xf670e000)
libm.so.6 => /lib/i386-linux-gnu/libm.so.6 (0xf66e2000)
libgcc_s.so.1 => /lib/i386-linux-gnu/libgcc_s.so.1 (0xf66c4000)
libc.so.6 => /lib/i386-linux-gnu/libc.so.6 (0xf651a000)
libfontconfig.so.1 => /usr/lib/i386-linux-gnu/libfontconfig.so.1 (0xf64e5000)
libaudio.so.2 => /usr/lib/i386-linux-gnu/libaudio.so.2 (0xf64cc000)
libglib-2.0.so.0 => /lib/i386-linux-gnu/libglib-2.0.so.0 (0xf63d3000)
libfreetype.so.6 => /usr/lib/i386-linux-gnu/libfreetype.so.6 (0xf6339000)
libgobject-2.0.so.0 => /usr/lib/i386-linux-gnu/libgobject-2.0.so.0 (0xf62ea000)
libSM.so.6 => /usr/lib/i386-linux-gnu/libSM.so.6 (0xf62e0000)
libICE.so.6 => /usr/lib/i386-linux-gnu/libICE.so.6 (0xf62c6000)
libXi.so.6 => /usr/lib/i386-linux-gnu/libXi.so.6 (0xf62b5000)
libXrender.so.1 => /usr/lib/i386-linux-gnu/libXrender.so.1 (0xf62ab000)
libxcb.so.1 => /usr/lib/i386-linux-gnu/libxcb.so.1 (0xf628a000)
/lib/ld-linux.so.2 (0xf777a000)
libexpat.so.1 => /lib/i386-linux-gnu/libexpat.so.1 (0xf625f000)
libXt.so.6 => /usr/lib/i386-linux-gnu/libXt.so.6 (0xf6203000)
libXau.so.6 => /usr/lib/i386-linux-gnu/libXau.so.6 (0xf61ff000)
libpcre.so.3 => /lib/i386-linux-gnu/libpcre.so.3 (0xf61c3000)
libffi.so.6 => /usr/lib/i386-linux-gnu/libffi.so.6 (0xf61bc000)
libuuid.so.1 => /lib/i386-linux-gnu/libuuid.so.1 (0xf61b5000)
libXdmcp.so.6 => /usr/lib/i386-linux-gnu/libXdmcp.so.6 (0xf61ae000)
jonasthomas@JTLapTop:/$
Hmm..
Seems to have some issues here:
libTD_SpatialIndex.so => not found
libTD_Gs.so => not found
libsisl.so => not found
Ok.. When I run from the terminal I get this.
jonasthomas@JTLapTop:/$ TeighaFileConverter
Unable to load library icui18n “Cannot load library icui18n: (libicui18n.so.48: wrong ELF class: ELFCLASS64)”
menu_proxy_module_load': /usr/bin/TeighaFileConverter_4.00.0/TeighaFileConverter: undefined symbol: menu_proxy_module_load
(TeighaFileConverter:14626): Gtk-WARNING **: Failed to load type module: (null)
menu_proxy_module_load’: /usr/bin/TeighaFileConverter_4.00.0/TeighaFileConverter: undefined symbol: menu_proxy_module_load
(TeighaFileConverter:14626): Gtk-WARNING **: Failed to load type module: (null)
menu_proxy_module_load': /usr/bin/TeighaFileConverter_4.00.0/TeighaFileConverter: undefined symbol: menu_proxy_module_load
(TeighaFileConverter:14626): Gtk-WARNING **: Failed to load type module: (null)
menu_proxy_module_load’: /usr/bin/TeighaFileConverter_4.00.0/TeighaFileConverter: undefined symbol: menu_proxy_module_load
(TeighaFileConverter:14626): Gtk-WARNING **: Failed to load type module: (null)
So google leads me here: https://github.com/mdemeyer/MovieThumbs/issues/1
Sooo… It’s late and I’ve managed to manually fire up TeigaFileConvertor and it seems like I managed to convert Dwg into Dxf…
I loaded the Python scripts according to this manually.
DXF libraries not found. Downloading…
The DXF import/export libraries needed by FreeCAD to handle the DXF format
were not found on this system. Please either enable FreeCAD to download these
libraries (menu Edit > Preferences > Import-Export > DXF > Enable downloads) or download
these libraries manually, as explained on
https://github.com/yorikvanhavre/Draft-dxf-importer
Still no joy… I give up..