Hugs graphics not working

Josef Svenningsson josefs@cs.chalmers.se
Wed, 8 May 2002 12:04:35 +0200 (MET DST)


Hi.

We're trying to use Haskell Graphics library for X on our solaris
machines. Compiling works fine but when we're trying to run the example we
get the following error message:

Reading file "../../demos/HelloWorld.hs":
Reading file "GraphicsUtils.hs":
Reading file "GraphicsCore.hs":
Reading file "GraphicsEvent.hs":
Reading file "GraphicsKey.hs":
Reading file "X.hs":
Reading file "Xlib_StdDIS.hs":
Reading file "/users/cs/josefs/share/hugs/lib/exts/Int.hs":
Reading file "/users/cs/josefs/share/hugs/lib/exts/Bits.hs":
Reading file "/users/cs/josefs/share/hugs/lib/exts/Int.hs":
Reading file "/users/cs/josefs/share/hugs/lib/exts/Word.hs":
Reading file "/users/cs/josefs/share/hugs/lib/Numeric.hs":
Reading file "/users/cs/josefs/share/hugs/lib/Char.hs":
Reading file "/users/cs/josefs/share/hugs/lib/Ratio.hs":
Reading file "/users/cs/josefs/share/hugs/lib/Numeric.hs":
Reading file "/users/cs/josefs/share/hugs/lib/exts/Word.hs":
Reading file "/users/cs/josefs/share/hugs/lib/exts/Addr.hs":
Reading file "/users/cs/josefs/share/hugs/lib/Monad.hs":
Reading file "/users/cs/josefs/share/hugs/lib/exts/Foreign.hs":
Reading file "Xlib_StdDIS.hs":
Parsing
ERROR "Xlib_StdDIS.hs" - Error while importing DLL
"/users/cs/josefs/packages/graphics-2.0.4/lib/x11/Xlib_StdDIS.so":
ld.so.1: runhugs: fatal: relocation error: file
/usr/X11/lib/libX11.so.6.1: symbol authdes_create: referenced symbol not
found

I seems to be some incompabilities with the X11 lib but I've no idea what
it is or what to do about it. Any ideas?

Here's some perhaps relevant info:
josefs@muppet90> uname -a
SunOS muppet90.cs.chalmers.se 5.7 Generic_106541-16 sun4u sparc
SUNW,Ultra-5_10
josefs@muppet90> gcc -v
gcc version 2.95.3 20010315 (release)

hugs is December 2001

Cheers,

	/Josef