Stop! Tickets are now managed at GitHub.

Please enter new tickets, and find and edit existing tickets there:

Ticket #100 (closed defect: worksforme)

Opened 8 years ago

Last modified 8 years ago

<Problem> installed on osx 10.6 ghci not working

Reported by: johnstjohn Owned by: dons
Priority: major Milestone:
Component: GHC Keywords:


<Describe the problem>

When I try to run ghci I get the following error after installing.

jstjohn$ ghci GHCi, version 6.10.4: :? for help Loading package ghc-prim ... linking ... done. Loading package integer ... linking ... done. Loading package base ... linking ... done. dyld: lazy symbol binding failed: Symbol not found: _iconv_open

Referenced from: /Library/Frameworks/GHC.framework/Versions/610/usr/lib/ghc-6.10.4/ghc Expected in: /usr/local/lib/libiconv.2.dylib

dyld: Symbol not found: _iconv_open

Referenced from: /Library/Frameworks/GHC.framework/Versions/610/usr/lib/ghc-6.10.4/ghc Expected in: /usr/local/lib/libiconv.2.dylib

Trace/BPT trap

Change History

Changed 8 years ago by johnstjohn

  • status changed from new to closed
  • resolution set to worksforme

The fix to this problem with snow leopard is to do the following 1. sudo mv /usr/local/lib/libiconv.2.dylib /usr/local/lib/libiconv.2.dylib.old 2. ln -s /usr/lib/libiconv.2.dylib /usr/local/lib/libiconv.2.dylib

That's it! I guessed this was the problem when I noticed the file size of the 'libiconv.2.dylib' that is linked to in /usr/local/lib is smaller than the one located in /usr/lib. Kind of a hack and I am hoping this doesn't break anything else in my system. If it does I can just reestablish /usr/local/lib/libiconv.2.dylib.old

Note: See TracTickets for help on using tickets.