From: nickrob@snap.net.nz (Nick Roberts)
To: Mihai Vasilian <grayasm@gmail.com>
Cc: help-gnu-emacs@gnu.org
Subject: In emacs, gdb says "cannot open shared object file"
Date: Mon, 1 Jun 2009 17:19:22 +1200 [thread overview]
Message-ID: <18979.25818.810590.678739@totara.tehura.co.nz> (raw)
In-Reply-To: <a84e39290905310918j6f6fbccawb08cdfc6c73ce3f@mail.gmail.com>
> 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
It doesn't sound like in Emacs problem. Does
ldd /mnt/sda5/Programming/prg/src/prg
find libmisc.so?
What happens if you run gdb from the command line? If you start Emacs from
the desktop, LD_LIBRARY_PATH might not be set.
$MYPATH/prg/src and $MYPATH/misc/src look like src folders. It's usual to
to put executables and shared objects in bin and lib directories respectively.
--
Nick http://www.inet.net.nz/~nickrob
next prev parent reply other threads:[~2009-06-01 5:19 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-05-31 16:18 In emacs, gdb says "cannot open shared object file" Mihai Vasilian
2009-06-01 5:19 ` Nick Roberts [this message]
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=18979.25818.810590.678739@totara.tehura.co.nz \
--to=nickrob@snap.net.nz \
--cc=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.