Hi,

This is probably the libedit issue. On OS X, NetBSD's libedit is installed.
Libedit provides a partial implementation of the readline API.  On OS X,
Apple has symlinked /usr/lib/libreadline.dylib to libedit. This is not a good
idea.

I submitted at patch to fix this and I think it was committed to HEAD. It detects that libedit is not libreadline and refuses to use it. It's not a problem on
darwinports because I explicitly require that DP's readline be used and
set up the path to find it during configuration.

Best Wishes,
Greg



On Aug 1, 2006, at 11:25 AM, Simon Marlow wrote:

Joel Reymont wrote:
I give up! Mac PPC doesn't like me now that I'm on Intel.
This is PPC, btw, and I _do_ have readline installed. GHC from DarwinPorts compiles just fine.
[snip]
/usr/bin/ld: Undefined symbols:
_rl_initialize
_rl_reset_terminal
_add_history
_readline
collect2: ld returned 1 exit status

Sorry, I don't have much to offer here. It looks like you're picking up a bogus readline library somehow. I do vaguely recall readline shenanigans being required on MacOS X, you might want to search the archives.

Cheers,
        Simon
_______________________________________________
Glasgow-haskell-users mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-users

_______________________________________________
Glasgow-haskell-users mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-users

Reply via email to