proxychains-ng icon indicating copy to clipboard operation
proxychains-ng copied to clipboard

GLIBC version incorrect

Open Myakot opened this issue 1 year ago • 2 comments

Hello, I am trying to use proxychains4 to launch discord app and encountering a GLIBC error.

$ ldd --version ldd (Ubuntu GLIBC 2.39-0ubuntu8.3) 2.39

$ proxychains4 discord

[proxychains] config file found: /usr/local/etc/proxychains.conf
[proxychains] preloading /usr/local/lib/libproxychains4.so
[proxychains] DLL init: proxychains-ng 4.17
discord: /snap/snapd/current/usr/lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.38' not found (required by /usr/local/lib/libproxychains4.so)

As far as I understood, reading documentation all around the Internet, I have to either:

  • recompile libproxychains with a newer version of GLIBC (have no idea how to do that)
  • downgrade my system's GLIBC (which seems like suicide)
  • download an outdated GLIBC_2.38 and hide it somewhere, then launch libproxychains with LD_LIBRARY_PATH='path-to-2.38'

I ask for assistance.

Myakot avatar Oct 08 '24 12:10 Myakot

recompile libproxychains with a newer version of GLIBC (have no idea how to do that)

sounds more like the opposite. build proxychains-ng against an older glibc version (for example with a virtual machine, container, rootfs, etc containing something like ubuntu 20.04 or older)...

but:

discord: /snap/snapd

i've never tested "snaps", but afaik these are containerized environments, and it is likely that proxychains won't work with it anyways. in that case you'd somehow have to extract the snap contents and run the main binary directly - in which case your host glibc should be used instead of the one in the container. or get a non-snap version of discord. you could also try to overwrite the libc.so.6 insider the container package with the one on your disk.

rofl0r avatar Oct 08 '24 20:10 rofl0r