fanchunke / chatgpt-wecom

企业微信接入 GPT3
MIT License
352 stars 97 forks source link

warning: Using 'dlopen' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking #21

Open Jas0nxlee opened 1 year ago

Jas0nxlee commented 1 year ago

github.com/fanchunke/chatgpt-wecom/cmd/app

/usr/bin/ld: /tmp/go-link-3718870333/000010.o: in function unixDlOpen': /go/pkg/mod/github.com/mattn/go-sqlite3@v1.14.16/sqlite3-binding.c:42050: warning: Using 'dlopen' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking /usr/bin/ld: /tmp/go-link-3718870333/000016.o: in function_cgo_6cc2654a8ed3_C2func_getaddrinfo': /tmp/go-build/cgo-gcc-prolog:58: warning: Using 'getaddrinfo' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking

fanchunke commented 1 year ago

@Jas0nxlee 这是在什么阶段报的错误

Jas0nxlee commented 1 year ago

@Jas0nxlee 这是在什么阶段报的错误

building阶段

Jas0nxlee commented 1 year ago

docker-compose up -d --build

fanchunke commented 1 year ago

@Jas0nxlee 麻烦告知一下在什么环境执行 docker-compose up -d --build 的吗?是build不成功对吗,单独执行 docker-compose build

Jas0nxlee commented 1 year ago

centos8.5 build能够完成,但是sqlite无法使用,mysql不受影响。