LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 12-13-2003, 10:30 PM   #1
hacker 8991
LQ Newbie
 
Registered: Dec 2003
Posts: 7

Rep: Reputation: 0
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
 
Old 12-14-2003, 02:35 AM   #2
je_fro
Member
 
Registered: Nov 2002
Location: /texas/austin/home/desk
Distribution: Gentoo
Posts: 341

Rep: Reputation: 30
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!
 
Old 12-14-2003, 03:07 AM   #3
stuNNed
Member
 
Registered: Aug 2003
Distribution: Gentoo/Ubuntu
Posts: 134

Rep: Reputation: 15
what does fglrxinfo give?
 
Old 12-14-2003, 09:55 AM   #4
hacker 8991
LQ Newbie
 
Registered: Dec 2003
Posts: 7

Original Poster
Rep: Reputation: 0
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.
 
Old 12-14-2003, 10:15 AM   #5
teval
Member
 
Registered: Jul 2003
Location: Toronto, Canada
Distribution: Gentoo
Posts: 720

Rep: Reputation: 30
Try running ldconfig as root, probably won't solve your problem, but it might.
 
Old 12-14-2003, 12:17 PM   #6
hacker 8991
LQ Newbie
 
Registered: Dec 2003
Posts: 7

Original Poster
Rep: Reputation: 0
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
 
Old 12-14-2003, 03:37 PM   #7
UnTamed
Member
 
Registered: Dec 2002
Location: Qc, Canada
Distribution: CRUX
Posts: 317

Rep: Reputation: 30
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
 
Old 12-14-2003, 05:16 PM   #8
hacker 8991
LQ Newbie
 
Registered: Dec 2003
Posts: 7

Original Poster
Rep: Reputation: 0
I don't know what symlinks are... since I'm a n00b

Anyway, I followed the instructions EXACTLY and yet I get this error
 
Old 12-14-2003, 05:25 PM   #9
stuNNed
Member
 
Registered: Aug 2003
Distribution: Gentoo/Ubuntu
Posts: 134

Rep: Reputation: 15
also aren't you supposed to delete the xfree-mesa-related rpms? then force install the fglrx one?
 
Old 12-14-2003, 05:48 PM   #10
hacker 8991
LQ Newbie
 
Registered: Dec 2003
Posts: 7

Original Poster
Rep: Reputation: 0
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...
 
Old 12-14-2003, 06:18 PM   #11
stuNNed
Member
 
Registered: Aug 2003
Distribution: Gentoo/Ubuntu
Posts: 134

Rep: Reputation: 15
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
 
Old 12-14-2003, 07:05 PM   #12
UnTamed
Member
 
Registered: Dec 2002
Location: Qc, Canada
Distribution: CRUX
Posts: 317

Rep: Reputation: 30
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.
 
Old 12-14-2003, 07:34 PM   #13
stuNNed
Member
 
Registered: Aug 2003
Distribution: Gentoo/Ubuntu
Posts: 134

Rep: Reputation: 15
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.
 
Old 12-14-2003, 07:47 PM   #14
teval
Member
 
Registered: Jul 2003
Location: Toronto, Canada
Distribution: Gentoo
Posts: 720

Rep: Reputation: 30
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.
 
Old 12-14-2003, 09:42 PM   #15
hacker 8991
LQ Newbie
 
Registered: Dec 2003
Posts: 7

Original Poster
Rep: Reputation: 0
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
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
No libGL hylke Linux - Newbie 2 10-07-2005 02:40 AM
libGL.so.1 ET TuxFreak Linux - Games 11 08-22-2005 12:33 PM
libGL.la art3mis Linux - Software 5 12-22-2004 08:50 AM
libGL.so.1(LIBGL) for SuSE 9.1? darkmatter333 SUSE / openSUSE 1 12-17-2004 10:23 PM
libgl trpn Linux - Hardware 0 03-05-2003 09:21 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 12:48 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration