Opened 15 years ago

Closed 15 years ago

#19611 closed defect (invalid)

ghc 6.10.1: dyld: Library not loaded: /usr/i686-apple-darwin8/lib/libgcc_s.1.dylib

Reported by: roy.lowrance@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.7.1
Keywords: Cc: gwright@…
Port: ghc

Description (last modified by mf2k (Frank Schima))

The command

port install ghc

eventually fails with this error:

<snip>
checking for ld... /usr/bin/ld
checking for path to top of build tree... dyld: Library not loaded: /usr/i686-apple-darwin8/lib/libgcc_s.1.dylib
  Referenced from: /usr/bin/gcc
  Reason: image not found
./configure: line 1: utils/pwd/pwd: No such file or directory
configure: error: cannot determine current directory

Error: Status 1 encountered during processing.

Change History (4)

comment:1 Changed 15 years ago by mf2k (Frank Schima)

Description: modified (diff)

Please include the output that you snipped. Also please use WikiFormatting when you do.

comment:2 Changed 15 years ago by blb@…

What does running the following say?

/usr/bin/gcc --version

comment:3 Changed 15 years ago by roy.lowrance@…

Thanks for the comments and queries. It was easier to upgrade the OS to 10.5 so that I can use the package installer.

How do I close this ticket?

comment:4 Changed 15 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: gwright@… added
Port: ghc added
Resolution: invalid
Status: newclosed
Summary: macports fails to install ghc on Tiger 10.4.11ghc 6.10.1: dyld: Library not loaded: /usr/i686-apple-darwin8/lib/libgcc_s.1.dylib

Based on the error message

dyld: Library not loaded: /usr/i686-apple-darwin8/lib/libgcc_s.1.dylib
  Referenced from: /usr/bin/gcc
  Reason: image not found

it sounds like Xcode was not properly installed. For anyone else reading this ticket experiencing a similar problem, reinstalling Xcode might have fixed it. Make sure you have the latest Xcode for your OS version. It is not auto-updated by Software Update.

Note: See TracTickets for help on using tickets.