[163] in Athena User Interface

home help back first fref pref prev next nref lref last post

curses on Solaris 2.6

daemon@ATHENA.MIT.EDU (Brad Thompson)
Mon Jun 12 22:34:34 2000

Message-Id: <200006130234.WAA05630@hodge-podge.mit.edu>
To: aui@MIT.EDU
Date: Mon, 12 Jun 2000 22:34:29 -0400
From: Brad Thompson <yak@MIT.EDU>

I've been building stuff on Solaris 2.6 lately that tries to link against
curses.  There is a libcurses.a in /usr/ccs/lib, but no shared library.
There is a libcurses.so in /usr/xpg4/lib.  I don't know if either of
these should be in ld's default library search path, and I don't know
how to find out what that path is.  When I run programs like
sawfish-client and the aui locker info, I get errors like:

ld.so.1: sawfish-client: fatal: libcurses.so.1: open failed: No such file or directory

Unfortunately, I have no idea where ld is finding libcurses.  Whereever it
is, it's not in the default runpath.  I suspect it is not /usr/xpg4/lib,
because if I put /usr/xpg4/lib in LD_LIBRARY_PATH, the programs segfault.

These programs are built with /usr/gcc/bin/gcc.  Any thoughts on where
the toolchain is finding libcurses?

yak

home help back first fref pref prev next nref lref last post