
#11499: Loading temp shared object failed in GHCi -------------------------------+--------------------------------------- Reporter: alfa07 | Owner: Type: bug | Status: infoneeded Priority: normal | Milestone: Component: GHCi | Version: 7.10.3 Resolution: | Keywords: dynamic linking Operating System: MacOS X | Architecture: x86_64 (amd64) Type of failure: GHCi crash | Test Case: Blocked By: | Blocking: Related Tickets: #10458 | Differential Rev(s): Wiki Page: | -------------------------------+--------------------------------------- Comment (by alfa07): Alas building with ghc-8 didn't help (I have rebuilt it from HEAD and checked that your diff is in): ❯ stack --skip-ghc-check --system-ghc --stack-yaml stack-8.yaml ghci GLUtil-0.8.8: build GLUtil-0.8.8: copy/register line-segment-intersection-0.1.0.0: configure line-segment-intersection-0.1.0.0: build line-segment-intersection-0.1.0.0: copy/register Completed 2 action(s). The following GHC options are incompatible with GHCi and have not been passed to it: -threaded -Odph Using main module: 1. Package `line-segment-intersection' component exe:demo with main-is file: /Users/maxim/Dev/ComputationGeometry/LineSegmentIntersection/app/Main.hs Configuring GHCi with the following packages: line-segment-intersection, GLUT, GLUtil, boundingboxes, freetype-simple, freetype2 GHCi, version 8.1.20160129: http://www.haskell.org/ghc/ :? for help ghc: panic! (the 'impossible' happened) (GHC version 8.1.20160129 for x86_64-apple-darwin): Loading temp shared object failed: dlopen(/var/folders/dz/lm9jncs90nq0vn_5j7xhpg2xqyfj66/T/ghc55362_0/libghc_25.dylib, 5): Symbol not found: _bdf_driver_class Referenced from: /var/folders/dz/lm9jncs90nq0vn_5j7xhpg2xqyfj66/T/ghc55362_0/libghc_25.dylib Expected in: flat namespace in /var/folders/dz/lm9jncs90nq0vn_5j7xhpg2xqyfj66/T/ghc55362_0/libghc_25.dylib Please report this as a GHC bug: http://www.haskell.org/ghc/reportabug -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/11499#comment:4 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler