Linux.com

Home Linux Community Community Blogs Distributions To add new library path in ubuntu 10.10

To add new library path in ubuntu 10.10

To add new library path, create new file in /etc/ld.so.conf.d folder and open it in your favorite editor

$ sudo gedit /etc/ld.so.conf.d/newlib.conf


Add the path to file and save it

/path/to/new/lib


Run 'ldconfig' to update the necessary links and cache

$ sudo ldconfig

 

 

Comments

Subscribe to Comments Feed

Upcoming Linux Foundation Courses

  1. LFS201 Essentials of System Administration
    12 Jan » 30 Mar - Online Self-Paced
    Details
  2. LFD331 Developing Linux Device Drivers
    01 Jun » 05 Jun - Virtual (GUARANTEED TO RUN)
    Details
  3. LFD320 Linux Kernel Internals and Debugging
    08 Jun » 12 Jun - San Jose - CA + Virtual (GUARANTEED TO RUN)
    Details

View All Upcoming Courses


Who we are ?

The Linux Foundation is a non-profit consortium dedicated to the growth of Linux.

More About the foundation...

Frequent Questions

Join / Linux Training / Board