Previous Entry Share Next Entry
07:04 pm, 1 Nov 04


I've only built one or two things out of FreeBSD's ports system, so maybe I'm doing something wrong, but when I tried to build ghc it died in the middle with some compilation error. I poked around a bit and couldn't figure much out -- it looked like it was in one of the final linking stages, and there was no error message aside from make complaining about a nonzero exit code.

So I tried running cvsup, make clean, and then make again, and now I get
/usr/ports/lang/ghc/work/ghc-6.2.2-boot/bin/i386-unknown-freebsd/ghc-6.2.2 -M -optdep-f -optdep.depend -osuf o -H16m -O HaskTags.hs
/libexec/ld-elf.so.1: Shared object "libreadline.so.5" not found

Remind me again why I'm compiling everything?