The linked libraries are generally in/usr/lib and/lib. if you download a large library file, do you have to copy all the lib paths? in windows, you can add the PATH of the library to the PATH. Is that true for linux? The answer is yes. Switch to The etc directory, and there is a file named ld. so. conf. cat, there is only one line of deld. so
The linked libraries are generally in/usr/lib and/lib. if you download a large library file, do you have to copy all the lib paths? in windows, you can add the library PATH to the PATH
Not linux? The answer is yes.
Switch to The etc directory, which is named ld. so. conf file, cat, only one line is include ld. so. conf. d /*. conf, which means contain ld. so. conf. d directory. conf
And cd to the ls directory in ld. so. conf. d.
Find some conf files and find a cat.
There is only one row in it, which looks like a path. Yes, this specifies the path.
As a result, if we want to specify the so link path, it will be directly in the ld. so. conf. create a conf file in the d directory and write the file to the specified path.