rofl0r / proxychains-ng

proxychains ng (new generation) - a preloader which hooks calls to sockets in dynamically linked programs and redirects it through one or more socks/http proxies. continuation of the unmaintained proxychains project. the sf.net page is currently not updated, use releases from github release page instead.
http://sourceforge.net/projects/proxychains-ng/files
GNU General Public License v2.0
9.76k stars 1.08k forks source link

GLIBC version incorrect #583

Open Myakot opened 2 weeks ago

Myakot commented 2 weeks ago

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:

I ask for assistance.

rofl0r commented 1 week ago

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.