Shared libraries and the dynamic linker
Lesson 3 of 6 in objective 102. Linux installation and package management, part of LPIC-1 Exam 101-500.
- Objective
- 102. Linux installation and package management
- Share of the exam
- 18.33% (the whole objective)
- Questions in this lesson
- 4
- Signed for by a person
- 0
Partly checked. None of the 4 questions here has been read against the cited source by a person. 4 questions have been checked against their cited clause by an automated pass — which is not the same thing, and is not a signature.
Only questions a person has signed for are used in mock exams here. That is the whole difference between the two kinds of checking above.
Questions in this lesson
- A program fails to start with an error about a missing shared object. Type the command that prints the shared libraries the binary /usr/bin/ssh depends on, and shows which file each one currently resolves to. machine-checked
- You installed a vendor application whose shared libraries live in /opt/vendor/lib. You added a line containing that directory to /etc/ld.so.conf.d/vendor.conf, but programs still cannot find the libraries. What is the missing step? machine-checked
- You have just edited /etc/ld.so.conf.d/local.conf to add a library directory. Type the command (no options or arguments) that rebuilds the dynamic linker cache so the change takes effect system-wide. machine-checked
- A developer wants to test a single program against a private build of a library in ~/testlib, without changing anything system-wide or affecting other users. What is the appropriate mechanism? machine-checked
Drill this lesson
A lesson is one sitting: the trainer draws a short run from these questions alone and spaces the ones you get wrong.
Practise Shared libraries and the dynamic linker
The rest of objective 102
- Planning a disk layout
- Installing and configuring a boot manager
- Shared libraries and the dynamic linker — you are here
- Debian package management
- RPM and DNF package management, and virtual guests
- Running Linux as a virtualization guest