532810439 commented on issue #5827:
URL: https://github.com/apache/apisix/issues/5827#issuecomment-995476134


   now,I don't want to use OpenSSL。
   
   wget  https://downloads.apache.org/apisix/2.7/apache-apisix-2.7-src.tgz
   
   Report the same error  
   
   
   [error] 120522#0: init_worker_by_lua error: 
./apisix/plugins/prometheus/exporter.lua:17: module 'prometheus' not found:
   no field package.preload['prometheus']
   no file '/home/cicv/apisix-release-2.7//deps/share/lua/5.1/prometheus.lua'
   no file 
'/home/cicv/apisix-release-2.7//deps/share/lua/5.1/prometheus/init.lua'
   no file '/home/cicv/apisix-release-2.7/prometheus.lua'
   no file '/home/cicv/apisix-release-2.7/prometheus/init.lua'
   no file '/usr/local/openresty/site/lualib/prometheus.ljbc'
   no file '/usr/local/openresty/site/lualib/prometheus/init.ljbc'
   no file '/usr/local/openresty/lualib/prometheus.ljbc'
   no file '/usr/local/openresty/lualib/prometheus/init.ljbc'
   no file '/usr/local/openresty/site/lualib/prometheus.lua'
   no file '/usr/local/openresty/site/lualib/prometheus/init.lua'
   no file '/usr/local/openresty/lualib/prometheus.lua'
   no file '/usr/local/openresty/lualib/prometheus/init.lua'
   no file './prometheus.lua'
   no file '/usr/local/openresty/luajit/share/luajit-2.1.0-beta3/prometheus.lua'
   no file '/usr/local/share/lua/5.1/prometheus.lua'
   no file '/usr/local/share/lua/5.1/prometheus/init.lua'
   no file '/usr/local/openresty/luajit/share/lua/5.1/prometheus.lua'
   no file '/usr/local/openresty/luajit/share/lua/5.1/prometheus/init.lua'
   no file './prometheus.lua'
   no file '/usr/share/lua/5.1/prometheus.lua'
   no file '/usr/share/lua/5.1/prometheus/init.lua'
   no file '/usr/lib64/lua/5.1/prometheus.lua'
   no file '/usr/lib64/lua/5.1/prometheus/init.lua'
   no file '/home/cicv/apisix-release-2.7//deps/lib64/lua/5.1/prometheus.so'
   no file '/home/cicv/apisix-release-2.7//deps/lib/lua/5.1/prometheus.so'
   no file '/usr/local/openresty/site/lualib/prometheus.so'
   no file '/usr/local/openresty/lualib/prometheus.so'
   no file './prometheus.so'
   no file '/usr/local/lib/lua/5.1/prometheus.so'
   no file '/usr/local/openresty/luajit/lib/lua/5.1/prometheus.so'
   no file '/usr/local/lib/lua/5.1/loadall.so'
   no file './prometheus.so'
   no file '/usr/lib64/lua/5.1/prometheus.so'
   no file '/usr/lib64/lua/5.1/


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to