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

GHC ghc-devs at haskell.org
Thu Aug 21 22:31:15 UTC 2014


#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
       Keywords:  Debian            |        Operating System:  Linux
   Architecture:  Unknown/Multiple  |         Type of failure:  Other
     Difficulty:  Unknown           |               Test Case:
     Blocked By:                    |                Blocking:
Related Tickets:                    |  Differential Revisions:
------------------------------------+--------------------------------
 Greetings,

 GHC tries to load unversioned dynamic libraries instead of versioned (i.e.
 libfoo.so instead of libfoo.so.1.2.3).
 This is a problem, since Distributions like Debian (I don't know about
 other distributions) don't include unversioned .SOs in their runtime
 packages and the unversioned are only available in the -dev packages as a
 symlink to the verioned ones.
 This means FFI libraries depend on the -dev packages, even though they
 don't really need them.
 It would be nice if GHC would try to load the versioned libraries as well.

 Regards
 Sven

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


More information about the ghc-tickets mailing list