error while loading shared libraries: libglut.so.3

General discussion about Celestia that doesn't fit into other forums.
Topic author
HT_Head

error while loading shared libraries: libglut.so.3

Post #1by HT_Head » 29.01.2003, 20:10

The full error:

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

I have RH8.0 installed, and I know glut is installed (glut-3.7-8). I'm assuming Celestia is crying because it's looking for an old version of the file. How do I tell Celestia that glut is in fact installed, but just a newer version?!

Thanks for any help.

Avatar
t00fri
Developer
Posts: 8772
Joined: 29.03.2002
Age: 22
With us: 22 years 8 months
Location: Hamburg, Germany

error while loading shared libraries: libglut.so.3

Post #2by t00fri » 29.01.2003, 22:46

HT_Head wrote:The full error:

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

I have RH8.0 installed, and I know glut is installed (glut-3.7-8). I'm assuming Celestia is crying because it's looking for an old version of the file. How do I tell Celestia that glut is in fact installed, but just a newer version?!

Thanks for any help.


Linux is a system that is designed to tell people /all/ what they want to know;-). It's UNIX!

1) Just convince yourself, where your glut lib sits and what the libs are called. Remember?

rpm -ql glut-3.7

2) Next you ask the system what shared libs celestia wants. Remember?

ldd `which celestia`

I am sure you remember from your little UNIX handbook (that you get in every bookshop for a Dollar or an Euro) why you have to use /back/-quotes here...

Just have a look what the command says with respect to libglut...

Bye Fridger


Avatar
t00fri
Developer
Posts: 8772
Joined: 29.03.2002
Age: 22
With us: 22 years 8 months
Location: Hamburg, Germany

getting glut for RH8

Post #4by t00fri » 28.03.2003, 18:11



...and where ist the required symbolic link of /usr/lib/libglut.so.3.7 which RH provides with /usr/lib/libglut.so.3 which celestia requires?

If it's missing, then do

cd /usr/lib
ln -s libglut.so.3.7 libglut.so.3

Remember Celestia requires libglut.so.3!

Bye Fridger


Return to “Celestia Users”