Opened 9 years ago

Closed 8 years ago

#2511 closed bug (invalid)

unix package doesnt load in ghci on freebsd/amd64

Reported by: newsham Owned by:
Priority: normal Milestone: 6.10.2
Component: libraries/unix Version: 6.8.2
Keywords: Cc:
Operating System: FreeBSD Architecture: x86_64 (amd64)
Type of failure: None/Unknown Test Case:
Blocked By: Blocking:
Related Tickets: Differential Rev(s):
Wiki Page:

Description (last modified by igloo)

When loading the "unix" package in ghci, the interpreter gives a link error:

$ ghci -package unix
GHCi, version 6.8.2:  :? for help
Loading package base ... linking ... done.
Loading package old-locale- ... linking ... done.
Loading package old-time- ... linking ... done.
Loading package filepath- ... linking ... done.
Loading package directory- ... linking ... done.
Loading package unix- ... ghc-6.8.2: can't load .so/.DLL for: util (/usr/lib/ Undefined symbol "__mb_sb_limit")

As noted above this is ghc-6.8.2. I built from sources. My machine is:

FreeBSD hpsux 7.0-RELEASE FreeBSD 7.0-RELEASE #0: Sat Mar  8 14:07:11 HST 2008     root@hpsux:/usr/obj/usr/src/sys/GENERIC  amd64

Change History (5)

comment:1 Changed 9 years ago by igloo

Description: modified (diff)
difficulty: Unknown

comment:2 Changed 9 years ago by igloo

Milestone: 6.10.1

Based on a quick google, it looks like this is a FreeBSD libc thing. Did you build against the same libc you are running?

comment:3 Changed 9 years ago by obraun

I cannot reproduce this on FreeBSD 7.1-PRERELEASE amd64 using lang/ghc. Please update your ghc using the FreeBSD port and retry.

comment:4 Changed 9 years ago by igloo


comment:5 Changed 8 years ago by igloo

Resolution: invalid
Status: newclosed

No response from submitter, so closing.

Note: See TracTickets for help on using tickets.