* ld cannot find crti.o @ 2018-06-19 11:50 Andrew Miloradovsky 2018-06-19 12:54 ` Pierre Neidhardt 0 siblings, 1 reply; 3+ messages in thread From: Andrew Miloradovsky @ 2018-06-19 11:50 UTC (permalink / raw) To: help-guix Hi. In order to install Lwt via OPAM, I've just naively installed GCC via `guix package --install gcc`; but, while attempting to compile anything, I get the error that ~/.guix-profile/bin/ld cannot find crti.o. I then tried to install Glibc explicitly, just in case, but the result is just the same (crti.o, by the way, is present where it belongs, i.e. ~/.guix-profile/lib/crti.o). What I am doing wrong? ^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: ld cannot find crti.o 2018-06-19 11:50 ld cannot find crti.o Andrew Miloradovsky @ 2018-06-19 12:54 ` Pierre Neidhardt 2018-06-19 13:41 ` Andrew Miloradovsky 0 siblings, 1 reply; 3+ messages in thread From: Pierre Neidhardt @ 2018-06-19 12:54 UTC (permalink / raw) To: Andrew Miloradovsky; +Cc: help-guix [-- Attachment #1: Type: text/plain, Size: 107 bytes --] Have you tried installing gcc-toolchain? (It should supersede gcc and glibc.) -- Pierre Neidhardt [-- Attachment #2: signature.asc --] [-- Type: application/pgp-signature, Size: 487 bytes --] ^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: ld cannot find crti.o 2018-06-19 12:54 ` Pierre Neidhardt @ 2018-06-19 13:41 ` Andrew Miloradovsky 0 siblings, 0 replies; 3+ messages in thread From: Andrew Miloradovsky @ 2018-06-19 13:41 UTC (permalink / raw) To: Pierre Neidhardt; +Cc: help-guix Yes, I managed to get over many issues by means of running `opam install …` within `guix environment --ad-hoc gcc-toolchain …`. Thanks. There's one more strange thing though: `cc` isn't defined. How do I make it pointing to e.g. `gcc`? On 06/19/2018 12:54 PM, Pierre Neidhardt wrote: > Have you tried installing gcc-toolchain? > (It should supersede gcc and glibc.) > ^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2018-06-19 13:42 UTC | newest] Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2018-06-19 11:50 ld cannot find crti.o Andrew Miloradovsky 2018-06-19 12:54 ` Pierre Neidhardt 2018-06-19 13:41 ` Andrew Miloradovsky
Code repositories for project(s) associated with this external index https://git.savannah.gnu.org/cgit/guix.git This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.