I’m trying to install tex on my mac. Installing texlive-combined-tetex works fine, but it seems to miss some stuff I depend on… so I tried the texlive.combined.scheme-full, but unfortunately this fails to build, with errors about it not finding libz ??
$ nix-shell -p texlive.combined.scheme-full
error: builder for ‘/nix/store/7kly0naphj9fvjhnjxlcl1sjmngaba9p-perl5.34.0-XML-LibXML-2.0206.drv’ failed with exit code 2;
last 10 log lines:
> 3 warnings generated.
> cc -c -I/nix/store/3r9qf0fsy61lbwrgy69qdg4fdqj4bc3n-libxml2-2.9.12-dev/include/libxml2 -fno-common -DPERL_DARWIN -mmacosx-version-min=11.0 -fno-strict-aliasing -pipe -fstack-protector-strong -I/no-such-path/include -DPERL_USE_SAFE_PUTENV -Wno-error=implicit-fu
nction-declaration -O3 -DVERSION=“2.0206” -DXS_VERSION=“2.0206” “-I/nix/store/0lhwa4v7ii5523nj56xl22d9520kn2wv-perl-5.34.0/lib/perl5/5.34.0/darwin-thread-multi-2level/CORE” -DHAVE_UTF8 perl-libxml-sax.c
> cc -c -I/nix/store/3r9qf0fsy61lbwrgy69qdg4fdqj4bc3n-libxml2-2.9.12-dev/include/libxml2 -fno-common -DPERL_DARWIN -mmacosx-version-min=11.0 -fno-strict-aliasing -pipe -fstack-protector-strong -I/no-such-path/include -DPERL_USE_SAFE_PUTENV -Wno-error=implicit-fu
nction-declaration -O3 -DVERSION=“2.0206” -DXS_VERSION=“2.0206” “-I/nix/store/0lhwa4v7ii5523nj56xl22d9520kn2wv-perl-5.34.0/lib/perl5/5.34.0/darwin-thread-multi-2level/CORE” -DHAVE_UTF8 xpath.c
> rm -f blib/arch/auto/XML/LibXML/LibXML.bundle
> LD_RUN_PATH="/nix/store/a5snvhm8h1j8p1hmr0yn1p9qsj7q3ycm-libxml2-2.9.12/lib" cc -L/nix/store/a5snvhm8h1j8p1hmr0yn1p9qsj7q3ycm-libxml2-2.9.12/lib -mmacosx-version-min=11.0 -bundle -undefined dynamic_lookup -L/no-such-path/lib -fstack-protector-strong Av_CharP
trPtr.o Devel.o LibXML.o dom.o perl-libxml-mm.o perl-libxml-sax.o xpath.o -o blib/arch/auto/XML/LibXML/LibXML.bundle
> -L/nix/store/a5snvhm8h1j8p1hmr0yn1p9qsj7q3ycm-libxml2-2.9.12/lib -lxml2 -lz -lpthread -lm
>
> ld: library not found for -lz
> clang-11: error: linker command failed with exit code 1 (use -v to see invocation)
> make: *** [Makefile:583: blib/arch/auto/XML/LibXML/LibXML.bundle] Error 1
For full logs, run ‘nix log /nix/store/7kly0naphj9fvjhnjxlcl1sjmngaba9p-perl5.34.0-XML-LibXML-2.0206.drv’.
error: 1 dependencies of derivation ‘/nix/store/i64r2xkyv2y44q7v4sm9ii7p1z3aw9qc-perl5.34.0-XML-LibXML-Simple-1.01.drv’ failed to build
error: 1 dependencies of derivation ‘/nix/store/ng7ywzg40pxs0q8jkr0lwvgc4wsicw8p-perl5.34.0-biber-2.16.drv’ failed to build
error: 1 dependencies of derivation ‘/nix/store/v6vixj3q8pdf7s2m6bjrn4d6n6zdlfdr-texlive-combined-full-2021.20211227.drv’ failed to build
Any idea what might be wrong?