requesting an alpine linux client

Open
#22,757 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
35/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Stale
Tech stack
c, linux

Research direction

Start by reproducing the taos client 3.1.0.0 installation and runtime errors on Alpine 3.16 and 3.18, then inspect the client package's runtime dependencies and libc/libstdc++ compatibility. Done means an Alpine client can run without the reported libstdc++ version warnings or the glibc compatibility relink error.

Written by the indexing model from the issue text.

Description

enhancement

现在为了缩小容器镜像大小,好多采用alpine作为基础镜像的。但是我在使用alpine3.16和3.18镜像,安装taos客户端3.1.0.0的时候,发现以下报错,看起来是版本问题,我看了下正常运行的环境,libstdc++ 3.x版本能运行,这个alpine镜像自带的是6.x的版本了

taos: /usr/lib/libstdc++.so.6: no version information available (required by /usr/lib/libtaos.so.1)
taos: /usr/lib/libstdc++.so.6: no version information available (required by /usr/lib/libtaos.so.1)
taos: /usr/lib/libstdc++.so.6: no version information available (required by /usr/lib/libtaos.so.1)
taos: /usr/lib/libstdc++.so.6: no version information available (required by /usr/lib/libtaos.so.1)
taos: /usr/lib/libstdc++.so.6: no version information available (required by /usr/lib/libtaos.so.1)
taos: /usr/lib/libstdc++.so.6: no version information available (required by /usr/lib/libtaos.so.1)
taos: /usr/lib/libstdc++.so.6: no version information available (required by /usr/lib/libtaos.so.1)
taos: /usr/lib/libstdc++.so.6: no version information available (required by /usr/lib/libtaos.so.1)
taos: /usr/lib/libstdc++.so.6: no version information available (required by /usr/local/lib/libjemalloc.so.2)
taos: /usr/lib/libstdc++.so.6: no version information available (required by /usr/local/lib/libjemalloc.so.2)
taos: /usr/lib/libstdc++.so.6: no version information available (required by /usr/local/lib/libjemalloc.so.2)
taos: Relink `/usr/lib/libstdc++.so.6' with `/usr/glibc-compat/lib/librt.so.1' for IFUNC symbol `clock_gettime'
Dominant language
C
Stars
25.1k
Forks
5k
Avg merge
4d 59m
Merged PRs (30d)
7

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from taosdata/TDengine

All issues in taosdata/TDengine

Similar issues

More C issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.