-
Notifications
You must be signed in to change notification settings - Fork 103
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 linked binaries not possible ? #54
Comments
I've tried to compile using your command line, and I get the same errors. Honestly I had never tried to build a statically linked sslproxy binary before. I will try again, but no promises. Let me know if you succeed yourself. |
I'm also getting the same error with SSLsplit as well Since this is based on SSLsplit I'll open an issue over there and see if the good folks over there have any idea since the command that I use is derived from an issue there. Edit: change sslstrip to sslsplit typo |
I think no need for that, because I am the maintainer of SSLsplit too :). |
On second thought, SSLsplit has more than 100 watchers, perhaps they can help, so by all means submit an issue there too. |
Issue submited over at SSLSplit |
For those that absolutely need this binary to be static right now there is a temporary sticky tape solution: The binary can be made static using the packer staticx, However this is not a true solution and may introduce instability in the future. |
Compiling Static binaries not possible ?
Hi, I'm trying to compile SSLproxy to a statically linked binary via the command
PCFLAGS='--static' CFLAGS='-static' LDFLAGS='-static' make -j$(nproc)
however this method fails with the error detailed below. But if I compile via themake -j$(nproc)
the program compiles successfully.Is it not possible to compile SSLproxy as a statically linked binary?
Requested information:
uname -a
:Linux UbuntuBox 5.15.0-75-generic #82-Ubuntu SMP Tue Jun 6 23:10:23 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux
make
including the header:Origin: Ubuntu package manager (apt/aptitude package: libssl-dev)
Version: OpenSSL 3.0.2 15 Mar 2022 (Library: OpenSSL 3.0.2 15 Mar 2022)
Origin: Ubuntu package manager (apt/aptitude package: libevent-dev)
Version: 2.1.12-stable-1build3
Kind regards
The text was updated successfully, but these errors were encountered: