-
Notifications
You must be signed in to change notification settings - Fork 65
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
./configure --static does not produce static binaries #278
Comments
I've only been able to run the stand-alone utilities via the "libtool" script that's built in the However, I can link the
As far as I can tell (the build was set up by someone else), I do this by
|
Some additional observations: I was using I have not figured out the work-around for libz when that is enabled. The Ubuntu Setting |
About libz -- I had problems statically linking with libcds.a or libhdt.a ... I was getting libcds.so and libhdt.so (confirmed with ldd); to fix this, I made a copy of libcds.a and libhdt.a in the same directory as my object file -- it seems that the linker either prefers the .so file or it uses which ever it finds first (I tried a few options, such as |
I have this line in the
|
This is the line in the
|
Although
configure
lists--enable-static
as default, the resulting tools are dynamically built. Explicitly passing--enable-static
to configure does not change the behavior.The text was updated successfully, but these errors were encountered: