Add a line of usrlocalmysqllib under etcld. so. conf and save it to ldconfig. The new library can be found when the program is running. To share the dynamic link library with the system, you also need to run the ldconfigldconfig command, which is mainly used in the default search directory (lib and usrlib) and
Add a/usr/local/mysql/lib line under/etc/ld. so. conf and save it to ldconfig. The new library can be found during the process.
To share the dynamic link library with the system, you also need to manage the dynamic link library.Command-- Ldconfig
The ldconfig command is mainly used in the default search directory (/lib and/usr/lib) and dynamic library configuration file/etc/ld. so. find the shared dynamic link library under the directory listed in conf (format as described earlier, lib *. so *) to create a dynamic loader (ld. so) the required connection and cache file. the default cached file is/etc/ld. so. cache. This file stores the list of Dynamic Linked Library names in the sorted order.