Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I am trying to run Chamsys MagicQ on Ubuntu 12.10 with 64bit AMD processor.
This is what it tells me when I try to run the program.

./magicq: error while loading shared libraries: libGLU.so.1: cannot open shared object >file: No such file or directory

Here is the list of library dependencies for MagicQ:

austin@ubuntu:~/magicq$ ldd ./magicq
linux-gate.so.1 => (0xf7799000)
libGLU.so.1 => not found
libusb-0.1.so.4 => not found
libQt5PrintSupport.so.5 => not found
libQt5OpenGL.so.5 => not found
libQt5Widgets.so.5 => not found
libQt5Network.so.5 => not found
libQt5Gui.so.5 => not found
libQt5Core.so.5 => not found
libGL.so.1 => /usr/lib32/fglrx/libGL.so.1 (0xf7694000)
libpthread.so.0 => /lib/i386-linux-gnu/libpthread.so.0 (0xf7679000)
libstdc++.so.6 => not found
libm.so.6 => /lib/i386-linux-gnu/libm.so.6 (0xf764d000)
libgcc_s.so.1 => /lib/i386-linux-gnu/libgcc_s.so.1 (0xf762e000)
libc.so.6 => /lib/i386-linux-gnu/libc.so.6 (0xf7483000)
libXext.so.6 => not found
libatiuki.so.1 => /usr/lib32/fglrx/libatiuki.so.1 (0xf746c000)
libdl.so.2 => /lib/i386-linux-gnu/libdl.so.2 (0xf7467000)
/lib/ld-linux.so.2 (0xf779a000)

I know libGLU.so.1 is in /usr/lib/x86_64-linux-gnu as a "link to shared library (application/x-sharedlib)" Link target: "libGLU.so.1.3.1" How do I fix this?

share|improve this question

3 Answers 3

I figured it out. I had to install the 32-bit versions.

For anyone else who may have the same problem and is running a 64-bit operating system. Find the packages that include the missing files and use:

sudo apt-get install package:i386

Change "package" to the name of the package. Without the ":i386" it will install the 64 bit version only.

share|improve this answer

i needed libGLU.so.1 for a game i wanted to play (The Fall) and got this error:

error while loading shared libraries: libGLU.so.1: cannot open shared
object file: No such file or directory

after a search i found a bug page where someone mentioned ia32-libs, and after installing that im up and runnig.

page i found:

https://bugs.launchpad.net/linuxmint/+bug/891578

Command i ran:

sudo apt-get install ia32-libs
share|improve this answer
    
That's the solution for older Ubuntu Distros ia32-lib is deprecated now. Daniel in previous comment is correct for newer Distros. Well at least as an answer to the first error posted in OP. –  JohnRB Sep 25 at 19:14

Actually I couldn't find libglu package itself. What helped is:

sudo apt-get install libglu1-mesa:i386

Ubuntu 14.04 x64

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.