Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
libGL.la is not a valid libtool archive [SOLVED, at last]
View unanswered posts
View posts from last 24 hours

Goto page Previous  1, 2  
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
SeNtIn3L
n00b
n00b


Joined: 06 Feb 2006
Posts: 1
Location: Germany

PostPosted: Mon Feb 06, 2006 12:43 pm    Post subject: Better solution!? Reply with quote

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? :roll:

Greetz from freezy Germany.
Back to top
View user's profile Send private message
intgr
Apprentice
Apprentice


Joined: 23 Jun 2004
Posts: 225
Location: Earth, Sol, Milky Way

PostPosted: Mon Feb 06, 2006 5:39 pm    Post subject: Re: Better solution!? Reply with quote

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
View user's profile Send private message
brfsa
Tux's lil' helper
Tux's lil' helper


Joined: 01 Aug 2005
Posts: 121
Location: Brazil

PostPosted: Tue Feb 21, 2006 5:52 pm    Post subject: Reply with quote

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
View user's profile Send private message
Al_Kane
n00b
n00b


Joined: 19 Jan 2005
Posts: 13

PostPosted: Mon Mar 06, 2006 5:53 am    Post subject: Reply with quote

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
View user's profile Send private message
Gentree
Watchman
Watchman


Joined: 01 Jul 2003
Posts: 5077
Location: France, Old Europe

PostPosted: Tue Oct 10, 2006 12:08 am    Post subject: Reply with quote

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.

8)
_________________
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
View user's profile Send private message
Gentree
Watchman
Watchman


Joined: 01 Jul 2003
Posts: 5077
Location: France, Old Europe

PostPosted: Fri Jan 26, 2007 9:53 am    Post subject: Re: Better solution!? Reply with quote

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? :roll:

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.
8)
_________________
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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Goto page Previous  1, 2
Page 2 of 2

 
Jump to:  
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