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: Michael Elizabeth Chastain <mec at shout dot net>
- To: gdb at sources dot redhat dot com, mary dot burak at netiq dot com
- Date: Fri, 21 Mar 2003 12:11:39 -0600
- Subject: Re: gdb: fatal: libncurses.so.5: open failed: No such file or dir ectory
It's likely that the account that built gdb has an LD_LIBRARY_PATH
that locates libncurses, but your root account does not have that
LD_LIBRARY_PATH. That would explain why 'root' is unable to find
libncurses.so.5 when gdb starts up.
First, try running gdb from the same account that you built it.
See if that works.
Then, check the environment variable LD_LIBRARY_PATH in the
account that you built gdb and in the account that you are
running it. (I'm not sure I've got the name right for Solaris --
do an 'env' command and look for anything with a similar name).
Hope this helps,
Michael C