[solved] Linux: Cannot open shared object file

Post your question about installing or upgrading QCAD.

Moderator: andrew

Post Reply
User avatar
andrew
Site Admin
Posts: 5370
Joined: Fri Mar 30, 2007 6:07 am

[solved] Linux: Cannot open shared object file

Post by andrew » Mon Jan 12, 2015 10:26 am

From a QCAD user:
Running QCAD yields the following error (or similar):

"./qcad-bin: error while loading shared libraries: libGLU.so.1: cannot
open shared object file: No such file or directory"

User avatar
andrew
Site Admin
Posts: 5370
Joined: Fri Mar 30, 2007 6:07 am

Re: Linux: Cannot open shared object file

Post by andrew » Mon Jan 12, 2015 11:44 am

Please install the required dependency (Mesa GLU library). The package is likely called "mesa-libGLU" or similar (search your package manager for "GLU" or "mesa").

If you are running 64-bit QCAD on a 64-bit Linux system or 32-bit QCAD on a 32-bit Linux System:

Debian or Ubuntu : apt-get install libglu1-mesa
Fedora : yum install mesa-libGLU.i686
Mandriva : urpmi libmesaglu1
SUSE : zypper install Mesa-libGLU1

If you are running 32-bit QCAD on a 64-bit Linux system (note the 64-bit QCAD packages are available for QCAD since version 3.1):

64-bit Debian or Ubuntu : apt-get install libglu1-mesa:i386
64-bit Fedora : yum install mesa-libGLU.i686
64-bit Mandriva : urpmi libmesaglu1
64-bit SUSE : zypper install Mesa-libGLU1-32bit (or Mesa-32bit)

banzai
Newbie Member
Posts: 3
Joined: Tue Jan 13, 2015 8:03 am

Re: Linux: Cannot open shared object file

Post by banzai » Tue Jan 13, 2015 8:14 am

I had this error after a system update (Debian 7). My system was 64 bit but I'd been running the 32 bit version of QCAD with the 32 bit libs.. More of by accident than plan.

The upshot was, rather than reinstall all the 32 bit libs, I just downloaded the 64 bit version of QCAD and all was well.

Post Reply

Return to “QCAD Installation and Upgrades”