
#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: Type of failure: Other | Unknown/Multiple Blocked By: | Test Case: Related Tickets: | Blocking: | Differential Revisions: -------------------------------------+------------------------------------- Changes (by nomeata): * status: infoneeded => new Comment: It is right that the cabal file specifies only `curl` in the cabal file, after all, no specific version is required here. But after GHC has produced a `.so` file, this `.so` file, as you say, is tied to a specific version of the `curl` library. So the correct thing to do would be to store the precisely used version in the package data base. This way, building the curl bindings requires the `libcurl-dev` package, but using the curl bindings, e.g. when building a Haskell executable or from ghci, would only require the specific runtime package. This would actually make packaging Haskell for Debian a bit simpler... -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/9498#comment:5 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler