Re: libstdc++ error in fresh rootless install

Michael Homer <[email protected]>
Newsgroups gmane.linux.distributions.gobo.general
Message-ID <CAKXQU_FrDwn-bRQPXCA=Ptwu8vRH1fk8nmkck51zX1H_GoLReg@mail.gmail.com>
2011/7/18 Vladimir Darmanian <[email protected]>:
> Howdy,
> I got a strange error when running InstallPackage Compile:
> /usr/bin/wget: /home/vladimird/System/Links/Libraries/libstdc++.so.6:
> version `GLIBCXX_3.4.11' not found (required by /usr/lib/libproxy.so.1)
I think you've installed binary packages into Rootless, and so got a
libstdc++ that's incompatible with libraries loaded from your host
system. Binary packages only make sense for Scripts and Compile in
Rootless (and scripting-language programs, I guess) - everything else
needs to be installed with Compile, so it's compatible with the system
you're running.

In this case particularly you will probably get back up and running by
removing GCC from inside your Rootless system - `RemoveProgram GCC
4.3.2`, or just nuke the directory tree in ~/Programs/GCC. Other
packages may cause problems down the line, so you'd be best to remove
or recompile them.

Rootless augments the environment from the host, rather than replacing
it entirely, so things that aren't installed in Rootless will be drawn
from the host if available. That's why it's using your /usr/bin/wget.
You can `Compile wget` if you like, or if you're happy with the host
version it's fine to leave it as-is.
-Michael
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.