Allan Spagnol Comar schreef:
> Holly Bostick wrote:
> 
> 
>>Allan Spagnol Comar schreef:
>> 
>>
>>
>>>I am having this problem for 4 days now, I believe I made a sin by
>>>changing my CHOST from pentium3 to i686 :( ......  every now and then  I
>>>am having this kind of message
>>>
>>>//usr/lib/gcc-lib/pentium3-pc-linux-gnu/3.3.5/libstdc++.la: No
>>>such file or directory
>>>/bin/sed: can't read
>>>//usr/lib/gcc-lib/pentium3-pc-linux-gnu/3.3.5/libstdc++.la: No such file
>>>or directory
>>>libtool: link:
>>>`//usr/lib/gcc-lib/pentium3-pc-linux-gnu/3.3.5/libstdc++.la' is not a
>>>valid libtool archive
>>>
>>>
>>>I already tryed all, I tryed:
>>>
>>>fix_libtool_files.sh 3.3.5
>>>fix_libtool_files.sh `gcc -dumpversion` --oldarch pentium3-pc-linux-gnu
>>>
>>>What more can I do ?
>>>   
>>>
>>
>>You can re-emerge libtool. Sometimes that works when fix_libtool_files
>>does not. You could also try re-emerging libstdc++-v3 as well.
>>
<snip>

>>
> 
> Hi, I had re-emerge libtool, but still having the problem... I tryed to
> emerge libstdc++-v3 but is a masked package and I don know how to do
> it... So I am think to symbolic link the i686 to the pentium3 .... and
> see what happens ......
> 


OK, I'm confused.

Your error says that

//usr/lib/gcc-lib/pentium3-pc-linux-gnu/3.3.5/libstdc++.la' is not a
>>>valid libtool archive

But if it's masked, you don't even have it installed, which would
explain why it's not found, nor is a valid archive-- it's not there!

Now, according to esearch:

 sys-libs/libstdc++-v3
      Latest version available: 3.3.4
      Latest version installed: 3.3.4
      Size of downloaded files: 22,784 kB
      Homepage:    http://gcc.gnu.org/libstdc++/
      Description: Compatibility package for running binaries linked
against a pre gcc 3.4 libstdc++
      License:     GPL-2 LGPL-2.1



Description: Compatibility package for running binaries linked against a
pre gcc 3.4 libstdc++ .. and you are running a pre-3.4 gcc.

So it seems to me you need this installed.

I see that both versions available in Portage are stable for ppc, ppc64
and amd64, so I guess you're running an x86 system.

In that case. to unmask the package, what you'd want to do is add this
to /etc/portage/package.keywords.

First, make sure you have the /etc/portage directory. If you do, then go
to the next step. If you don't, create it (as root):

# mkdir /etc/portage

Once you have the directory, open a terminal, su to root and type

echo 'sys-libs/libstdc++-v3 ~x86' >>/etc/portage/package.keywords

This will create the file package.keywords if it does not exist, and add
the line

sys-libs/libstdc++-v3 ~x86

to it. Or you could just open a text editor as root and add this line to
the file, if you want.

This unmasks the package in question, which should allow you to emerge
it. I don't know if that will solve your problem, though.

Hope this helps.

Holly
-- 
gentoo-user@gentoo.org mailing list

Reply via email to