The Cookie Machine - Click here to drag window

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

Views: 12,734     Votes:  6 
Tags: environment-variables   matlab   paths   boost  
Link: 🔍 See Original Answer on Ask Ubuntu 🔗

Title: Set LD_LIBRARY_PATH correctly
ID: /2018/08/19/Set-LD_LIBRARY_PATH-correctly
Created: August 19, 2018
Upload: November 24, 2022    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/

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


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?  ⇩