
I was able to install the ghc binary for solaris x86, but darcs fails on configure: configure:2718: ghc -o conftest conftest.hs ld: fatal: symbol `GHC_ZCCReturnable_static_info' in file /opt/local/ lib/ghc-6.6.1/libHSrts.a(PrimOps.o): section [1] .text: size 8212: symbol (address 0x2014, size 4) lies o utside of containing section ld: fatal: library -lgmp: not found ld: fatal: File processing errors. No output written to conftest collect2: ld returned 1 exit status

Rich Collins schrieb:
I was able to install the ghc binary for solaris x86, but darcs fails on configure:
It's not a darcs problem.
configure:2718: ghc -o conftest conftest.hs ld: fatal: symbol `GHC_ZCCReturnable_static_info' in file /opt/local/lib/ghc-6.6.1/libHSrts.a(PrimOps.o): section [1] .text: size 8212: symbol (address 0x2014, size 4) lies o
This bug has recently been fixed. http://hackage.haskell.org/trac/ghc/ticket/1421 Download the new binary dist: http://www.informatik.uni-bremen.de/agbkb/forschung/formal_methods/CoFI/hets... Ian, could you replace http://www.haskell.org/ghc/dist/6.6.1/ghc-6.6.1-i386-unknown-solaris2.tar.bz... ?
utside of containing section ld: fatal: library -lgmp: not found ld: fatal: File processing errors. No output written to conftest collect2: ld returned 1 exit status
You need to install gmp (libgmp.so). (I don't know where you can get it.) HTH Christian

It was a problem with the linking for ghc. I hacked LD_LIBRARY_PATH for my user account and it worked. You might want to add /opt/csw/ lib/ when compiling ghc. Also, I am a new Solaris user (this is on a Joyent Accelerator) so this might be entirely the wrong advice ;) On Jun 15, 2007, at 3:40 AM, Christian Maeder wrote:
Rich Collins schrieb:
I was able to install the ghc binary for solaris x86, but darcs fails on configure:
It's not a darcs problem.
configure:2718: ghc -o conftest conftest.hs ld: fatal: symbol `GHC_ZCCReturnable_static_info' in file /opt/local/lib/ghc-6.6.1/libHSrts.a(PrimOps.o): section [1] .text: size 8212: symbol (address 0x2014, size 4) lies o
This bug has recently been fixed. http://hackage.haskell.org/trac/ghc/ticket/1421
Download the new binary dist: http://www.informatik.uni-bremen.de/agbkb/forschung/formal_methods/ CoFI/hets/pc-solaris/versions/new-ghc-6.6.1-i386-unknown- solaris2.tar.bz2
Ian, could you replace http://www.haskell.org/ghc/dist/6.6.1/ghc-6.6.1-i386-unknown- solaris2.tar.bz2 ?
utside of containing section ld: fatal: library -lgmp: not found ld: fatal: File processing errors. No output written to conftest collect2: ld returned 1 exit status
You need to install gmp (libgmp.so). (I don't know where you can get it.)
HTH Christian

On Fri, Jun 15, 2007 at 12:40:40PM +0200, Christian Maeder wrote:
Download the new binary dist: http://www.informatik.uni-bremen.de/agbkb/forschung/formal_methods/CoFI/hets...
Ian, could you replace http://www.haskell.org/ghc/dist/6.6.1/ghc-6.6.1-i386-unknown-solaris2.tar.bz... ?
Thanks Christian, done! Ian
participants (3)
-
Christian Maeder
-
Ian Lynagh
-
Rich Collins