to answer the question of the other poster, ghc 7.0.2 packaged installer, 64 bit build
I solved it by making a symlink from /Developer/SDKs/MacOSX10.6.sdk to /Developer/SDKs/MacOSX10.5.sdk (which is missing with XCode 4). So far it seems to work :)
Jurriën
> _______________________________________________
On 10 Mar, 2011, at 06:53 , Carter Schonwald wrote:
> after experimenting by just naively moving the old Developer directory back to its original location preceding the installation of xcode 4, everything builds properly now.
>
> still, this is not a reasonable long term solution. Any ideas about how this might be fixed?
>
> On Thu, Mar 10, 2011 at 12:33 AM, Carter Schonwald <carter.schonwald@gmail.com> wrote:
> Hey All,
> As of installing xcode 4 earlier today,
>
> i'm getting errors of the form
> ld: library not found for -lcrt1.10.5.o
> collect2: ld returned 1 exit status
>
> for any haskell code that invokes ld in its cabal install process.
> 1) is this related to some problem in xcode / what the haskell code defaults to linking to?
> 2) is this something completely unrelated?
>
> thanks!
> -Carter
>
> Haskell-Cafe mailing list
> Haskell-Cafe@haskell.org
> http://www.haskell.org/mailman/listinfo/haskell-cafe