Open dg-nvm opened 4 months ago
also happening when force-upgrading:
nix-env -iA nixpkgs.fd
installing 'fd-10.1.0'
these 2 paths will be fetched (1.37 MiB download, 4.96 MiB unpacked):
/nix/store/5gd7h1ghka73702j1vj4anckhayhnm3r-fd-10.1.0
/nix/store/kli3hg1rll86madzxlj9prfy3j3vgqim-jemalloc-5.3.0
copying path '/nix/store/kli3hg1rll86madzxlj9prfy3j3vgqim-jemalloc-5.3.0' from 'https://cache.nixos.org'...
copying path '/nix/store/5gd7h1ghka73702j1vj4anckhayhnm3r-fd-10.1.0' from 'https://cache.nixos.org'...
building '/nix/store/fi4pwnrvrnvjhbifln5m0cinc937yxnw-user-environment.drv'...
# /nix/store/5gd7h1ghka73702j1vj4anckhayhnm3r-fd-10.1.0/bin/fd
/nix/store/5gd7h1ghka73702j1vj4anckhayhnm3r-fd-10.1.0/bin/fd: error while loading shared libraries: /nix/store/kli3hg1rll86madzxlj9prfy3j3vgqim-jemalloc-5.3.0/lib/libjemalloc.so.2: cannot allocate memory in static TLS block
Describe the bug
when running /nix/store/sqh4ip8s997vrlm2nbvnbp4k6sri2whs-fd-8.7.1/bin/fd
fd: error while loading shared libraries: /nix/store/8wmrcw0p70bv0ivi316bysjfan4caib9-jemalloc-5.3.0/lib/libjemalloc.so.2: cannot allocate memory in static TLS block
Seems the library is compiled without some flag that other distros incorporate. This is problem with other binaries too, I hit that with dig, reinstalling normal version from apt works fine.
Steps To Reproduce
Steps to reproduce the behavior:
fd test
Expected behavior
Program runs
Screenshots
Additional context
Add any other context about the problem here.
Notify maintainers
Metadata
Please run
nix-shell -p nix-info --run "nix-info -m"
and paste the result.Add a :+1: reaction to issues you find important.