#5289: Can't use ghci with a library linked against libstdc++
---------------------------------+------------------------------------------
    Reporter:  bos               |        Owner:            
        Type:  bug               |       Status:  new       
    Priority:  normal            |    Milestone:  7.2.1     
   Component:  GHCi              |      Version:  7.0.3     
    Keywords:                    |     Testcase:            
   Blockedby:                    |   Difficulty:            
          Os:  Unknown/Multiple  |     Blocking:            
Architecture:  Unknown/Multiple  |      Failure:  GHCi crash
---------------------------------+------------------------------------------

Comment(by hgolden):

 Replying to [comment:21 ivanstojic]:
 > From the man pages:
 >
 > ''Unlike  many  other operating systems, Darwin does not locate
 dependent dynamic libraries via their leaf file name.  Instead the full
 path to each dylib is used (e.g. /usr/lib/lib-System.B.dylib).
 > ''
 >
 > I'm not sure how that affects the specified behavior though. To me it
 always looked as if GHCi cannot even locate the library to work with in
 the first place.
 I hope someone with Mac OS X programming skills would look at
 rts/Linker.c, particularly the dynamic loading code, and see if it works.
 I don't have programming experience with Mac OS X, and my only easy access
 is to an old PPC Mac anyway, so I don't think I can help much.

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/5289#comment:22>
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