----------------------------------------------------------------------
Libraries have been installed in:
/tmp/user/1000/xdebug/modules
If you ever happen to want to link against installed libraries
in a given directory, LIBDIR, you must either use libtool, and
specify the full pathname of the library, or use the '-LLIBDIR'
flag during linking and do at least one of the following:
- add LIBDIR to the 'LD_LIBRARY_PATH' environment variable
during execution
- add LIBDIR to the 'LD_RUN_PATH' environment variable
during linking
- use the '-Wl,-rpath -Wl,LIBDIR' linker flag
- have your system administrator add LIBDIR to '/etc/ld.so.conf'
See any operating system documentation about shared libraries for
more information, such as the ld(1) and ld.so(8) manual pages.
----------------------------------------------------------------------
所以答案是您想要.sowhich is modules(与 中的相同.libs,但后者是libtool实现细节)。
make install将其复制.so到目标目录中,这是由phpize(/usr/lib/php/20151012在我测试过的系统上)确定的 PHP API 目录。PHP 应该能够在那里自动获取它。
构建的最后一部分,由 运行
make
,明确告诉您库的安装位置:所以答案是您想要
.so
which ismodules
(与 中的相同.libs
,但后者是libtool
实现细节)。make install
将其复制.so
到目标目录中,这是由phpize
(/usr/lib/php/20151012
在我测试过的系统上)确定的 PHP API 目录。PHP 应该能够在那里自动获取它。所以实际上,如果您一直按照上游说明进行操作,则无需关心答案:
make install
做正确的事,使模块可用于您的 PHP 安装。