I am using Ubuntu 16. I want to use cfmid for my project. When I set LD_LIBRARY_PATH in terminal, I can get output of the cfmid library:
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/home/lclab/installed/boost/boost_1_65_0:/home/lclab/installed/rdkit/rdkit-Release_2016_03_1/lib:/home/lclab/installed/lp/lp_solve_5.5.2.5_dev_ux64
But, when I close the terminal session and open a new one, I want to add LD_LIBRARY_PATH again.
How can I set this permanently?
LD_LIBRARY_PATHin~/.pam_environmentand was always unset after reboot. The first solution solved it. (replaceuse-ssh-agentbyno-use-ssh-agentin/etc/X11/Xsession.options) – Daniel Jul 11 '19 at 19:45