LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   libGL.so.1 (https://www.linuxquestions.org/questions/linux-newbie-8/libgl-so-1-a-739385/)

icecubeflower 07-11-2009 08:58 AM

libGL.so.1
 
I had a little game that I made on Slackware. I'm using Debian now. I get this when I try to run my program:

icecube@97-91-179-182:~/Desktop/demo2$ ./project5
./project5: error while loading shared libraries: libGL.so.1: cannot open shared object file: No such file or directory

That is with Debian freshly installed from the a CD I made with the disc 1 iso.

libGL.so.1 is in /usr/lib

I added /usr/lib to /etc/ld.so.conf and then as root I ran ldconfig. It didn't help.

I tried updating to the best video driver with these instructions:
http://www.mepis.org/docs/en/index.p...ian/Nvidia_way

I guess I updated my driver and enabled 3D hardware acceleration and stuff but I still get that libGL.so.1 error. I don't get it.

jdkaye 07-11-2009 09:17 AM

That file should be part of your fglrx driver package. I guess your using an ATI Radeon type vidoe card, yes?
cheers,
jdk

icecubeflower 07-11-2009 09:23 AM

No. It's an NVidia GeForce 8600GT.

I did what that link I posted above told me to do in order to have the best driver. Like I said, I think that enabled my video card to work at full capacity rather than use whatever drivers came with the initial install of Debian. But I still get that same error.

jdkaye 07-11-2009 10:07 AM

OK, I'm just wondering if it has to do with "diversions" of the library in question. In the fglrx packages that I use a diversion is installed to deal with issues involving exactly that library.
/usr/lib/fglrx/diversions/libGL.so.1.2
Who knows?
jdk

icecubeflower 07-11-2009 10:10 AM

Hey and for some reason if I follow the directions from that link they don't work at first. It won't find nvidia-kernel-common. At some point, I can't remember when I added "contrib non-free" to /etc/apt/sources.list and then I ran "atp-get update" and then after that it could find mvidia-kernel-common. I can't remember where I found out how to do that. Also I definitely had to run "atp-get update" before it could find it. Just adding "contrib non-free" wasn't enough.

icecubeflower 07-11-2009 10:24 AM

Hey and I'm trying to play Doom3. (That's the whole reason I tried a different OS, whatever xorg server that is in Slackware 12.2 has a bug. Xorg fixed it but it won't show up in Slackware until version 13 is out. The mouse moves everything too jumpy in the game.)

Look at this:
icecube@97-91-179-182:~$ doom3
./doom.x86: error while loading shared libraries: libX11.so.6: cannot open shared object file: No such file or directory
icecube@97-91-179-182:~$ su
Password:
97-91-179-182:/home/icecube# find / -name libX11.so.6
/usr/lib/libX11.so.6

Annoying.

jdkaye 07-11-2009 10:36 AM

Yes, annoying indeed. I'm no expert on games but there is a forum devoted to games on LQ called Linux - Games. Why not ask there? Post a thread like "Doom3 - how to install?" and you may get a quick result.
Good luck,
jdk

icecubeflower 07-11-2009 10:39 AM

Okay. I'm wondering if it has something to do with the switch to 64 bit? This is AMD64 Debian. I think I'm going to try i386 Debian and see what happens.

jdkaye 07-11-2009 11:32 AM

I couldn't say. Maybe posting the thread I mentioned with the title "Doom3 with amd64?" might bring enlightenment. Sorry to say I'm not a gamer so I haven't a clue.
cheers,
jdk

H_TeXMeX_H 07-11-2009 11:49 AM

Quote:

Originally Posted by icecubeflower (Post 3604349)
Hey and I'm trying to play Doom3. (That's the whole reason I tried a different OS, whatever xorg server that is in Slackware 12.2 has a bug. Xorg fixed it but it won't show up in Slackware until version 13 is out. The mouse moves everything too jumpy in the game.)

Look at this:
icecube@97-91-179-182:~$ doom3
./doom.x86: error while loading shared libraries: libX11.so.6: cannot open shared object file: No such file or directory
icecube@97-91-179-182:~$ su
Password:
97-91-179-182:/home/icecube# find / -name libX11.so.6
/usr/lib/libX11.so.6

Annoying.

Are you using the evdev driver in xorg.conf ?

icecubeflower 07-11-2009 12:57 PM

I don't know. xorg.conf was completely empty. After updating my nvidia driver with the link at the top I did an "apt-get install nvidia-settings" and then a "apt-get install nvidia-xconfig" and then I ran nvidia-xconfig as root and restarted X.

I never checked xorg.conf after that. It was whatever nvidia-xconfig decided it should be.

I was already playing around with loading new OS's, my stuff is backed up elsewhere so I just installed Debian i386. It works so far. It runs my little game after I apt-get all the libraries. It's really slow, I haven't gotten the nvidia drivers yet but it works. It's not telling it's missing libraries that I know damn well are there.

I think the whole problem was something related to the new 64-bit OS's that are all the rave. Something about the libraries becoming incompatable or something, I don't know. i386 seems to be working for me. I think doom3 will work too, I'll know soon. I'll give 64-bit a try a few years from now I guess.

icecubeflower 07-11-2009 02:21 PM

Yup, doom3 works flawlessly now. Something about the new 64 bit OS's and libraries. Beats me.

the trooper 07-11-2009 02:55 PM

Quote:

I think the whole problem was something related to the new 64-bit OS's that are all the rave
You needed to install the ia32-libs package to run x86 games such as Doom3 in Debian x86_64.
Debian has officially supported AMD64 since the release of Etch in 2007.

icecubeflower 07-11-2009 06:19 PM

Oh. Well, too late now. I'm back in the 32 bit dark ages.


All times are GMT -5. The time now is 02:00 PM.