[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [ns] ns install problem on Linux6.2-shared lib
on csh/tcsh, do:
setenv LD... ...
on sh/bash, do:
export LD..=...
On Thu, 23 Nov 2000, Paavan wrote:
> Hi,
>
> i'm trying to install ns2 on Linux 6.2 and i'm getting the following
> problem. I looked up http://www.isi.edu/nsnam/ns/ns-problems.html#general
> and found the following solution. but i don't know how exactly to apply
> it. I've set the environment library path using:
>
> %set LD_LIBRARY_PATH=<path of library>
>
> But this doesn't work.
> ***********************************************
> Problem: Things built OK but don't run because of missing shared libraries
> (for example, you get the message "can't load library 'libtk8.3.so'" or
> "fatal: libtk8.3.so: can't open file: errno=2" [from Solaris]) or
> "libotcl.so can not open shared object file: No such file or directory".
> Solution: Many systems require that you do something special when
> installing new shared libraries. Shared-library loading is
> system-dependent, so consult the man page for ld(1) on your system. On many
> systems the program ``ldd'' can be used to diagnose shared-libary problems.
> A couple of hints: many systems require that you set the environment
> LD_LIBRARY_PATH to specify where to look for shared libraries. Other
> systems require that you run ldconfig when using new libraries
> ************************************************
>
> How 2 implement ld or ldd ?
> Thanks for help.
>
> Paavan.
>
>