
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
#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): 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