vipergc commented on issue #7960:
URL: https://github.com/apache/trafficserver/issues/7960#issuecomment-865452563


   > What version of ATS you are using?
   > 
   > Anyway, we recommend to use luajit with ATS for the plugin. In 7.x luajit 
is part of the binary and in 8.x and beyond, the ATS lua plugin is compiled 
only with luajit is found in the system.
   > 
   > For luasocket to work with luajit, you need to compile that accordingly . 
This is what i do
   > 
   > e.g.
   > 
   > ```
   > curl -R -O http://luajit.org/download/LuaJIT-2.1.0-beta3.tar.gz && \
   > tar zxf LuaJIT-2.1.0-beta3.tar.gz && \
   > cd LuaJIT-2.1.0-beta3 && \
   > make && \
   > sudo make install
   > 
   > wget https://github.com/diegonehab/luasocket/archive/v3.0-rc1.tar.gz && \
   > tar zvf v3.0-rc1.tar.gz && \
   > cd luasocket-3.0-rc1 && \
   > sed -i "s/LDFLAGS_linux=-O -shared -fpic -o/LDFLAGS_linux=-O -shared -fpic 
-L\/usr\/lib -lluajit-5.1 -o/" src/makefile && \
   > ln -sf /usr/lib/libluajit-5.1.so.2.1.0 /usr/lib/libluajit-5.1.so && \
   > make && \
   > sudo make install-unix
   > ```
   
   What is the ATS? Do you have download link?


-- 
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.

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


Reply via email to