proxychains icon indicating copy to clipboard operation
proxychains copied to clipboard

proxychains doesn't run after compiling (libdl.so)

Open julianwap opened this issue 1 year ago • 3 comments

Hi!

I encountered a problem after compiling proxychains4 on my Debian 11 VM. I compiled the newest source with "./configure && make && make install" and tested with "proxychains4 ping" and got the result: [proxychains] config file found: /etc/proxychains.conf [proxychains] preloading /usr/local/lib/libproxychains4.so [proxychains] DLL init ping: symbol lookup error: /usr/local/lib/libproxychains4.so: undefined symbol: dlsym

After googling for a bit I found this thread: https://stackoverflow.com/questions/27607130/undefined-reference-to-dlsym-and-dlopen?rq=1

I fixed the problem and got a working libproxychains4.so by changing "./configure" script line 108 from echo OS_LDFLAGS=-pthread -ldl -Wl,--no-as-needed>>config.mak to echo OS_LDFLAGS=-pthread -Wl,--no-as-needed -ldl>>config.mak as suggested in the thread. (And "make clean&&configure&&make&&make install")

Is there a reason the configure-script contains the arguments in this order and not the (for me) working one or can this be changed?

Julian

julianwap avatar May 10 '23 20:05 julianwap

Stale issue message

github-actions[bot] avatar Dec 29 '23 03:12 github-actions[bot]

same here and it works for me

Dup4 avatar Feb 02 '24 07:02 Dup4

It also works for "proxychains git", thank u.

Dragroo avatar Jul 15 '24 11:07 Dragroo