Penguin

Differences between version 3 and previous revision of CNotes.

Other diffs: Previous Major Revision, Previous Author, or view the Annotated Edit History

Newer page: version 3 Last edited on Saturday, June 23, 2007 12:37:33 pm by BenStaz Revert
Older page: version 2 Last edited on Saturday, June 23, 2007 12:29:53 pm by BenStaz Revert
@@ -3,8 +3,18 @@
 The list of directories to be searched is stored in the file ''/etc/ld.so.conf''. 
 Simply append your desired directory to this file. 
  
 *echo "/usr/local/lib" | sudo tee -a /etc/ld.so.conf 
+  
+Now run ''ldconfig -v''  
+  
+Note : ldconfig must be run whenever a DLL is added, when a DLL is removed, or when the set of DLL directories changes  
  
 !Which libraries is my system aware of? 
  
 *ldconfig -Nv 
+  
+!LD_LIBRARY_PATH environment variable.  
+  
+A colon-separated set of directories where libraries should be searched for first, before the standard set of directories.  
+  
+*export LD_LIBRARY_PATH="$LD_LIBRARY_PATH:/new/dir/to/add"