Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 220074 - unlzma needs libstdc++.so.6
Summary: unlzma needs libstdc++.so.6
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Release Media
Classification: Unclassified
Component: InstallCD (show other bugs)
Hardware: All Linux
: High minor (vote)
Assignee: Gentoo Release Team
URL:
Whiteboard:
Keywords:
Depends on: 207200
Blocks:
  Show dependency tree
 
Reported: 2008-05-02 21:37 UTC by brot
Modified: 2009-12-27 16:22 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description brot 2008-05-02 21:37:08 UTC
I downloaded the latest portage snapshot and wanted to decompress it with unlzma, but it says:

unlzma: Error while loading shared librarys: libstdc++.so.6:cannot open shared object file: No such file or directory

Reproducible: Always

Steps to Reproduce:
1.run the beta2-2008.0 x86 minimal install cd
2.run lzma
3.scream

Actual Results:  
unlzma: Error while loading shared librarys: libstdc++.so.6:cannot open shared object file: No such file or directory

Expected Results:  
lzma decompressed the snapshot ;)
Comment 1 Andrew Gaffney (RETIRED) gentoo-dev 2008-05-03 02:11:07 UTC
Can you uncompress it within the chroot?
Comment 2 brot 2008-05-03 09:28:15 UTC
With the stage3-x86-2008.0_beta2.tar.bz2 unlzma works. And with the stage3-i686-2008.0_beta2.tar.bz2 it works too.

So it looks like that this is only a problem with the cd.
Comment 3 Chris Gianelloni (RETIRED) gentoo-dev 2008-05-03 11:24:29 UTC
What exactly are you trying to unpack?

We don't have libstdc++.so.6 on the minimal CD so we don't end up with all of GCC.  We would probably need to either create a libstdc++-v3 or libstdc++-v3-bin for libstdc++.so.6 (gcc 3.4 or better) and install it along-side GCC, so we can still remove GCC from the minimal CD.
Comment 4 brot 2008-05-03 11:47:45 UTC
I am trying to unpack the latest portage snapshot: portage-latest.tar.lzma 

http://ftp.uni-erlangen.de/pub/mirrors/gentoo/snapshots/portage-latest.tar.lzma

But even without any input file, just when you start lzma you get: 

lzma: Error while loading shared librarys: libstdc++.so.6:cannot open shared
object file: No such file or directory

As lzma gets more and more acceptance it would be a nice thing to have on the minimal cd, future stages may be compressed with lzma, as they are much smaller...
Comment 5 Chris Gianelloni (RETIRED) gentoo-dev 2008-05-07 06:03:38 UTC
No, they won't.  ;]

Anyway, you can still grab the nzipped tarball.  Since this would be the only package to require C++ on the minimal CD, I'm instead removing the tools from the CD.

They're in the stages, so it will work for any packages that require it during building/install.
Comment 6 SpanKY gentoo-dev 2008-06-21 04:25:56 UTC
or build the minimal cd with USE=nocxx ...
Comment 7 Markus Peloquin 2009-01-27 04:32:48 UTC
In a related note, I'm trying to install the stage1 build (which I understand isn't supported; it's much funner [that's a word] though).  When bootstrap.sh came across lzma-utils, it failed to install because there was no c++ compiler.  I don't want to set 'nocxx' globally, and it gets ignored when put in /etc/portage/package.use.  I ended up editing the ebuild so it would do nocxx anyway.  Perhaps the bootstrap.sh script should set nocxx for this package?
Comment 8 SpanKY gentoo-dev 2009-02-15 22:49:05 UTC
lzma-utils can be built w/out C++ support and the next version (xz-utils) is in pure C code