The Cookie Machine - Click here to drag window

DUMMY TEXT - Real text set in assets/js/theCookieMachine.js

If you can read me, I'm broken!

Views: 15,100     Votes:  7 
Tags: environment-variables   matlab   paths   boost  
Link: 🔍 See Original Answer on Ask Ubuntu ⧉ 🔗

URL: https://askubuntu.com/q/1066846
Title: Set LD_LIBRARY_PATH correctly
ID: /2018/08/19/Set-LD_LIBRARY_PATH-correctly
Created: August 19, 2018
Upload: April 28, 2024    Layout:  post
TOC: false    Navigation:  false    Copy to clipboard:  false


This Stack Exchange Q&A has various ways of setting LD_LIBRARY_PATH the top voted answer suggests this is the best way:

sudo -H gedit /etc/ld.so.conf.d/randomLibs.conf

inside the file you are supposed to write the complete path to the directory that contains all the libraries that you wish to add to the system, for example

/home/linux/myLocalLibs

remember to add only the path to the dir, not the full path for the file, all the libs inside that path will be automatically indexed.

Save and run sudo ldconfig to update the system with this libs.

⇧ How can I pin a specific document so I can access it easily and frequently? How to edit target path of broken symbolic link from GUI?  ⇩