What should you do?

After installing some new programs, each time you want to start them you get the annoying error:

/usr/libexec/ld-elf.so.1: Shared object ‘libmysqlclient.so.10’ not found.

The ‘locate’ command confirms that you do have a file ‘libmysqlclient.so.10’ on your system. What should you do? (choose the best 2 answers)

After installing some new programs, each time you want to start them you get the annoying error:

/usr/libexec/ld-elf.so.1: Shared object ‘libmysqlclient.so.10’ not found.

The ‘locate’ command confirms that you do have a file ‘libmysqlclient.so.10’ on your system. What should you do? (choose the best 2 answers)

A.
Copy the file libmysqlclient.so.10 to where you installed the new programs

B.
Edit the file /etc/ld.so.conf

C.
Run the command ‘ldconfig’

D.
Run the command ‘ldd libmysqlclient.so.10’

Explanation:
ldconfig creates the necessary links and cache to the most recent shared libraries found in the directories specified on the command line, in the file /etc/ld.so.conf, and in the trusted directories (/lib and /usr/lib). The cache is used by the run-time linker, ld.so or ld-linux.so. ldconfig checks the header and filenames of the libraries it encounters when determining which versions should have their links updated.



Leave a Reply 0

Your email address will not be published. Required fields are marked *