LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (https://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   LibGL.so.1 (https://www.linuxquestions.org/questions/linux-hardware-18/libgl-so-1-a-125641/)

hacker 8991 12-13-2003 10:30 PM

LibGL.so.1
 
OK, Linux n00b here...

I just installed RedHat 9.0, and after installing the latest ATI Radeon drivers for my 9600 Pro, I get this error when I run any 3D accelerated program, such as tuxracer:

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

In the Display Settings, the "Enable Hardware 3D Acceleration" checkbox is un-checkable. Here are my driver settings (etc/X11/XF86Config):

Identifier "ATI Graphics Adapter"
Driver "fglrx"
BoardName "Unknown video card"
Option "no_accel" "no"
Option "no_dri" "no"
Option "DesktopSetup" "0x00000000"
Option "MonitorLayout" "AUTO, AUTO"
Option "IgnoreEDID" "off"
Option "HSync2" "unspecified"
Option "VRefresh2" "unspecified"
Option "ScreenOverlap" "0"
Option "NoTV" "yes"
Option "TVStandard" "NTSC-M"
Option "TVHSizeAdj" "0"
Option "TVVSizeAdj" "0"
Option "TVHPosAdj" "0"
Option "TVVPosAdj" "0"
Option "TVHStartAdj" "0"
Option "TVColorAdj" "0"
Option "GammaCorrectionI" "0x00000000"
Option "GammaCorrectionII" "0x00000000"
Option "Capabilities" "0x00000000"
Option "VideoOverlay" "on"
Option "OpenGLOverlay" "off"
Option "CenterMode" "off"
Option "PseudoColorVisuals" "off"
Option "Stereo" "off"
Option "StereoSyncEnable" "1"
Option "FSAAScale" "1"
Option "FSAADisableGamma" "no"
Option "FSAACustomizeMSPos" "no"
Option "FSAAMSPosX0" "0.000000"
Option "FSAAMSPosY0" "0.000000"
Option "FSAAMSPosX1" "0.000000"
Option "FSAAMSPosY1" "0.000000"
Option "FSAAMSPosX2" "0.000000"
Option "FSAAMSPosY2" "0.000000"
Option "FSAAMSPosX3" "0.000000"
Option "FSAAMSPosY3" "0.000000"
Option "FSAAMSPosX4" "0.000000"
Option "FSAAMSPosY4" "0.000000"
Option "FSAAMSPosX5" "0.000000"
Option "FSAAMSPosY5" "0.000000"
Option "UseFastTLS" "0"
Option "BlockSignalsOnLock" "on"
Option "UseInternalAGPGART" "yes"
Option "ForceGenericCPU" "no"
BusID "PCI:3:0:0"

Any and all help will be appreciated. Thanks...

BTW, I'm a :newbie:

je_fro 12-14-2003 02:35 AM

I use nvidia cards myself, but I know for a fact that if you search this forum, or any other GNU/Linux forum, you'll find tons of threads exactly like yours. With solutions.
That's all the help I can give.
Luck!

stuNNed 12-14-2003 03:07 AM

what does fglrxinfo give?

hacker 8991 12-14-2003 09:55 AM

stuNNed, I'm not in RedHat at the moment, and I can't for maybe another hour (dual-boot, and someone is transfering files). I'll post as soon as I get a chance to.

je_fro, I have searched that forums, and I have found it to be very hard to find an answer that way. I could not find any topics that dealt with RedHat9 and a Radeon 9600Pro exactly.

teval 12-14-2003 10:15 AM

Try running ldconfig as root, probably won't solve your problem, but it might.

hacker 8991 12-14-2003 12:17 PM

stuNNed, here you go:

Code:

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

teval, I can't seem to run ldconfig:

Code:

bash: ldconfig: command not found

UnTamed 12-14-2003 03:37 PM

Did you install the rpm pkg with the --force flag, as suggested by ATI?

This is specifically for libGL.so.1.2, so the install script will know what to do with the only file that's in it's way, so to speak.

btw, libGL.so and libGL.so.1 are only symlinks to libGL.so.1.2.

HTH

hacker 8991 12-14-2003 05:16 PM

I don't know what symlinks are... since I'm a n00b :p

Anyway, I followed the instructions EXACTLY and yet I get this error :(

stuNNed 12-14-2003 05:25 PM

also aren't you supposed to delete the xfree-mesa-related rpms? then force install the fglrx one?

hacker 8991 12-14-2003 05:48 PM

Uhh, what?

I had not installed any RPMs other than the ATi ones. I was using the VESA generic driver. No idea what you are talking about...

stuNNed 12-14-2003 06:18 PM

by default one of the xfree86 rpms installed on the system when you install the OS is an xfree86-mesa rpm,

try this:

rpm -qa|grep -i mesa

UnTamed 12-14-2003 07:05 PM

Quote:

Originally posted by stuNNed
also aren't you supposed to delete the xfree-mesa-related rpms? then force install the fglrx one?
Actually, one *or* the other should work, it's just that lots of distros don't have libMesa as a separate pkg.
In fact a simple
mv /usr/X11R6/lib/libGL.so.1.2 /usr/X11R6/lib/dri-libGL.so.1.2
prior to installing the driver will get the conflicting file out of the way just the same.

stuNNed 12-14-2003 07:34 PM

it would be nice if ati's drivers handled this well like nvidia drivers do, i.e. upon installation of nvidia drivers, it renames or deletes (i forget which) all these conflicting files for you.

teval 12-14-2003 07:47 PM

It's actually neater.
With the opengl-update program you can switch between implementations using nvidia. So I can use nvidia's opengl libs, or xfree's opengl libs. :)

Hmm.. you have ldconfig for sure, won't make a diffrence but it's in: /sbin/ldconfig
You just don't have sbin in your path. I don't even think you can run a system properly without it. It's part of the sys-libs/glibc package which is required.

hacker 8991 12-14-2003 09:42 PM

Umm, this is what happens:

Code:

[root@godzillab-7 /]# rpm -qa|grep -i mesa
XFree86-Mesa-libGL-4.3.0-2
XFree86-Mesa-libGLU-4.3.0-2



All times are GMT -5. The time now is 06:44 PM.