我正在尝试使用lua-openssl构建一个开放的高山图像,如下所示
FROM openresty/openresty:alpine-fat
# Set the version
ENV RESTY_CONFIG_OPTIONS_MORE "--with-ngx_http_ssl_module"
EXPOSE 80
EXPOSE 443
RUN ls /usr/local/openresty/nginx/logs
COPY lualib /usr/local/openresty/nginx/lualib
RUN chown -R nobody:root /usr/local/openresty/nginx/lualib
RUN apk add --update \
openssl openssl-dev \
lua5.3 luajit-dev lua-socket \
git
RUN git clone https://github.com/zhaozg/lua-openssl.git /usr/local/lua-openssl; \
cd /usr/local/lua-openssl; \
git checkout e923252b28cff43add6382853cc85ed888c4474b; \
make
但我得到了下面的一个和很多这样的错误:
/usr/local/lua-openssl/deps/lua-compat/c-api/compat-5.3.c:74:对strerror_s' ./libopenssl.a(compat.o):/usr/local/lua-openssl/deps/lua-compat/c-api/compat-5.3.c:74: more undefined references to
的未定义引用53_
‘:
strerror_s' ./libopenssl.a(cms.o): In function
对strerror_s' ./libopenssl.a(compat.o):/usr/local/lua-openssl/deps/lua-compat/c-api/compat-5.3.c:74: more undefined references to
strerror_s的未定义引用’跟随collect2: error: ld返回1退出状态make:* Makefile:94: openssl.so Error 1
我是不是丢了一个包裹?
https://stackoverflow.com/questions/50519633
复制相似问题