Wed, 13 Oct 2010
# How to install DraftSight 2D CAD in Wine under Linux
DraftSight is a pretty complete 2D CAD product which can read and write DXF and DWG files. It works great in a VirtualBox VM under Linux, but I rather like to run things natively if possible.
Installing it in my existing Wine prefix worked, but trying to run it gave me the error: Runtime Error! An application has made an attempt to load the C runtime library incorrectly. Please contact the application's support team for more information.
Therefore I tried a clean install in a new Wine prefix using the following commands (using some hints from here):
export WINEPREFIX=$HOME/.winedraft
wget -O $WINEPREFIX/winetricks http://www.kegel.com/wine/winetricks
sh $WINEPREFIX/winetricks vcrun2005
chmod -R u-w $WINEPREFIX/drive_c/windows/winsxs
# execute the downloaded installation package
# http://www.3ds.com/products/draftsight/download-draftsight/
# You've to do a custom installation, otherwise the 'Install'
# button doesn't work
wine Downloads/DraftSight.exe
To launch (or use the installed menu link):
WINEPREFIX=$HOME/.winedraft wine $HOME/.winedraft/drive_c/P*/D*/D*/bin/DraftSight.exe
Wine version 1.0.1, DraftSight version 10.7.400. Tested with Debian/Squeeze as of October 2010, but should also work with Ubuntu.
posted at 14:21 | path: /unix | permanent link to this entry
