From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 24012 invoked by alias); 24 Oct 2003 17:31:17 -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 23979 invoked from network); 24 Oct 2003 17:31:16 -0000 Received: from unknown (HELO mx1.redhat.com) (66.187.233.31) by sources.redhat.com with SMTP; 24 Oct 2003 17:31:16 -0000 Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com [172.16.52.254]) by mx1.redhat.com (8.11.6/8.11.6) with ESMTP id h9OHVGM30407 for ; Fri, 24 Oct 2003 13:31:16 -0400 Received: from pobox.corp.redhat.com (pobox.corp.redhat.com [172.16.52.156]) by int-mx1.corp.redhat.com (8.11.6/8.11.6) with ESMTP id h9OHVFr01699; Fri, 24 Oct 2003 13:31:15 -0400 Received: from localhost.localdomain (vpn50-2.rdu.redhat.com [172.16.50.2]) by pobox.corp.redhat.com (8.12.8/8.12.8) with ESMTP id h9OHVEcY014033; Fri, 24 Oct 2003 13:31:15 -0400 Received: (from kev@localhost) by localhost.localdomain (8.11.6/8.11.6) id h9OHV9A09531; Fri, 24 Oct 2003 10:31:09 -0700 Date: Fri, 24 Oct 2003 17:31:00 -0000 From: Kevin Buettner Message-Id: <1031024173109.ZM9530@localhost.localdomain> In-Reply-To: Jordan Benjamin ""cannot open shared object file"" (Oct 23, 4:18pm) References: <200310231618.52181.jordanb@caltech.edu> To: Jordan Benjamin , gdb@sources.redhat.com Subject: Re: "cannot open shared object file" MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-SW-Source: 2003-10/txt/msg00276.txt.bz2 On Oct 23, 4:18pm, Jordan Benjamin wrote: > I'm trying to use GDB with a program having many shared libraries, and I > get the following error: > > (gdb) run > Starting program: /usr/local/Amira-3.0/bin/arch-Linux-Optimize/HxMain > /usr/local/Amira-3.0/bin/arch-Linux-Optimize/HxMain: error while loading > shared libraries: libAmira.so: cannot open shared object file: No such > file or directory > > Program exited with code 0177. > > The library "libAmira.so" is found on my machine in > /usr/local/Amira-3.0/lib/arch-Linux-Optimize/libAmira.so. I've tried > adding /usr/local/Amira-3.0/lib/arch-Linux-Optimize/ to the shell > variable LD_LIBRARY_PATH (which allows ldd to find it), as well as > setting solib-search-path to this path, but to no avail. I can't even > figure out what's generating this error message--I've grepped the gdb > and ld source for similar wording but can't find anything. > > Do any of you have any ideas? What does ldd show you? Kevin