SOE Graphics for SunOS/Solaris

Glynn Clements glynn.clements@virgin.net
Mon, 9 Sep 2002 15:35:51 +0100


Koen Claessen wrote:

> I am trying to install the SOE graphics library for Solaris,
> but I am having no success. Everything compiles fine, but at
> run-time I get an error:
> 
> >>>
> ERROR "graphics-2.0.4/lib/x11/Xlib_StdDIS.hs" - Error while
> importing DLL
> "/.../chalmers.se/fs/cab/cs/work/proj/multi/home/src/hugs/soe/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
> <<<

authdes_create is part of the Sun RPC API. On Linux/GNU, the function
is in libc itself; on other systems it may be in one of libsun, libnsl
librpc, or librpclib.

You need to determine which library provides this function (e.g. by
using "nm", or by running "ldd" on libX11.so), then add the
appropriate "-l" switch to the Makefile. The output from running "ldd"
on the resulting *.so files should include a reference to this
library.

-- 
Glynn Clements <glynn.clements@virgin.net>