This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
Re: gdb: fatal: libncurses.so.5: open failed: No such file or dir ectory
- From: Daniel Jacobowitz <drow at mvista dot com>
- To: Mary Burak <mary dot burak at netiq dot com>
- Cc: "'gdb at sources dot redhat dot com'" <gdb at sources dot redhat dot com>
- Date: Fri, 21 Mar 2003 13:01:46 -0500
- Subject: Re: gdb: fatal: libncurses.so.5: open failed: No such file or dir ectory
- References: <B17C07174B5E4546A2B04EB096E83FD7C6C707@sjcexch02.netiq.local>
On Fri, Mar 21, 2003 at 09:52:23AM -0800, Mary Burak wrote:
> Hi,
>
> I've installed gdb 5.3 on a Solaris 2.8 machine by running:
>
> ./configure
> ./make
> ./make install
>
> No errors were encountered during any of these runs. I set my CC to gcc,
> then ran gdb as root and received the error:
>
> ld.so.1: gdb: fatal: libncurses.so.5: open failed: No such file or
> directory
> Killed
>
> I don't have the libncurses.so.5, and can't find it for Solaris, only Linux.
> I searched the gdb web site, but didn't see anything that says what to do
> about this.
>
> Any help would be greatly appreciated.
If the gdb binary references libncurses.so.5, you probably do have it
on your system somewhere that GCC is set up to search. Check
$LD_LIBRARY_PATH and similar variables from the user account where you
built GDB.
--
Daniel Jacobowitz
MontaVista Software Debian GNU/Linux Developer