[GHC] #8770: ghci dynamic loading on MacOSX assumes .dylib extension (should check .so also)

GHC ghc-devs at haskell.org
Mon Feb 17 07:48:36 UTC 2014


#8770: ghci dynamic loading on MacOSX assumes .dylib extension (should check .so
also)
---------------------------------+-----------------------------------
        Reporter:  z9p           |            Owner:
            Type:  bug           |           Status:  new
        Priority:  normal        |        Milestone:  7.8.1
       Component:  GHCi          |          Version:  7.8.1-rc1
      Resolution:                |         Keywords:  dlopen dylib so
Operating System:  MacOS X       |     Architecture:  x86_64 (amd64)
 Type of failure:  None/Unknown  |       Difficulty:  Unknown
       Test Case:                |       Blocked By:
        Blocking:                |  Related Tickets:
---------------------------------+-----------------------------------

Comment (by Austin Seipp <austin@…>):

 In [changeset:"dc080915597065087b3821b3ded0a621a7e2fae7/ghc"]:
 {{{
 #!CommitTicketReference repository="ghc"
 revision="dc080915597065087b3821b3ded0a621a7e2fae7"
 Fix #8770

 As usual, Mac OS X is extremely annoying (or the software is, anyway),
 because not only does it load dynamic libraries with the .dylib
 extension, but also the .so extension. For whatever reason. At least
 it's easy to fix.

 Signed-off-by: Austin Seipp <austin at well-typed.com>
 }}}

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


More information about the ghc-tickets mailing list