Unix Technical Forum

libstdc++.la

This is a discussion on libstdc++.la within the Gentoo Linux Support forums, part of the Unix Operating Systems category; --> During "emerge libsdl" I get: ------------------ /src/thread -I../../../src/timer -I../../../src/endian -I../../../src/file -I.. /../../src/thread -o libvideo_directfb.la SDL_DirectFB_events.lo SDL_Direct FB_video.lo SDL_DirectFB_yuv.lo -ldirectfb ...


Go Back   Unix Technical Forum > Unix Operating Systems > Gentoo Linux Support

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-21-2008, 11:07 AM
Wes Gray
 
Posts: n/a
Default libstdc++.la

During "emerge libsdl" I get:

------------------
/src/thread -I../../../src/timer -I../../../src/endian -I../../../src/file -I..
/../../src/thread -o libvideo_directfb.la SDL_DirectFB_events.lo SDL_Direct
FB_video.lo SDL_DirectFB_yuv.lo -ldirectfb -lpthread -ldl -lpthread
grep: /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.4/libstdc++.la: No such file or di
rectory
/bin/sed: can't read /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.4/libstdc++.la: No
such file or directory
libtool: link: `/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.4/libstdc++.la' is not a
valid libtool archive
make[3]: *** [libvideo_directfb.la] Error 1
make[3]: Leaving directory `/var/tmp/portage/libsdl-1.2.8-r1/work/SDL-1.2.8/src
/video/directfb'
------------------

I recently emerged gcc and libstdc++.la can now be found in
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5-20050130. In reading up on it I've
tried running the following comands, to no avail:

emerge sys-libs/lib-compat
ldconfig
gcc-config -l

Any more ideas?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 02-21-2008, 11:07 AM
Peter Jensen
 
Posts: n/a
Default Re: libstdc++.la

Wes Gray wrote:

> During "emerge libsdl" I get:
>
> ------------------
> /src/thread -I../../../src/timer -I../../../src/endian -I../../../src/file -I..
> /../../src/thread -o libvideo_directfb.la SDL_DirectFB_events.lo SDL_Direct
> FB_video.lo SDL_DirectFB_yuv.lo -ldirectfb -lpthread -ldl -lpthread
> grep: /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.4/libstdc++.la: No such file or di
> rectory
> /bin/sed: can't read /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.4/libstdc++.la: No
> such file or directory
> libtool: link: `/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.4/libstdc++.la' is not a
> valid libtool archive
> make[3]: *** [libvideo_directfb.la] Error 1
> make[3]: Leaving directory `/var/tmp/portage/libsdl-1.2.8-r1/work/SDL-1.2.8/src
> /video/directfb'
> ------------------
>
> I recently emerged gcc and libstdc++.la can now be found in
> /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5-20050130. In reading up on it I've
> tried running the following comands, to no avail:


This is a FAQ. Or rather was, when the new gcc version came out
sometime in January ... (subtle hint)

> emerge sys-libs/lib-compat


That's for legacy stuff. Only usually only required for binary-only
stuff that's linked to older libraries.

> ldconfig
> gcc-config -l
>
> Any more ideas?


Yep. Run '/sbin/fix_libtool_files.sh 3.3.4' and try the emerge again.
There was a bug with a particular version of gcc. This should do the
trick.

--
PeKaJe

'Martyrdom' is the only way a person can become famous without ability.
-- George Bernard Shaw
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 07:49 PM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0
www.UnixAdminTalk.com