Adding nix package glibc causes error

I need the glibc package for Microsoft Speech Services, but when I add it to my python app I get a runtime error:

/usr/bin/env: symbol lookup error: /nix/store/4nlgxhb09sdr51nc9hdm8az5b08vzkgx-glibc-2.35-163/lib/libc.so.6: undefined symbol: _dl_fatal_printf, version GLIBC_PRIVATE

Related to Error with Microsoft.CognitiveServices.Speech - #10 by Firepup650

Need a nix expert…

1 Like

Try adding pkgs.coreutils to replit.nix.

1 Like

@9pfs1 still can’t get this to work.
Now it works if I install packages from pip/poetry, but if I try to install a package from git like
poetry add git+https://github.com/xxx/xx.git

I get:

/usr/bin/env: symbol lookup error: /nix/store/4nlgxhb09sdr51nc9hdm8az5b08vzkgx-glibc-2.35-163/lib/libc.so.6: undefined symbol: _dl_fatal_printf, version GLIBC_PRIVATE

Add pkgs.git (will update the git version). This has fixed all my lib errors for git install.

4 Likes

yes it works fine, thanks for the tip

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.