Status: New
Owner: ----
Labels: Type-Defect Priority-Medium

New issue 316 by jadenb1729: Cannot cabal-install yi
http://code.google.com/p/yi-editor/issues/detail?id=316

What steps will reproduce the problem?
1. Compile GHC 6.12.3 using MacPorts's GHC 6.10.4
2. Compile Haskell Platform
3. cabal install yi

What is the expected output? What do you see instead?

Expected outcome:  Successful install of Yi

Actual outcome:
{{{
Linking dist/build/yi/yi ...
Undefined symbols:
  "_iconv_close", referenced from:
      _hs_iconv_close in libHSbase-4.2.0.2.a(iconv.o)
  "_iconv_open", referenced from:
      _hs_iconv_open in libHSbase-4.2.0.2.a(iconv.o)
  "_iconv", referenced from:
      _hs_iconv in libHSbase-4.2.0.2.a(iconv.o)
ld: symbol(s) not found
collect2: ld returned 1 exit status
cabal: Error: some packages failed to install:
yi-0.6.2.4 failed during the building phase. The exception was:
ExitFailure 1
}}}

Please provide relevant version information:


What version of Yi are you using?

0.6.2.4

What version of GHC?

6.12.3

What version of Cabal?

0.8.0

What operating system/version?

Mac OS 10.5.8

If you generated it (--debug) please provide your .yi.dbg file

Please provide any additional information below.

This link: http://osdir.com/ml/glasgow-haskell-b...@haskell.org/2010-05/msg00285.html makes me think that it is MacPorts's libiconv library that is at fault. I tried deactivating the libiconv library, as suggested there, but then MacPorts's libfontconfig library complains:
{{{
Loading package cairo-0.11.0 ... <command line>: can't load .so/.DLL for: fontconfig (dlopen(/Users/Shared/Applications/Utilities/MacPorts/lib/libfontconfig.dylib, 9): Library not loaded: /Users/Shared/Applications/Utilities/MacPorts/lib/libiconv.2.dylib Referenced from: /Users/Shared/Applications/Utilities/MacPorts/lib/libfontconfig.dylib Reason: Incompatible library version: libfontconfig.dylib requires version 8.0.0 or later, but libiconv.2.dylib provides version 7.0.0)
}}}
I tried deactivating MacPorts's fontconfig, too, but then I get:
{{{
Loading package cairo-0.11.0 ... <command line>: can't load .so/.DLL for: fontconfig (dlopen(libfontconfig.dylib, 9): image not found)
}}}
It is not practical for me to re-compile GHC.

--
Yi development mailing list
yi-devel@googlegroups.com
http://groups.google.com/group/yi-devel

Reply via email to