Bricscad (Linux) on 64bit Linux systems

product: BricsCAD
version: V10 to V12
operating system: Linux (all versions)
last reviewed: 2014-09-17

Symptoms

(1) Installation of Bricscad (Linux) using the DEB installer on a 64 bit Ubuntu version 11.10 or newer fails.

(2) After installing Bricscad (Linux) using the RPM installer on a 64 bit Fedora or OpenSUSE Bricscad (Linux) fails to start.

Cause

(1) The Bricscad (Linux) DEB installer does not work as-is on the newest 64 bit Ubuntu versions.

(2) The Bricscad (Linux) rpm installer is not completely self-serving for 64 bit systems.
It relies on some 32 bit libraries that are not automatically installed by our RPM installer on 64 bit systems.

This issue is caused by providing the same RPM for both 32 and 64 bit.
While it is possible to make an RPM that behaves differently on 32 / 64 bit, we lack experience in doing so.
It is something we wish to study and implement in the future.

Resolution

(1) On 64 bit Ubuntu systems, use the "--force-architecture" flag at commandline to install Bricscad (Linux), for instance, like this:

dpkg --force-architecture -i Bricscad-V12.1.14-1-en_US.deb

Alternatively, our tar.gz version can be downloaded and unpacked to /opt/bricsys/bricscad/v12/.

Missing dependencies need to be installed manually. Missing dependencies can be listed using ldd (see More Information).

(2) On Fedora use the following command to install some additional packages:
yum install qt-x11.i686 gtk2.i686 freetype.i686

On OpenSuse use the following command to install some additional packages:
zypper install libexpat1-32bit libgcc44-32bit libjpeg-32bit libpng12-0-32bit libstdc++44-32bit libqt4-x11-32bit cups-libs-32bit gtk2-32bit freetype2-32bit

The listed packages are sufficient to install the missing libraries.

More information

Running Bricscad from commandline yields more feedback about startup failures. If the problem persists even though all required libraries are found, please run Bricscad from the commandline to review the commandline output.
To do so, open a terminal and enter:
cd /opt/bricsys/bricscad/v11
LD_LIBRARY_PATH=. ./bricscad

The missing libraries can be listed by using ldd in the Bricscad installation folder.
To do so, open a terminal and enter:
cd /opt/bricsys/bricscad/v11/
LD_LIBRARY_PATH=. ldd -r ./bricscad | grep "not found"
The libraries that are not found, need to be installed in addition to the Bricscad RPM.