Re: Curses Interface

Guido.van.Rossum@cwi.nl
Sun, 06 Dec 1992 14:51:39 +0100

>I started to write a module for a subset of curses, called curselet, but
>ran into problems with the dynamic loader. Can anyone suggest why the dl
>system fails to find any of the symbols in my /usr/lib/libcurses.a? My
>curseletmodule.libs contains just:
>
>/usr/lib/libcurses.a /usr/lib/libc.a
>
>and it finds things in libc.a, but I get :
>
>dl_loadmod: dld_link of library failed: 10
>dl_loadmod: 4 undefined symbols remain
>_endwin
>_wrefresh
>_stdscr
>_initscr
>dl_loadmod: function initcurselet not executable
>
>when I try and import curselet.

Hm, shouldn't you be using /usr/lib/libcurses_G0.a /usr/lib/libc_G0.a?
(Everything to be loaded dynamically has to be compiled with -G0 on
the SGI; SGI provides versions of some libraries compiled with -G0.)

Hope this helps,

--Guido van Rossum, CWI, Amsterdam <guido@cwi.nl>
"Afterlife, sir? No, sir."