I have first executed the command: export LD_LIBRARY_PATH=/usr/local/lib then export LD_LIBRARY_PATH=/usr/local/lib
Then I havhave opened .bash_profile.bash_profile file: vi ~/.bash_profile vi ~/.bash_profile. In this file, I wroteput: LD_LIBRARY_PATH=/usr/local/lib export LD_LIBRARY_PATH and saved it. Then
LD_LIBRARY_PATH=/usr/local/lib export LD_LIBRARY_PATH Then if the terminal is closed and then again restarted and type echo $LD_LIBRARY_PATH, typing echo $LD_LIBRARY_PATH displays no result is displayed.
Where is the error and howHow to set the path permanently? Thanks in advance