From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Mihai Vasilian Newsgroups: gmane.emacs.help Subject: In emacs, gdb says "cannot open shared object file" Date: Sun, 31 May 2009 18:18:55 +0200 Message-ID: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=001636c5bbd18d00b7046b37aac0 X-Trace: ger.gmane.org 1243830800 2256 80.91.229.12 (1 Jun 2009 04:33:20 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 1 Jun 2009 04:33:20 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Jun 01 06:33:18 2009 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1MAzD3-0002D5-81 for geh-help-gnu-emacs@m.gmane.org; Mon, 01 Jun 2009 06:33:18 +0200 Original-Received: from localhost ([127.0.0.1]:54013 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MAzD2-0000Kf-Pb for geh-help-gnu-emacs@m.gmane.org; Mon, 01 Jun 2009 00:33:16 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MAnkU-0006QI-El for help-gnu-emacs@gnu.org; Sun, 31 May 2009 12:19:02 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MAnkP-0006P1-TO for help-gnu-emacs@gnu.org; Sun, 31 May 2009 12:19:01 -0400 Original-Received: from [199.232.76.173] (port=36100 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MAnkP-0006Oy-P7 for help-gnu-emacs@gnu.org; Sun, 31 May 2009 12:18:57 -0400 Original-Received: from mail-fx0-f169.google.com ([209.85.220.169]:34046) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MAnkP-0006Kc-DC for help-gnu-emacs@gnu.org; Sun, 31 May 2009 12:18:57 -0400 Original-Received: by fxm17 with SMTP id 17so7886362fxm.42 for ; Sun, 31 May 2009 09:18:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type; bh=2B14U/5JDsrLcA2uecg4cny1IEKpKFTGn+fInmZwwsM=; b=Dd4UnKnMfcTXjLEztuU0Vw6GAGCo4LyMgB0r81kKPbpAWcvR2YT8Anc/I+XzEYQOBr UnPyo8X4FEQF2Vjwql6fSGWwO/N6xDSLoX9OrA6PzPCt9zZaH/jFArl1AFcK75HrB22p stGV9/5MKRnLINHr1CJvUY7cSiZQfP4gfChEw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=o1YSfB7vzlBQa1khTuwYrioDOsFY5EmPdmiXkHJB9ADw9iGYxKYN4x8zYKxR8Q74cV padyRIjFCU2AWFencegVhKmZkYA+Htxxo12sp3Xjz5RmTdxkRdi9uVmmito4Gykif/pY L17r8VFrpoKZRmzKb1vgAUDOAT3VvnFkwrH1g= Original-Received: by 10.204.66.17 with SMTP id l17mr4777881bki.44.1243786735583; Sun, 31 May 2009 09:18:55 -0700 (PDT) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) X-Mailman-Approved-At: Mon, 01 Jun 2009 00:32:56 -0400 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:64851 Archived-At: --001636c5bbd18d00b7046b37aac0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Hi all, I ran into a problem recently with emacs and gdb, and right now I am looking for some help, posting here. I compiled one program and one shared library in their coresponding $MYPATH/prg/src and $MYPATH/misc/src folders. I set in ~/.bashrc the variable LD_LIBRARY_PATH to point to $MYPATH/misc/src folder where libmisc.so is saved. I open console and run: gdb prg and everything goes fine. I started to work with emacs recently and I go with: M-x gdb , gdb prg , and then break main, and run. I get the following error message: Starting program: /mnt/sda5/Programming/prg/src/prg /mnt/sda5/Programming/prg/src/prg: error while loading shared libraries: libmisc.so: cannot open shared object file: No such file or directory If this (my fist post) on list is not the appropiate thing to find a solution to my problem, please advice. vmihai. --001636c5bbd18d00b7046b37aac0 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Hi all,
I ran into a problem recently with emacs and gdb, and right now = I am looking for some help, posting here.
I compiled one program and one= shared library in their coresponding $MYPATH/prg/src and $MYPATH/misc/src = folders.
I set in ~/.bashrc the variable LD_LIBRARY_PATH to point to $MYPATH/misc/sr= c folder where libmisc.so is saved.
I open console and run:=A0 gdb prg= =A0=A0=A0 and everything goes fine.
I started to work with emacs recentl= y and I go with: M-x gdb , gdb prg=A0 , and then break main, and run.
I get the following error message:
Starting program: /mnt/sda5/Programmi= ng/prg/src/prg
/mnt/sda5/Programming/prg/src/prg: error while loading sh= ared libraries: libmisc.so: cannot open shared object file: No such file or= directory
If this (my fist post) on list is not the appropiate thing to find a soluti= on to my problem, please advice.
vmihai.
--001636c5bbd18d00b7046b37aac0--