| View previous topic :: View next topic |
| Author |
Message |
SeNtIn3L n00b

Joined: 06 Feb 2006 Posts: 1 Location: Germany
|
Posted: Mon Feb 06, 2006 12:43 pm Post subject: Better solution!? |
|
|
Hello!
I just copy contents of /usr/lib/opengl/xorg-x11/lib/libGL.la to /usr/lib/opengl/ati/lib/libGL.la
Then I replace this line:
libdir='/usr/lib/opengl/xorg-x11/lib'
with this
libdir='/usr/lib/opengl/ati/lib'
All other settings can stay unchanged, since opengl version is the same.
Then I symlink /usr/lib/libGL.la -> opengl/ati/lib/libGL.la
Works fine for me, everthing compiles with accel.
( ati-drivers 8.21.7 , gentoo-sources 2.6.15 )
Or does anything speak against this method?
Greetz from freezy Germany. |
|
| Back to top |
|
 |
intgr Apprentice


Joined: 23 Jun 2004 Posts: 225 Location: Earth, Sol, Milky Way
|
Posted: Mon Feb 06, 2006 5:39 pm Post subject: Re: Better solution!? |
|
|
| SeNtIn3L wrote: | | I just copy contents of /usr/lib/opengl/xorg-x11/lib/libGL.la to /usr/lib/opengl/ati/lib/libGL.la |
That's brilliant, why didn't I think of that... No tedious switching needed.
I don't think there could be any bad side-effects from using this. The worst that could probably happen is some package failing to compile just like with the empty libGL.la file. |
|
| Back to top |
|
 |
brfsa Tux's lil' helper


Joined: 01 Aug 2005 Posts: 121 Location: Brazil
|
Posted: Tue Feb 21, 2006 5:52 pm Post subject: |
|
|
Right now I am using the stable x86 ati-drivers-8.14.13-r3, and I have same problem.
Even if I tried different versions of ati-drivers, same problem.
The file /usr/lib/opengl/ati/lib/libGL.la is an empty file, so, after runnig eselect opengl set ati, it copies that openGL.la into /usr/lib/libGL.la
My solution was:
1. emerge ati-drivers in another healthy linux machine,
2. copy /usr/lib/opengl/ati/lib/libGL.la from that machine to mine
3. run 'eselect opengl set ati'
everything works fine with DRI acceleration, but if I emerge ati-drivers again, it will go back to the libGL.la problem.
I think that the problem could be that the health machine did not have any LDFLAGS set in make.conf,
but the machine with the problem, when I installed gentoo from the beginning I used
LDFLAGS="-Wl,-O1 -Wl,--enable-new-dtags -Wl,--sort-common -Wl,--strip-all"
maybe this caused the libraries to not work properly
during the gentoo installation, as soon as a package that require opengl failed, I found out the error of the libGL.la, removed the LDFLAGS, and did as said above....
untill now, no clue... Thou, my opengl works with this little hack.
I am going to try to emerge xorg-x11, and the packages that depends on it, plus other libraries.
to see if it works _________________
Macbook Pro 15.4 C2D 2.2GHz, 4GB DDR2
- Gentoo AMD64 GCC 4.3.2, OpenRC
- OSX 10.5.6
|
|
| Back to top |
|
 |
Al_Kane n00b

Joined: 19 Jan 2005 Posts: 13
|
Posted: Mon Mar 06, 2006 5:53 am Post subject: |
|
|
I'm having the same problem and just noticed that running
| Code: |
opengl-update xorg-x11
|
(version opengl-update-3.0.0) produces the following output
| Code: |
Switching to xorg-x11 OpenGL interface.../usr/share/eselect//libs/core.bash: line 115: /usr/bin/sed: No such file or directory
!!! Error: Failed to create /usr/lib64/libGL.la
|
See the double slash "//"?
So I:
| Code: |
emerge "=opengl-update-2.2.4"
opengl-update xorg-x11
|
This fixes the empty /usr/lib64/libGL.la and now I'm back in action. |
|
| Back to top |
|
 |
Gentree Watchman


Joined: 01 Jul 2003 Posts: 5077 Location: France, Old Europe
|
Posted: Tue Oct 10, 2006 12:08 am Post subject: |
|
|
anyone tried just binning this broken empty file?
I had this issue stopping xfce-base/terminal. I deleted the file and all went well.
That would seem preferable to suppliing a file from somewhere else that has probably incorrect information in it.
 _________________ Linux, because I'd rather own a free OS than steal one that's not worth paying for.
KX7-333 , AthlonXP1800+ @2.3GHz
AthlonXP-M on A7N8X @ 2.6/2.4GHz (winter/summer)
2.6.32-hh1 : portage ~x86 |
|
| Back to top |
|
 |
Gentree Watchman


Joined: 01 Jul 2003 Posts: 5077 Location: France, Old Europe
|
Posted: Fri Jan 26, 2007 9:53 am Post subject: Re: Better solution!? |
|
|
| SeNtIn3L wrote: | Hello!
I just copy contents of /usr/lib/opengl/xorg-x11/lib/libGL.la to /usr/lib/opengl/ati/lib/libGL.la
Then I replace this line:
libdir='/usr/lib/opengl/xorg-x11/lib'
with this
libdir='/usr/lib/opengl/ati/lib'
All other settings can stay unchanged, since opengl version is the same.
Then I symlink /usr/lib/libGL.la -> opengl/ati/lib/libGL.la
Works fine for me, everthing compiles with accel.
( ati-drivers 8.21.7 , gentoo-sources 2.6.15 )
Or does anything speak against this method?
Greetz from freezy Germany. |
Incredible , one year on and this crap still has not been fixed.
thanks for that idea, last time deleting the file was enough now terminal fails if I do that.
I found the xorg version had just /usr/lib now I changed the required path for nvidia and saved it to both /usr/lib/nvidia/lib and /usr/lib
| Code: | libdir='/usr/lib/'
with this
libdir='/usr/lib/opengl/ati/lib' |
that kept xfce/terminal happy. Let's hope kdebase likes it as well.
 _________________ Linux, because I'd rather own a free OS than steal one that's not worth paying for.
KX7-333 , AthlonXP1800+ @2.3GHz
AthlonXP-M on A7N8X @ 2.6/2.4GHz (winter/summer)
2.6.32-hh1 : portage ~x86 |
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|