Quantcast
Channel: Nginx Forum - Nginx Mailing List - English
Viewing all articles
Browse latest Browse all 7229

How can i compile nginx with specific lib linkage (1 reply)

$
0
0
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' "

Viewing all articles
Browse latest Browse all 7229

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>