Skip to main content

Write a note on ‘ld.so.conf’ file.

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.

Comments

Popular posts from this blog

Java,ES,QT practical files

All practical files: Click below to start download Uploaded on special request||||

Java Program solutions

Temporarily Available: Click below to download...

Explain how to configure DHCP client?

50.Explain how to configure DHCP client? Ans. 1. Before configuring DHCP, NIC should be configured properly and recognized by the system. 2. After that it’s easy to command system to use DHCP to obtain its IP information. 3. Configuring DHCP client involves following steps : a. Open the /etc/sysconfig/networkscripts/ifcfg-eth0 file. b. Find the line bootproto=static c. Change the static to dhcp. d. Save changes. e. Restart the network by issuing command ‘service network restart’, after that system will receive its IP information from the DHCP server.