FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Debian > Debian User

 
 
LinkBack Thread Tools
 
Old 04-17-2012, 08:07 PM
Cplusplus Programmer
 
Default ld.so.conf.d and ld.so.conf

Hello All,

I want to make a C++ program which needs also a few share libraries (.so files). My libraries I want to put for example in a directory /home/myUsername/lib. Where do I need to put the path to my libraries so that it can be found by the program. I have seen that I can use ld.so.conf. But I was wondering what the difference is between ld.so.conf and ld.so.conf.d. Why is ld.so.conf.d needed if we already have ls.so.conf ? Is it possible to remove the ls.so.conf and put only files to the ld.so.conf directory ? Is the ld.so.conf file really needed ? I ask this because I saw on a machine with debian linux that I could not find the ld.so.conf file, but I do find the ls.so.conf.d directory with *.conf files in it. Does ldconfig automatically go through all .conf files in the /etc/ld.so.conf.d directory ?


regards,

c++programmer
 

Thread Tools




All times are GMT. The time now is 02:27 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org