Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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: cannot open shared object >file: No such file or directory

Here is the list of library dependencies for MagicQ:

austin@ubuntu:~/magicq$ ldd ./magicq => (0xf7799000) => not found => not found => not found => not found => not found => not found => not found => not found => /usr/lib32/fglrx/ (0xf7694000) => /lib/i386-linux-gnu/ (0xf7679000) => not found => /lib/i386-linux-gnu/ (0xf764d000) => /lib/i386-linux-gnu/ (0xf762e000) => /lib/i386-linux-gnu/ (0xf7483000) => not found => /usr/lib32/fglrx/ (0xf746c000) => /lib/i386-linux-gnu/ (0xf7467000)
/lib/ (0xf779a000)

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

share|improve this question

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

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 for a game i wanted to play (The Fall) and got this error:

error while loading shared libraries: 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:

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 '14 at 19:14

I just needed to install this, without any 32-bit or 64-bit reference.

sudo apt-get install libglu1
share|improve this answer

I had same kind of problem when i had deleted some of the files, i got them back using this command

sudo apt-get install libglew-dev libcheese7 libcheese-gtk23 libclutter-gst-2.0-0 libcogl15 libclutter-gtk-1.0-0 libclutter-1.0-0

Hope it would work.

share|improve this answer

Your Answer


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.