PandasWS / Pandas

熊猫模拟器 - 基于 rAthena 构建的中文仙境传说模拟器(欢迎加入QQ交流群:928171346)
https://pandas.ws
GNU General Public License v3.0
8 stars 2 forks source link

Failed to open curl lib from binary, use libcurl.so instead #627

Closed lm884612 closed 2 years ago

lm884612 commented 2 years ago

缺陷描述

想用Ubuntu18.04来启动测试,编译完成之后结果就出现这个提示。 于是分别安装了 libcurl4-nss-dev libcurl4-gnutls-dev libcurl4-openssl-dev 这些包,但是都没有用。

重现步骤

1.环境Ubuntu18.04 2.编译完成+设置好数据库 3../athena-start start 然后map-server跑到这个位置的时候就报错了 [Status]: Done reading '1453' entries in 'db/re/skill_db.yml' (took 92 milliseconds) [Status]: Done reading '158' entries in 'db/re/skill_nocast_db.txt'. Failed to open curl lib from binary, use libcurl.so instead

预期结果

No response

操作系统

Linux 发行版

工作模式

全部 (Both)

熊猫模拟器版本号

v1.1.14

适配的客户端版本

20211107

是否为原生缺陷

我没有尝试过

代码提交散列

No response

备注

No response

CairoLee commented 2 years ago

提示 curl 本身不是问题,他可以被解决。 这个地方应该是程序报错崩溃了,这才是我们需要关心的主要原因。

方便提供一下 locale 的返回值么?我想看一下您 linux 系统语言的配置是什么样子的

lm884612 commented 2 years ago

你好,信息如下:

Linux ubuntu_1804 4.15.0-189-generic #200-Ubuntu SMP Wed Jun 22 19:53:37 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux

LANG=en_US.UTF-8 LANGUAGE= LC_CTYPE="en_US.UTF-8" LC_NUMERIC="en_US.UTF-8" LC_TIME="en_US.UTF-8" LC_COLLATE="en_US.UTF-8" LC_MONETARY="en_US.UTF-8" LC_MESSAGES="en_US.UTF-8" LC_PAPER="en_US.UTF-8" LC_NAME="en_US.UTF-8" LC_ADDRESS="en_US.UTF-8" LC_TELEPHONE="en_US.UTF-8" LC_MEASUREMENT="en_US.UTF-8" LC_IDENTIFICATION="en_US.UTF-8" LC_ALL=

Ruisi-Lu commented 2 years ago

相同的問題發生在map-server

重現步驟

  1. Docker build & deploy 將編譯後的可執行檔複製到乾淨容器內deploy
    
    FROM ubuntu:18.04 AS build
    WORKDIR /build
    RUN apt update -y
    RUN apt install make libmysqlclient-dev musl python3-dev build-essential wget -y
    RUN  wget https://github.com/Kitware/CMake/releases/download/v3.16.0-rc1/cmake-3.16.0-rc1.tar.gz \
    && tar -xzvf cmake-3.16.0-rc1.tar.gz \
    && cd cmake-3.16.0-rc1 \
    && ./bootstrap && make -j4 && make install
    COPY 3rdparty ./3rdparty
    WORKDIR /build/3rdparty/boost
    RUN sh ./bootstrap.sh && ./b2
    WORKDIR /build
    COPY src ./src
    COPY CMakeLists.txt ./
    COPY LICENSE ./
    WORKDIR /build/cbuild
    RUN cmake -G "Unix Makefiles" ..
    CMD sh
    RUN make

FROM ubuntu:18.04 AS map WORKDIR /app COPY --from=build /build/map-server ./ RUN apt update -y RUN apt install libmysqlclient-dev -y RUN apt-get clean autoclean && apt-get autoremove -y && rm -rf /var/lib/{apt,dpkg,cache,log}/ ENTRYPOINT ["./map-server"]

## 錯誤訊息

Failed to open curl lib from binary, use libcurl.so instead


The program has stopped working. We are very apologetic about this. We created a crash dump file and written into the following location: dumps/d0892ce4-4019-415a-68dc57a4-0615b8a7.dmp


This is a modified version, please analysis the crashdump by yourself.



## 操作系統
Docker image : ubuntu:18.04
## 熊猫模拟器版本号
1.1.16
CairoLee commented 2 years ago

问题已明确

解决方案

测试通过的方法

后续举措

Ruisi-Lu commented 2 years ago

Docker image : ubuntu:20.04 版本: 1.1.17 測試正常