[Nix-dev] "/usr/lib64/libstdc++.so.6: version `GLIBCXX_3.4.15' not found" trying to install on RHEL 6.5

Kirill Elagin kirelagin at gmail.com
Fri Jun 26 12:23:20 CEST 2015


This basically means that Nix expects a different version of libstdc++. You
can use `objdump` or `readelf` on your library to find out which version
you have.

Your options are upgrading (or downgrading which is less likely) gcc (which
provides this library) or building Nix yourself using gcc that you have, so
that it gets linked against the version you have.
Also, if Nix is available in the form of rpm in Red Hat's repository it
would be better to install it from there as rpm will take care of all the
dependencies.

On Thu, Jun 25, 2015, 23:45 Alex Vorobiev <alexander.vorobiev at gmail.com>
wrote:

> Hi,
> I am trying to install Nix on RHEL 6.5 in a single user mode. The
> installation fails when nix-store can't load libstdc++ (see below). Is
> there any way to fix the problem?
>
> Thanks,
> Alex
>
> $ bash <(curl https://nixos.org/nix/install)
> <...>
> initialising Nix database...
> /nix/store/l598bgyrflylmfxr7c889jcs5amflrsp-nix-1.9/bin/nix-store:
> /usr/lib64/libstdc++.so.6: version `GLIBCXX_3.4.15' not found (required
> by /nix/store/l598bgyrflylmfxr7c889jcs5amflrsp-nix-1.9/bin/nix-store)
> <...>
> nix-binary-tarball-unpack/nix-1.9-x86_64-linux/install: failed to
> initialize the Nix database
>
>
> _______________________________________________
> nix-dev mailing list
> nix-dev at lists.science.uu.nl
> http://lists.science.uu.nl/mailman/listinfo/nix-dev
>
-- 
Кирилл Елагин
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.science.uu.nl/pipermail/nix-dev/attachments/20150626/b27276e8/attachment.html 


More information about the nix-dev mailing list