[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [ns] error while loading shared libraries: libintl.so.1
> rice:/tmp/ns-allinone-2.1b8a/bin> ./ns
> ./ns: error while loading shared libraries:
> libintl.so.1: cannot load shared object file: No such file or directory
> rice:/tmp/ns-allinone-2.1b8a/bin> ./nam
> ./nam: error while loading shared libraries:
> libintl.so.1: cannot load shared object file: No such file or directory
If you're on a Linux or Solaris system, you can set your LD_LIBRARY_PATH
environment variable to point to the directory containing the shared
libraries.
For example,
export LD_LIBRARY_PATH=/path/to/ns/lib (Bourne shell syntax)
or setenv LD_LIBRARY_PATH /path/to/ns/lib (C shell syntax)
If you don't want to have to set your LD_LIBRARY_PATH environment variable
when running the program, you can cause the linker to embed the path
directly into the executable. You can do this by setting your LD_RUN_PATH
environment variable before compiling the program:
export LD_RUN_PATH=/path/to/ns/lib
make
--
Tim Buchheim