View previous topic :: View next topic |
Author |
Message |
Nick W l33t
Joined: 07 Dec 2003 Posts: 684
|
Posted: Fri Jan 13, 2006 7:45 pm Post subject: [SOLVED] /usr/lib/libGL.la is not a valid libtool archive |
|
|
Hi all,
Im doing a brand new x86 intstall and as soon as the base system was in place upgraded from gcc-3.3 to 3.4 by following the guide. Now im trying to emerge KDE and im getting that nasty error above. Here's more:
Code: |
libtool: link: `/usr/lib/libGL.la' is not a valid libtool archive
make[3]: *** [kcm_info.la] Error 1
make[3]: Leaving directory `/var/tmp/portage/kcontrol-3.4.3/work/kcontrol-3.4.3/kcontrol/info'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/kcontrol-3.4.3/work/kcontrol-3.4.3/kcontrol'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/kcontrol-3.4.3/work/kcontrol-3.4.3'
make: *** [all] Error 2
|
Code: |
~ # gcc-config -l
[1] i686-pc-linux-gnu-3.4.4 *
[2] i686-pc-linux-gnu-3.4.4-hardened
[3] i686-pc-linux-gnu-3.4.4-hardenednopie
[4] i686-pc-linux-gnu-3.4.4-hardenednopiessp
[5] i686-pc-linux-gnu-3.4.4-hardenednossp
|
Code: |
~ # emerge info
Portage 2.0.53 (default-linux/x86/2005.1, gcc-3.4.4, glibc-2.3.5-r2, 2.6.14-gentoo-r5 i686)
=================================================================
System uname: 2.6.14-gentoo-r5 i686 Intel(R) Pentium(R) M processor 2.13GHz
Gentoo Base System version 1.6.13
dev-lang/python: 2.3.5-r2, 2.4.2
sys-apps/sandbox: 1.2.12
sys-devel/autoconf: 2.13, 2.59-r6
sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils: 2.16.1
sys-devel/libtool: 1.5.20
virtual/os-headers: 2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-Os -march=pentium-m -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-Os -march=pentium-m -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X acpi alsa apm arts audiofile avi berkdb bitmap-fonts bzip2 cddb cdparanoia cdr crypt cups dvd dvdr dvdread eds emboss encode expat fam foomaticdb fortran freetype gdbm gif gpm gstreamer gtk2 idn imlib ipv6 java jpeg kde kdeenablefinal lcms libg++ libwww mad mikmod mng motif mp3 mpeg mplayer ncurses nls ogg oggvorbis opengl oss pam pcmcia pcre pdflib perl png python qt quicktime readline reiserfs sdl spell ssl tcpd tiff truetype truetype-fonts type1-fonts udev usb vorbis wifi xml2 xmms xv zlib userland_GNU kernel_linux elibc_glibc"
Unset: ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS, PORTDIR_OVERLAY
|
Have tried
Code: |
~ # fix_libtool_files.sh 3.3
|
and
Code: |
# revdep-rebuild --library libstdc++.so.5 -- -p -v
# revdep-rebuild --library libstdc++.so.5
|
but it no worky!
I also ran this, just to see...
Code: |
~ # file /usr/lib/libGL.la
/usr/lib/libGL.la: empty
|
Does anyone know how to get me out of this mess?
Thx!
Last edited by Nick W on Fri Jan 13, 2006 8:04 pm; edited 1 time in total |
|
Back to top |
|
|
GoofballJM1 Guru
Joined: 22 Mar 2004 Posts: 392 Location: Denver, CO USA
|
Posted: Fri Jan 13, 2006 7:59 pm Post subject: |
|
|
I did the same thing when I changed my CHOSTS setting in /etc/make.conf. I was in the process of an install when I did this, so I started over with a different stage tarball more suited for my CPU and I was working after that. _________________ "Great spirits have often encountered violent opposition from weak minds." - Albert Einstein |
|
Back to top |
|
|
Nick W l33t
Joined: 07 Dec 2003 Posts: 684
|
Posted: Fri Jan 13, 2006 8:03 pm Post subject: |
|
|
Actually, for me at least, it seems to be an ATI issue. I found this in Google (god the site search here is lousy..) https://forums.gentoo.org/viewtopic-p-2296485.html
The fix is (apparently)
Code: |
opengl-update xorg-x11
...continue emerging packages
opengl-update ati
|
I'm still emerging packages, so can't verify that it will work but the guys in the thread linked above seem happy with the results. |
|
Back to top |
|
|
gentoo_dude l33t
Joined: 08 May 2004 Posts: 645 Location: Washington, DC
|
Posted: Fri Jan 13, 2006 8:03 pm Post subject: |
|
|
This happens when you use a different opengl then the one provided by xorg-x11, but ati, or nvidia, etc.
Before you run emerge do Code: | opengl-update xorg-x11 |
Emerge the program and then switch back to the proprietary GL. |
|
Back to top |
|
|
^jimmy^ n00b
Joined: 11 Jul 2004 Posts: 51 Location: Erlangen, Germany
|
Posted: Mon Jan 16, 2006 10:50 am Post subject: This is a pain in the ass |
|
|
This is a pain in the ass, eveytime I emerge certain things I'll have to switch to xorg-x11 and then back to ATI?
Isn't there a work around for this? |
|
Back to top |
|
|
Zrax n00b
Joined: 07 Jun 2005 Posts: 4
|
Posted: Fri Jan 27, 2006 4:18 am Post subject: |
|
|
You think *that's* a pain in the ass? Well, as it turns out, this works perfectly -- as long as the apps you emerge like this don't need to be 3d accelerated... For example, xscreensaver emerged just fine, but the KDE screensaver app (which uses xscreensaver of course), needed this trick for it to emerge properly for me... Now, if I load up xscreensaver by itself (in TWM or whatever), all the openGL screensavers work like they should on an X700 mobile card, but if I try the same screensavers in KDE, even after using either eselect opengl set ati or opengl-update ati, they run with no acceleration whatsoever...
Therefore, it seems this bug still needs to be fixed if we actually want any acceleration in the apps that have this problem. |
|
Back to top |
|
|
Gentree Watchman
Joined: 01 Jul 2003 Posts: 5350 Location: France, Old Europe
|
Posted: Fri Jan 26, 2007 8:50 am Post subject: |
|
|
So this is not SOLVED and is not even a proper work around. There must be a better solution.
Quote: | I found this in Google (god the site search here is lousy..) | Oh you've noticed that as well ?
best trick I've found is use googles site option:
Code: | site:forums.gentoo.org "/usr/lib/libGL.la" |
LOL Nicks link post to a thread where the last post is mine : Google 1 - Alzheimer 0
Sure the files invalid it's zero lenth! I deleted it last time but that was not a kde problem for me. Top of page 2 in the link suggests giving it some correct data. That may be the best way.
_________________ Linux, because I'd rather own a free OS than steal one that's not worth paying for.
Gentoo because I'm a masochist
AthlonXP-M on A7N8X. 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
|
|