Hi, Am Samstag, den 02.05.2015, 12:59 +0200 schrieb Samuel Thibault: > Helmut Grohne, le Fri 01 May 2015 10:57:34 +0200, a écrit : > > Then I compared strace of /usr/lib/ghc/bin/ghc in both my pbuilder > > --login and a fresh sid debootstrap and it occurred to me: You must > > mount /proc. And indeed after mounting /proc, ghc just works. > > > > What do we do with this knowledge? Is it a bug? Is it a bad error > > message from the linker? > > The linker needs /proc/self/exe in order to compute $ORIGIN, used by ghc > in rpath to find the libraries.
thanks. I would expect /proc to be present and if not you are on your own. Even if that is an unjustified expectation, I think the linker should handle it more gracefully. So I’m inclined to close this report. Does anyone disagree? Greetings, Joachim -- Joachim "nomeata" Breitner Debian Developer nome...@debian.org | ICQ# 74513189 | GPG-Keyid: F0FBF51F JID: nome...@joachim-breitner.de | http://people.debian.org/~nomeata
signature.asc
Description: This is a digitally signed message part