Bug 7909 - switch to fglrx does not seem to correctly set the paths to libGL
Summary: switch to fglrx does not seem to correctly set the paths to libGL
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: Cauldron
Hardware: i586 Linux
Priority: Normal major
Target Milestone: ---
Assignee: Anssi Hannula
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-10-26 19:09 CEST by Joseph Wang
Modified: 2015-03-28 21:19 CET (History)
4 users (show)

See Also:
Source RPM: fglrx
CVE:
Status comment:


Attachments

Description Joseph Wang 2012-10-26 19:09:25 CEST
Description of problem:

The fglrx driver has a special ATI libGL.so and other openGL libraries.  The way that mageia switches between normal libGL and ati libGL is by the alternatives mechanism that resets the location of /etc/ld.so.conf.d

That does not seem to be working any more

My system has the proper GL.conf which is pointing to the fglrx directories, but unless I set LD_LIBRARY_PATH I'm getting the libGL.so.1 in /lib64 which is the wrong one.

[joe@big-apple etc]$ ldd -v `which gears`
	linux-vdso.so.1 (0x00007fff07c00000)
	libGL.so.1 => /lib64/libGL.so.1 (0x00007f6ff7098000)
	libm.so.6 => /lib64/libm.so.6 (0x00007f6ff6d98000)
	libglut.so.3 => /lib64/libglut.so.3 (0x00007f6ff6b48000)
	libc.so.6 => /lib64/libc.so.6 (0x00007f6ff6798000)

Did the lib path search change recently?





Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1. this should be reproduciable by running fglrx drivers and running gears
2.
3.
Manuel Hiebel 2012-10-26 22:17:07 CEST

CC: (none) => tmb
Assignee: bugsquad => anssi.hannula

Comment 1 Hans Micheelsen 2013-02-19 17:26:17 CET
On my system I get:

ldd -v `which gears`
        linux-vdso.so.1 (0x00007f8bd3654000)
        libGL.so.1 => /usr/lib64/fglrx/libGL.so.1 (0x00007f8bd3230000)
        libm.so.6 => /lib64/libm.so.6 (0x00007f8bd2f32000)
        libglut.so.3 => /lib64/libglut.so.3 (0x00007f8bd2ce8000)
        libc.so.6 => /lib64/libc.so.6 (0x00007f8bd2936000)


Seems to be corrected. RESOLVED?

CC: (none) => micheelsen

Comment 2 Nic Baxter 2015-02-25 03:47:50 CET
Any more comments? Close?

CC: (none) => nic

Comment 3 Hans Micheelsen 2015-02-25 19:44:15 CET
I do still get the correct path, see below. I think it can be closed. Its very old
Comment 4 Marja Van Waes 2015-03-28 21:19:57 CET
(In reply to Hans Micheelsen from comment #3)
> I do still get the correct path, see below. I think it can be closed. Its
> very old

Thx for the feedback, Hans :-)

Status: NEW => RESOLVED
CC: (none) => marja11
Resolution: (none) => FIXED


Note You need to log in before you can comment on or make changes to this bug.