LPI
202-400 · Question #44
A program, called vsftpd, running in a chroot jail, is giving the following error: /bin/vsftpd: error while loading shared libraries: libc.so.6: cannot open shared object file: No such file or…
The correct answer is A. Get the vsftp source code and compile it statically. D. Copy the required library to the appropriate lib directory in the chroot jail. See the full explanation below for the reasoning.
Question
A program, called vsftpd, running in a chroot jail, is giving the following error: /bin/vsftpd: error while loading shared libraries: libc.so.6: cannot open shared object file: No such file or directory. Which TWO of the following are possible solutions?
Options
- AGet the vsftp source code and compile it statically.
- BThe file /etc/ld.so.conf must contain the path to the appropriate lib directory in the chroot jail.
- CCreate a symbolic link that points to the required library outside the chroot jail.
- DCopy the required library to the appropriate lib directory in the chroot jail.
- ERun the program using the command chroot and the option -static_libs.
How the community answered
(24 responses)- A71% (17)
- B8% (2)
- C4% (1)
- E17% (4)
Community Discussion
No community discussion yet for this question.