[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
In emacs, gdb says "cannot open shared object file"
From: |
Nick Roberts |
Subject: |
In emacs, gdb says "cannot open shared object file" |
Date: |
Mon, 1 Jun 2009 17:19:22 +1200 |
> 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