[GHC] #10492: rpath & shared libraries in ghc 7.10.1

GHC ghc-devs at haskell.org
Thu Jun 11 08:22:05 UTC 2015


#10492: rpath & shared libraries in ghc 7.10.1
-------------------------------------+-------------------------------------
        Reporter:  artella.coding    |                   Owner:  trommler
            Type:  bug               |                  Status:  new
        Priority:  normal            |               Milestone:  7.10.2
       Component:  Compiler          |                 Version:  7.10.1
      Resolution:                    |                Keywords:
Operating System:  Linux             |            Architecture:
 Type of failure:  Runtime crash     |  Unknown/Multiple
      Blocked By:                    |               Test Case:
 Related Tickets:                    |                Blocking:
                                     |  Differential Revisions:
-------------------------------------+-------------------------------------

Comment (by trommler):

 Replying to [comment:2 rwbarton]:
 > Isn't this a Cabal bug, not a GHC bug? We don't expect GHC to
 automatically add rpath entries for C libraries it is told to link
 against, do we?
 I am not sure anymore that this is actually a bug. If an executable is
 linked against a shared object that is not found in a standard location
 the user needs to provide the extra RPATH (or RUNPATH) or set
 LD_LIBRARY_PATH accordingly. So what I said in comment:1 is not a
 workaround but the actual fix.

--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/10492#comment:3>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler


More information about the ghc-tickets mailing list