On 8 Feb 2018, at 19:46, Holger Levsen <hol...@layer-acht.org> wrote:
> On Thu, Feb 08, 2018 at 03:04:22PM +0100, Petter Reinholdtsen wrote:
>> [Clint Adams]
>>> objdump -p /usr/lib/ghc/bin/ghc-pkg | grep RUNPATH
> $ objdump -p /usr/lib/ghc/bin/ghc-pkg | grep RUNPATH
> $ORIGIN/../terminfo-$ORIGIN/../ghc-boot-8.0.2:$ORIGIN/../ghc-boot-th-8.0.2:$ORIGIN/../Cabal-$ORIGIN/../process-$ORIGIN/../pretty-$ORIGIN/../directory-$ORIGIN/../unix-$ORIGIN/../time-$ORIGIN/../filepath-$ORIGIN/../binary-$ORIGIN/../containers-$ORIGIN/../bytestring-$ORIGIN/../deepseq-$ORIGIN/../array-$ORIGIN/../base-$ORIGIN/../integer-gmp-$ORIGIN/../ghc-prim-$ORIGIN/../rts
> is what I get. Do you need any more info? I still see this...

Well that's correct; you can see $ORIGIN/../terminfo- in there which is
where it should be getting libHSterminfo-, but for some
reason your ld.so is not looking at RUNPATH; once it fails to find it on the
system search path it's supposed to then print something like:

     15470:      search 
         (RUNPATH from file /usr/lib/ghc/bin/ghc-pkg)

What version of glibc do you have? Have you got any interesting (to ld.so)
environment variables exported or configuration files changed?


Reply via email to