37.Write a note on ‘ld.so.conf’ file.
Ans.
1. This configuration file is used by ‘ldconfig’, which configures dynamic linker runtime bindings.
2. It contains a listing of directories that hold shared libraries.
3. Shared library files typically end with ‘.’ So, whereas static library files typically end with ‘.a’, indicating they are an archive of objects.
4. We need to edit the file if we have installed a program that has installed a shared library to a different library directory that is not listed in the ‘ld.so.conf’ file.
5. In this case we will get an error at runtime that library does not exists.
Ans.
1. This configuration file is used by ‘ldconfig’, which configures dynamic linker runtime bindings.
2. It contains a listing of directories that hold shared libraries.
3. Shared library files typically end with ‘.’ So, whereas static library files typically end with ‘.a’, indicating they are an archive of objects.
4. We need to edit the file if we have installed a program that has installed a shared library to a different library directory that is not listed in the ‘ld.so.conf’ file.
5. In this case we will get an error at runtime that library does not exists.
Comments
Post a Comment