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. LFS230 Linux Network Management
    06 Oct » 09 Oct - Virtual
    Details
  2. LFS416 Linux Security
    06 Oct » 09 Oct - Washington
    Details
  3. LFD331 Developing Linux Device Drivers
    13 Oct » 17 Oct - Virtual
    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