#7062: Spurious undefined reference to `openpty'
-------------------------------+--------------------------------------------
  Reporter:  simonmar          |          Owner:                  
      Type:  bug               |         Status:  new             
  Priority:  high              |      Milestone:  7.6.2           
 Component:  Compiler          |        Version:  7.4.2           
Resolution:                    |       Keywords:                  
        Os:  Unknown/Multiple  |   Architecture:  Unknown/Multiple
   Failure:  None/Unknown      |     Difficulty:  Unknown         
  Testcase:                    |      Blockedby:                  
  Blocking:                    |        Related:                  
-------------------------------+--------------------------------------------

Comment(by markwright):

 Replying to [comment:21 trommler]:
 > GHC libraries do not set a RUNPATH or RPATH tag for other GHC libraries
 they depend on (see libHSunix above) and hence the library cannot be found
 unless it is in the default linker path or included in LD_LIBRARY_PATH.

 I added this patch to #3072 to add an rpath to the ghc core libs

 {{{
 http://hackage.haskell.org/trac/ghc/attachment/ticket/3072/ghc-7.7.20121101
 -corelibs-rpath.patch
 }}}

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

_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs

Reply via email to