-
Notifications
You must be signed in to change notification settings - Fork 29
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
Compiling statically causes core dump related to 'getaddrinfo' #3
Comments
Have you installed the dependencies correctly? Check if you have the static binaries by running this command: Then if you could reply with the response, that would be amazing, thank you. As we can see: network.c within toxcore. It should take in a hostname and then return |
I managed to replicate what I assume has happened here:
It appears that you have tried using the following flags to compile the payload. |
I am using arch linux so I installed c-toxcore manually and community/toxcore. Once I had done that I also manually build libsodium to get the .a file, after that I changed the paths it references for the .a files to |
|
All I did to get it building statically was to add |
Adding Or have you compiled it yourself because Also, be sure too pull the latest code, this is being cleaned up actively. Check if the latest gcc command within generate works 😁
|
No no no lol. The issue hasn't gone away. But yes I have been editing generate.go directly. Will try the new update asap and get back to you. Do you know how this issue with static linking could be fixed potentially? |
New compiler options work perfectly although we still have the issue of it having issues because of getaddrinfo.
|
Do you have Discord? If so, it would be an enormous help, so people do not run into this issue and I can implement a solution for Arch users: https://discord.gg/pentest You had mentioned that you managed to compile the payload previously:
As for the
It is a problem with libc... 😕 I will see and look into solutions.
However, I will test other operating systems and distros at some point. |
The text was updated successfully, but these errors were encountered: