Whenever a program loads and prepares to run, the shared libraries it needs are
sought in the following places:
■ Each of the directori……
[/Quote]
动态库找的到,是库里的函数找不到
Whenever a program loads and prepares to run, the shared libraries it needs are
sought in the following places:
■ Each of the directories listed in the colon-separated list in the environment
variable LD_LIBRARY_PATH
■ The list of libraries found in the file /etc/ld.so.cache, which is maintained
by the ldconfig utility
■ The directory /lib
■ The directory /usr/lib