首页
学习
活动
专区
圈层
工具
发布
首页
学习
活动
专区
圈层
工具
MCP广场
社区首页 >问答首页 >在高山图像上构建lua-openssl时对`strerror_s的引用未定义

在高山图像上构建lua-openssl时对`strerror_s的引用未定义
EN

Stack Overflow用户
提问于 2018-05-25 07:42:41
回答 1查看 294关注 0票数 0

我正在尝试使用lua-openssl构建一个开放的高山图像,如下所示

代码语言:javascript
运行
复制
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 functionstrerror_s' ./libopenssl.a(compat.o):/usr/local/lua-openssl/deps/lua-compat/c-api/compat-5.3.c:74: more undefined references tostrerror_s的未定义引用’跟随collect2: error: ld返回1退出状态make:* Makefile:94: openssl.so Error 1

我是不是丢了一个包裹?

EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/50519633

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档