Managing Shared Libraries Flashcards

1
Q

system library

A

collection of items, such as program functions

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

functions

A

self-contained code modules that perform a specific task within an applications

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

what are the two types of libraries that linux supports

A

static and dynamic

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

static libraries

A

copied into an application when it is compiled

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

dynamic libraries

A

library functions are copied into memory and bound to the application when the program is launched

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

what is the library naming convention

A

libLIBRARYNAME.so.VERSION

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

When a program is using a shared function, the system will search for the function’s library file in what specific order?

A
  1. LD_LIBRARY_PATH environmental variable; 2. Program’s PATH environmental variable; 3. /etc/ld.so.conf.d/ folder; 4. /etc/ld.so.conf file; 5. /lib/ and /user/lib/ folders
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

dynamic link loader

A

responsible for finding the program’s needed library functions

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

library cache

A

catalog of library directories and all the various libraries contained within them

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

ldconfig

A

library cache file

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

ldd

A

tracks down missing library files for an application

How well did you know this?
1
Not at all
2
3
4
5
Perfectly