📎 AI Summary:
The thread discusses how to permanently set the LD_LIBRARY_PATH environment variable in a Linux environment. The original poster attempts to set it using commands and editing `.bash_profile` but finds the changes do not persist after restarting the terminal. A responder suggests referencing relevant documentation to resolve similar issues, implying that proper configuration or alternative methods might be necessary. The overall sentiment indicates a continued troubleshooting effort regarding environment variable persistence.

kiransam

New Member
Joined
Dec 8, 2020
Messages
2
Thread Author #1
I have first executed the command: export

LD_LIBRARY_PATH=/usr/local/lib
Then I have opened .bash_profile file: vi ~/.bash_profile. In this file, I put:

LD_LIBRARY_PATH=/usr/local/lib
export LD_LIBRARY_PATH
Then if the terminal is closed and restarted,

echo $LD_LIBRARY_PATH
Typing displays no result. How to set the path permanently

I got one solution in this site Data Analytics Certification
 

Last edited by a moderator: