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

QT practicals files

Temporarily Available: Click below to download|||||||||||

List and explain all NFS server commands.

65.List and explain all NFS server commands. Ans. 1. exportfs: a) The exportfs command enables user to manipulate the list of current exports without editing /etc/exports. b) It also maintains the list of currently exported file system in /var/lib/nfs/etab. Example: The exportfs –a command initializes /var/lib/nfs/etab, synchronizes it with the contents of /etc/exports. c) To add a new export to etab and also /etc/exports the syntax is : #exportfs –o opts hostdir d) Example: #exportfs –o sync,rw 192.168.166.7:/demo The above command exports the directory /demo to client 192.168.166.7 with export option rw and sync. e) –v option of this command, lists currently exported filesystem. Example: #exportfs –v f) –u options unexports the filesystem as follow: Example: #exportfs –u 192.168.166.7:/demo 2. showmount: a) The showmount command provides information about clients and the file systems they have mounted. b) Syntax is : #showmount [-advhe] [host] ...

Java Program solutions

Temporarily Available: Click below to download...