From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 3851 invoked by alias); 19 Dec 2005 22:12:18 -0000 Received: (qmail 3819 invoked by uid 22791); 19 Dec 2005 22:12:18 -0000 X-Spam-Check-By: sourceware.org Received: from nitzan.inter.net.il (HELO nitzan.inter.net.il) (192.114.186.20) by sourceware.org (qpsmtpd/0.31) with ESMTP; Mon, 19 Dec 2005 22:12:17 +0000 Received: from HOME-C4E4A596F7 (IGLD-80-230-80-85.inter.net.il [80.230.80.85]) by nitzan.inter.net.il (MOS 3.7.2-GA) with ESMTP id CGF54185 (AUTH halo1); Tue, 20 Dec 2005 00:12:13 +0200 (IST) Date: Mon, 19 Dec 2005 22:12:00 -0000 Message-Id: From: Eli Zaretskii To: yinglcs@aim.com CC: gdb@sources.redhat.com In-reply-to: <8C7D2D9C4891CA2-1834-6F6C@MBLK-M10.sysops.aol.com> (yinglcs@aim.com) Subject: Re: can't find shared libraries in gdb Reply-to: Eli Zaretskii References: <8C7D2D9C4891CA2-1834-6F6C@MBLK-M10.sysops.aol.com> X-IsSubscribed: yes Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2005-12/txt/msg00161.txt.bz2 > Date: Mon, 19 Dec 2005 12:35:41 -0500 > From: yinglcs@aim.com > > I run my program under Gdb. But i get the following error saying it > can't find the shared libraries: > (gdb) run > Starting program: /home/yinglcs/src/firefox1.5/dist/bin/firefox-bin > /home/yinglcs/src/firefox1.5/dist/bin/firefox-bin: error while loading > shared libraries: libmozjs.so: cannot open shared object file: No such > file or directory What OS is that, what version of GDB, and how it was configured in terms of host and target? In short, what does GDB display when you start it?