Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
julianwap opened this issue May 10, 2023 · 3 comments
Open

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

julianwap opened this issue May 10, 2023 · 3 comments
Labels

Comments

@julianwap
Copy link

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

Copy link

Stale issue message

@Dup4
Copy link

Dup4 commented Feb 2, 2024

same here and it works for me

@Dragroo
Copy link

Dragroo commented Jul 15, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants