link problem under macosx

Christian Maeder Christian.Maeder at dfki.de
Tue Nov 2 06:48:05 EDT 2010


Hi,

after installing
http://lambda.galois.com/hp-tmp/2010.2.0.0/haskell-platform-2010.2.0.0.i386.dmg
and various more libraries using cabal, we get the following linker
error below.

A simple hello program compiles and links fine and uses
/usr/lib/libiconv.2.dylib (compatibility version 7.0.0, current version
7.0.0) as shown by "otool -L".

Does someone have an explanation or solution?

Cheers Christian

Linking dist/build/hets/hets ...
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


More information about the Glasgow-haskell-users mailing list