From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 19885 invoked by alias); 19 Dec 2005 17:35:56 -0000 Received: (qmail 19874 invoked by uid 22791); 19 Dec 2005 17:35:55 -0000 X-Spam-Check-By: sourceware.org Received: from imo-d06.mx.aol.com (HELO imo-d06.mx.aol.com) (205.188.157.38) by sourceware.org (qpsmtpd/0.31) with ESMTP; Mon, 19 Dec 2005 17:35:54 +0000 Received: from yinglcs@aim.com by imo-d06.mx.aol.com (mail_out_v38_r6.3.) id o.261.3bdb17c (57881) for ; Mon, 19 Dec 2005 12:35:41 -0500 (EST) Received: from MBLK-M10 (mblk-m10.mblk.aol.com [64.12.136.43]) by air-ia04.mail.aol.com (v108.32) with ESMTP id MAILINIA43-e21943a6ef6d2c2; Mon, 19 Dec 2005 12:35:41 -0500 Date: Mon, 19 Dec 2005 17:35:00 -0000 From: yinglcs@aim.com Message-Id: <8C7D2D9C4891CA2-1834-6F6C@MBLK-M10.sysops.aol.com> X-MB-Message-Source: WebUI X-MB-Message-Type: User Received: from 199.177.12.5 by MBLK-M10.sysops.aol.com (64.12.136.43) with HTTP (WebMailUI); Mon, 19 Dec 2005 12:35:41 -0500 Subject: can't find shared libraries in gdb Content-Type: text/plain; charset="us-ascii"; format=flowed MIME-Version: 1.0 To: gdb@sources.redhat.com X-AOL-IP: 64.12.136.43 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/msg00159.txt.bz2 Hi, 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 But I check there is a soft link in the same directory as the executable and it points to a vaild file. Can you please tell me how to fix this problem so that I can run my problem under gdb? [yinglcs@localhost bin]$ ls -la libmozjs.so lrwxrwxrwx 1 yinglcs yinglcs 24 Dec 15 09:47 libmozjs.so -> ../../js/src/libmozjs.so* [yinglcs@localhost bin]$ ls -la ../../js/src/libmozjs.so -rwxrwxr-x 1 yinglcs yinglcs 1845285 Dec 15 09:47 ../../js/src/libmozjs.so* ________________________________________________________________________ Check Out the new free AIM(R) Mail -- 2 GB of storage and industry-leading spam and email virus protection.