How to set the LD_LIBRARY_PATH variable in Linux to 'pwd' and what is pwd ( JNI Example )?

  • I do not think this is a productive idea. - avp

1 answer 1

pwd - shell Print Working Directory command, gives the current directory to stdout . In bash/sh

  exprot LD_LIBRARY_PATH LD_LIBRARY_PATH=`pwd` 

In bash you can

  export LD_LIBRARY_PATH=$(pwd)