ddd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: ddd error


From: Fred Ma
Subject: Re: ddd error
Date: Tue, 18 Mar 2003 15:11:27 -0500

address@hidden wrote:

> Date: 18 Mar 2003 16:10:20 +0100
> From: Gabriel <address@hidden>
> Subject: ddd error
> Hello,
>
> I keep on getting this error when running ddd :
>
> ddd: error while loading shared libraries: libncurses.so.4: cannot open
> shared object file: No such file or directory
>
> do you know why I get this? I checked on google, but i didn't find
> anything (no, really).
>
> Thank you,
>
> Gabriel

Hi, Gabriel,

I seem to recall having run into such a problem.
I think someone told me to check my environment
variable, LD_LIBRARY_PATH (often set in the shell
startup script e.g. .bashrc, .cshrc, or the like).
LD_LIBRARY_PATH should contain a bunch of
directories separated by colons (no spaces).
If none of those directories contain libncurses.so.4,
then you have to find the directory on your unix
system where the file resides, and append that
directory to LD_LIBRARY_PATH.  I seem to see
this libncurses thing alot, and I think it's commonly
used with unix, or X windows.  From my shallow
understanding of dynamic libraries, I think this
file contains precompiled functions that are
loaded at run time.  It looks like ddd makes use of
these functions (again, I think many apps make
use of this particular library, as the name keeps
popping up).  The thing I'm not sure about is whether
the .4 suffix represents a version.  Maybe the right
version isn't avaialble.

Fred

--
Fred Ma, address@hidden
Carleton University, Dept. of Electronics
1125 Colonel By Drive, Ottawa, Ontario
Canada, K1S 5B6







reply via email to

[Prev in Thread] Current Thread [Next in Thread]