all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Mihai Vasilian <grayasm@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: In emacs, gdb says "cannot open shared object file"
Date: Sun, 31 May 2009 18:18:55 +0200	[thread overview]
Message-ID: <a84e39290905310918j6f6fbccawb08cdfc6c73ce3f@mail.gmail.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 851 bytes --]

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.

[-- Attachment #2: Type: text/html, Size: 893 bytes --]

             reply	other threads:[~2009-05-31 16:18 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-05-31 16:18 Mihai Vasilian [this message]
2009-06-01  5:19 ` In emacs, gdb says "cannot open shared object file" Nick Roberts
2009-06-01  9:13   ` Mihai Vasilian
2009-06-02  7:14     ` Alberto Luaces

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=a84e39290905310918j6f6fbccawb08cdfc6c73ce3f@mail.gmail.com \
    --to=grayasm@gmail.com \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.