bug#63238: issue linking to librt

2023-05-26 Thread Brian Cully via Bug reports for GNU Guix
librt and libpthread were merged into libc with glibc 2.34, however, for compatibility, there exist empty .a files to satisfy the linker. But because Guix has a separate output for the static libraries, they need to be explicitly installed from ‘glibc:static’, which allows Cargo to do its thing.

bug#63238: issue linking to librt

2023-05-07 Thread Ava Hahn
Hello All, I believe I have stumbled on an issue with how the libraries in glibc are stored. If I run "ld -lrt" it reports "ld: cannot find -lrt: No such file or directory" Meanwhile, I can find librt with "ldconfig -p | grep librt": "librt.so.1 ... => /gnu/store/...". In order to get ld to