TTS-Indian Languages

Monday, January 13, 2014

error while loading shared libraries: libtk8.4.so: cannot open shared object file: No such file or directory

Problem: On some Linux systems, launching oommf.tcl yields an error message of the form
error while loading shared libraries: libtk8.4.so: cannot open shared object file: No such file or directory
Solution: This typically happens because the libtk8.x.so (and libtcl8.x.so) files are installed in a directory not included in the ld.so runtime linker/loader search path. One way to fix this is to add that directory (say /usr/local/lib) to the LD_LIBRARY_PATH environment variable. For example, add
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib
to your ~/.bashrc file (bash shell users) or
setenv LD_LIBRARY_PATH ${LD_LIBRARY_PATH}:/usr/local/lib
to your ~/.cshrc file (csh or tcsh shell users). Another option is to modify the ld.so cache; see the ld.so and ldconfig man pages for details.

source: http://math.nist.gov/oommf/software-patchsets/oommf12a3/
pranaw at 11:11 PM No comments:
Share
‹
›
Home
View web version

Contributors

  • Shyamesh
  • Unknown
  • Unknown
  • pranaw
Powered by Blogger.