[Nix-dev] libgcc_s.so.1 not found?
Armijn Hemel
armijn at uulug.nl
Mon Dec 6 20:40:57 CET 2004
On Fri, Nov 19, 2004 at 04:04:07PM +0100, Armijn Hemel wrote:
> hi,
>
> when compiling a completely new environment inside a pure Nix environment
> with my static tools at one point glibc is rebuilt (which makes sense).
> However, the configuration process for glibc barfs:
>
> configure:6888: error: cannot compute sizeof (long double), 77
[cut]
Right. Solved it and it took a bit longer than planned. The reason is
that I had built this glibc inside Nix, then put it into a tarball, and
when it was installed inside NixOS it was given another /nix/store path.
The interpreter was pointing to the old location. This was solved with
patchelf, but there were still a few files with the old paths in it
(such as catchsegv, tzselect, ldd, libc.so, libpthread.so). "sed" to the
rescue :)
glibc seems to be building correctly now (unless it barfs again
somewhere down the line whilst I'm in the train).
armijn
--
---------------------------------------------------------------------------
armijn at uulug.nl | http://www.uulug.nl/ | UULug: Utrecht Linux Users Group
---------------------------------------------------------------------------
More information about the nix-dev
mailing list