all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* In emacs, gdb says "cannot open shared object file"
@ 2009-05-31 16:18 Mihai Vasilian
  2009-06-01  5:19 ` Nick Roberts
  0 siblings, 1 reply; 4+ messages in thread
From: Mihai Vasilian @ 2009-05-31 16:18 UTC (permalink / raw)
  To: help-gnu-emacs

[-- 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 --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2009-06-02  7:14 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-05-31 16:18 In emacs, gdb says "cannot open shared object file" Mihai Vasilian
2009-06-01  5:19 ` Nick Roberts
2009-06-01  9:13   ` Mihai Vasilian
2009-06-02  7:14     ` Alberto Luaces

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.