Everybody is good! I set up in the/etc/profile LD_LIBRARY_PATH values, is the dynamic library search path, as follows:
LD_LIBRARY_PATH=/opt/plugins/so/: $LD_LIBRARY_PATH
Then run: source/etc/profile, but no effect, or fail to load, so file
Environment: centos 7.8, x64
CodePudding user response:
List implementation main. Out procedures required libraries need to search path
LD_DEBUG=libs)/main) out
Clew cannot find a library in the program can view the search path
CodePudding user response:
LDD executable
Such as LDD ls
CodePudding user response:
reference 1/f, thyme Yang's reply: list implementation. The main out procedures required libraries need to search path LD_DEBUG=libs)/main) out Clew cannot find a library in the program can view the search path Can be specified using the export orders, but this is limited to the current process, I would like to permanently set, but by editing the/etc/profile to set up is not, I feel very confused, CodePudding user response:
refer to the second floor mouse_zhu response: LDD executable Such as LDD ls Edit the/etc/profile, LDD is a library to find! CodePudding user response:
This is bad to say, according to reason do not have what problem, you see LD_DEBUG=libs./the main out this order, in the process of search so what path search, the path must be without you in the path of the LD_LIBRARY_PATH, what else might be the problem