How can I fix the 'libglut.so.3' error when running an old Linux executable?

July 7, 2025 2 answers
Asked by Horizonless
I'm trying to run some Linux-compatible demos from an old CD that came with a book I found, specifically from the 'Game Programming Gems' collection. One example is located at `SourceCode/Mathematics/10Melax/SPINLOGO`. After making it executable with `chmod +x SPINLOGO`, I encounter an error stating that it cannot open `libglut.so.3`. I'm currently using Linux Mint 22, and I'm looking for a way to resolve this issue and get the program running on my modern setup.

Answers

silica.gel
You might want to check out this site I found. It gives some helpful tips on fixing issues with `libglut.so.3`. Just keep in mind that the information might be outdated, so it could be a bit tricky.

Horizonless: I saw that link, but it didn't help in my case. I even tried `sudo apt-get install freeglut3`, but it said it couldn't find the package.

Reply to this answer
northbound platform
If you're having a tough time getting it to work on Mint, another option is to set up a virtual machine with an older Linux distribution that matches the era of the software. It might be easier to get everything running smoothly that way!

Horizonless: That's a solid idea! I was hoping to learn how to make it work on my current setup, but if all else fails, I might just do that.

Reply to this answer

Add your answer

Answers are reviewed before publication.

Related Discussions