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’ "
i solved the problem as you provided solution.
But i face another problem, that is while starting the nginx server,
still lack of the library at runtime.
I should set the LIBRARY_PATH in order to start the nginx correctly.
(
export LD_LIBRARY_PATH)
Is there any suggestion or setting to set the install config ?
BRs,
Kim
Posted at Nginx Forum:
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.