[GHC] #9498: GHC links against unversioned .so files

GHC ghc-devs at haskell.org
Thu Aug 6 07:40:02 UTC 2015


#9498: GHC links against unversioned .so files
-------------------------------------+-------------------------------------
        Reporter:  Kritzefitz        |                   Owner:
            Type:  feature request   |                  Status:  new
        Priority:  low               |               Milestone:
       Component:  Compiler (FFI)    |                 Version:  7.6.3
      Resolution:                    |                Keywords:  Debian
Operating System:  Linux             |            Architecture:
                                     |  Unknown/Multiple
 Type of failure:  Other             |               Test Case:
      Blocked By:                    |                Blocking:
 Related Tickets:                    |  Differential Revisions:
-------------------------------------+-------------------------------------

Comment (by nomeata):

 > To load a static library we use the RTS linker and the RTS linker needs
 to load dependent C libraries explicitly. Unfortunately we cannot assume
 that the C library with a specific version is installed. So the RTS linker
 looks for the unversioned library and tries to load that.

 BTW, why is that? Is it a valid and supported use case to build against
 one version and run against another version of the library?

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


More information about the ghc-tickets mailing list