Meghan Denny
Meghan Denny
- copied the quick start from https://github.com/getty-zig/getty/blob/7d1332427af55247a8520e5f77cf82aeb57a480a/README.md - got https://gist.github.com/nektro/9744a80b546341e352b56aae8957941c - ran `zig build run` with `0.11.0-dev.2986+012f9a97e` - got the same error as https://github.com/ziglang/zig/issues/15590
re-tried with `0.11.0-dev.3000+d71a43ec2` and got the same error as well. was not able to repro title issue
I'm on Linux x86_64, NixOS 22.11 in particular
same error as of https://github.com/hqnna/mocha/commit/d31a29a7dbda5c01e34799b1e63b4c17048bfec3
cc @Jan200101
``` [nix-shell:~]$ readelf -d ./src/zig/build/stage3/bin/zig Dynamic section at offset 0x29f86c0 contains 31 entries: Tag Type Name/Value 0x000000000000001d (RUNPATH) Library runpath: [ /nix/store/as3hc6s4ljma9kibvpq9cqbmm33pd6zy-nix-shell/lib64: /nix/store/as3hc6s4ljma9kibvpq9cqbmm33pd6zy-nix-shell/lib: /home/meghan/src/llvm-16/out/lib: /nix/store/4xqki8nyafl26w2p71w988djvfmfz4x1-zlib-1.2.13/lib: /nix/store/v8481v3a686aa0pa4d016c0lnz2j0wwb-gcc-11.3.0-lib/lib ] ``` ``` [nix-shell:~]$...
building today only libstdc++ fails ``` [meghan@nixos:~]$ ldd src/zig2/build/stage3/bin/zig linux-vdso.so.1 (0x00007ffce838d000) libclang-cpp.so.16 => /nix/store/p0gn97dky1qs972c7xbmn33p44h81na8-clang-16.0.1-lib/lib/libclang-cpp.so.16 (0x00007fb3c1600000) libstdc++.so.6 => not found libLLVM-16.so => /nix/store/33zbbqa7n6qfbliy77d4c53fcvd2bym9-llvm-16.0.1-lib/lib/libLLVM-16.so (0x00007fb3b8c00000) libz.so.1 => /nix/store/fxq6yn4mfnsnh418l2k218j7sp365sa9-zlib-1.2.13/lib/libz.so.1 (0x00007fb3c5668000) libc.so.6 => /nix/store/dg8mpqqykmw9c7l0bgzzb5znkymlbfjw-glibc-2.37-8/lib/libc.so.6...
oh another thing is that it is in there twice, and one of them resolved to my system ``` libstdc++.so.6 => not found libstdc++.so.6 => /nix/store/sm14bmd3l61p5m0q7wa5g7rz2bl6azqf-gcc-12.2.0-lib/lib/libstdc++.so.6 (0x00007fb3b8600000) ```
hmm yeah you're probably right, the new list is much longer than the one in my original description. it should only be the direct dependencies
can confirm this is working again ``` [meghan@nixos:~/src/zig]$ ldd build/stage3/bin/zig linux-vdso.so.1 (0x00007ffcc9939000) libclang-cpp.so.17 => /home/meghan/src/llvm-17/out/lib/libclang-cpp.so.17 (0x00007fc45da00000) libstdc++.so.6 => /nix/store/sm14bmd3l61p5m0q7wa5g7rz2bl6azqf-gcc-12.2.0-lib/lib/libstdc++.so.6 (0x00007fc45d600000) libLLVM-17.so => /home/meghan/src/llvm-17/out/lib/libLLVM-17.so (0x00007fc454600000) libz.so.1 => /nix/store/fxq6yn4mfnsnh418l2k218j7sp365sa9-zlib-1.2.13/lib/libz.so.1 (0x00007fc462021000) libc.so.6 =>...