doy / rbw

unofficial bitwarden cli
https://git.tozt.net/rbw
Other
611 stars 84 forks source link

Deb package linked against newer version of glibc #47

Closed alanchrt closed 3 years ago

alanchrt commented 3 years ago

I'm not totally sure how rust even compiles/links binaries, but I just noticed that on a fresh install of the *.deb release, I get the following:

rbw: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.33' not found (required by rbw)

I'm assuming this means rbw was built against glibc 2.33, and since I only have 2.31, it's failing at runtime?

❯ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 20.04.2 LTS
Release:        20.04
Codename:       focal
❯ dpkg -l | grep libc6
ii  libc6:amd64                                2.31-0ubuntu9.2                          amd64        GNU C Library: Shared libraries
ii  libc6:i386                                 2.31-0ubuntu9.2                          i386         GNU C Library: Shared libraries
ii  libc6-dbg:amd64                            2.31-0ubuntu9.2                          amd64        GNU C Library: detached debugging symbols
ii  libc6-dev:amd64                            2.31-0ubuntu9.2                          amd64        GNU C Library: Development Libraries and Header Files
doy commented 3 years ago

this should be fixed in version 1.2.0, and should hopefully stop happening in the future (i have moved to statically linked binaries to sidestep the whole glibc versioning issue entirely)