How can i compile nginx with specific lib linkage

humank nginx-forum at nginx.us
Fri Jan 24 04:35:44 UTC 2014


I have customized a new nginx add on module,and the module use an external
lib ( mytest.so).
The method i called in mytest.so is kimtest method.
How can i configure the ./configure file and Makefile to prevent the error "
 undefined reference to `kimtest' "

Here is the configure file..

auto/configure --with-debug --with-ld-opt="-L/usr/local/lib64"
--add-module=./src/my_nginx_module

while configuring .. everything seems ok, no error occurs.
but while making ... "  undefined reference to `kimtest' "

Posted at Nginx Forum: http://forum.nginx.org/read.php?2,246770,246770#msg-246770



More information about the nginx mailing list