ddd
[Top][All Lists]
Advanced

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

Re: installation problem


From: Gilles J. Seguin
Subject: Re: installation problem
Date: 02 Sep 2002 14:50:13 -0400

On Wed, 2002-08-28 at 15:34, Asif Mohamed - CTD, Chennai. wrote:
> Hi,
>    I am trying to install ddd 3.3 on  my linux machine..and i get the
> following error...
> 
> ddd: error in loading shared libraries: libXm.so.3: cannot open shared
> object file: No such file or directory..

First check if the run time loader is finding the shared library
$ /sbin/ldconfig -p | grep libXm.so
        libXm.so.3 (libc6) => /usr/X11R6/lib/libXm.so.3
        libXm.so (libc6) => /usr/X11R6/lib/libXm.so

if the previous command does not work,
we need to verify if /etc/ld.so.conf is configure correctly

We suppose that openmotif is already installed
$ rpm -ql openmotif | grep libXm
/usr/X11R6/lib/libXm.so.3
/usr/X11R6/lib/libXm.so.3.0.1

This is telling us that /etc/ld.so.conf must have the path
/usr/X11R6/lib
$ cat /etc/ld.so.conf
/usr/X11R6/lib
/usr/kerberos/lib
...

After adding the path do
$ su -c ldconfig

have fun





reply via email to

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