From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 17817 invoked by alias); 21 Mar 2003 18:11:41 -0000 Mailing-List: contact gdb-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sources.redhat.com Received: (qmail 17794 invoked from network); 21 Mar 2003 18:11:40 -0000 Received: from unknown (HELO duracef.shout.net) (204.253.184.12) by sources.redhat.com with SMTP; 21 Mar 2003 18:11:40 -0000 Received: (from mec@localhost) by duracef.shout.net (8.11.6/8.11.6) id h2LIBd321024; Fri, 21 Mar 2003 12:11:39 -0600 Date: Fri, 21 Mar 2003 18:11:00 -0000 From: Michael Elizabeth Chastain Message-Id: <200303211811.h2LIBd321024@duracef.shout.net> To: gdb@sources.redhat.com, mary.burak@netiq.com Subject: Re: gdb: fatal: libncurses.so.5: open failed: No such file or dir ectory X-SW-Source: 2003-03/txt/msg00317.txt.bz2 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