[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug-wget] [bug #48634] MAC OS : Building with "--with-ssl=openssl" erro
From: |
Corentin |
Subject: |
[Bug-wget] [bug #48634] MAC OS : Building with "--with-ssl=openssl" error |
Date: |
Tue, 26 Jul 2016 12:55:12 +0000 (UTC) |
User-agent: |
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:47.0) Gecko/20100101 Firefox/47.0 |
Follow-up Comment #2, bug #48634 (project wget):
About the 3rd point first :
Trying to configure without --with-ssl=openssl end up failing with the make.
---
if [ -n "libcrypto.1.0.0.dylib libssl.1.0.0.dylib" ]; then \
/Applications/Xcode.app/Contents/Developer/usr/bin/make -f
../../Makefile.shared -e \
LIBNAME=gost \
LIBEXTRAS='e_gost_err.o gost2001_keyx.o gost2001.o
gost89.o gost94_keyx.o
gost_ameth.o gost_asn1.o gost_crypt.o gost_ctl.o gost_eng.o gosthash.o
gost_keywrap.o gost_md.o gost_params.o gost_pmeth.o gost_sign.o' \
LIBDEPS='-L../.. -lcrypto' \
link_o.darwin-shared; \
else \
ar r ../../libcrypto.a e_gost_err.o gost2001_keyx.o gost2001.o
gost89.o
gost94_keyx.o gost_ameth.o gost_asn1.o gost_crypt.o gost_ctl.o gost_eng.o
gosthash.o gost_keywrap.o gost_md.o gost_params.o gost_pmeth.o gost_sign.o; \
fi
ld: can't write output file: libgost.dylib for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see
invocation)
make[3]: *** [link_o.darwin] Error 1
make[2]: *** [lib] Error 2
make[1]: *** [subdirs] Error 1
make: *** [build_engines] Error 1
---
Also won't it prevent wget from using the ssl protocol?
About the second point :
I have no idea where to look (no ssl.h anywhere) nor how to do that.
Finally :
I ended up building my own copy but to use it I didn't find the configure
option and ended up using the flag as proposed here :
http://stackoverflow.com/questions/9817337/compiling-wget-with-static-linking-self-compiled-openssl-library-linking-issu
---
$>env CPPFLAGS="-I/dir/to/openssl/include" LDFLAGS="-L/dir/to/ssl/lib"
./configure --with-ssl=openssl
$>make CPPFLAGS="-I/dir/to/openssl/include" LDFLAGS="-L/dir/to/ssl/lib
-all-static"
---
I don't feel it was done nicely in the end, maybe it could be enhanced.
Also I'd like to point out I could probably propose a fix myself but I have
never make the step so far to involve in GNU contribution (can be scary at
first).
This is no about saying anything was done badly.
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?48634>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/