I think you are making it more difficult than it is. I'm pretty sure our 
binaries already depend on openssl being installed, and we do this under 
the GPL system library exception. We just can't ship our own openssl (nor 
would I want to).

So we may just as well include libcurl, linked to the system openssl. 

The caveat of including libcurl is that neither curl nor openssl include 
the root certs, so to actually download over https:// on OSX you need those 
as well.

The other caveat of including libcurl is that it (by default) detects and 
links to everything under the sun, which we would have to disable somehow 
when building with SAGE_FAT_BINARY=yes

 $ ldd `which curl`
linux-vdso.so.1 (0x00007ffcd5c7e000)
libcurl.so.4 => /lib64/libcurl.so.4 (0x00007f0e6e644000)
libmetalink.so.3 => /lib64/libmetalink.so.3 (0x00007f0e6e435000)
libssl3.so => /lib64/libssl3.so (0x00007f0e6e1e8000)
libsmime3.so => /lib64/libsmime3.so (0x00007f0e6dfc1000)
libnss3.so => /lib64/libnss3.so (0x00007f0e6dc98000)
libnssutil3.so => /lib64/libnssutil3.so (0x00007f0e6da69000)
libplds4.so => /lib64/libplds4.so (0x00007f0e6d865000)
libplc4.so => /lib64/libplc4.so (0x00007f0e6d660000)
libnspr4.so => /lib64/libnspr4.so (0x00007f0e6d420000)
libpthread.so.0 => /lib64/libpthread.so.0 (0x00007f0e6d204000)
libdl.so.2 => /lib64/libdl.so.2 (0x00007f0e6d000000)
libz.so.1 => /lib64/libz.so.1 (0x00007f0e6cde9000)
libc.so.6 => /lib64/libc.so.6 (0x00007f0e6ca27000)
libnghttp2.so.14 => /lib64/libnghttp2.so.14 (0x00007f0e6c806000)
libidn.so.11 => /lib64/libidn.so.11 (0x00007f0e6c5d1000)
libssh2.so.1 => /lib64/libssh2.so.1 (0x00007f0e6c3a3000)
libpsl.so.5 => /lib64/libpsl.so.5 (0x00007f0e6c196000)
libgssapi_krb5.so.2 => /lib64/libgssapi_krb5.so.2 (0x00007f0e6bf48000)
libkrb5.so.3 => /lib64/libkrb5.so.3 (0x00007f0e6bc62000)
libk5crypto.so.3 => /lib64/libk5crypto.so.3 (0x00007f0e6ba31000)
libcom_err.so.2 => /lib64/libcom_err.so.2 (0x00007f0e6b82c000)
liblber-2.4.so.2 => /lib64/liblber-2.4.so.2 (0x00007f0e6b61d000)
libldap-2.4.so.2 => /lib64/libldap-2.4.so.2 (0x00007f0e6b3cc000)
libexpat.so.1 => /lib64/libexpat.so.1 (0x00007f0e6b19f000)
librt.so.1 => /lib64/librt.so.1 (0x00007f0e6af97000)
/lib64/ld-linux-x86-64.so.2 (0x0000557b08980000)
libssl.so.10 => /lib64/libssl.so.10 (0x00007f0e6ad24000)
libcrypto.so.10 => /lib64/libcrypto.so.10 (0x00007f0e6a8c4000)
libunistring.so.2 => /lib64/libunistring.so.2 (0x00007f0e6a594000)
libkrb5support.so.0 => /lib64/libkrb5support.so.0 (0x00007f0e6a384000)
libkeyutils.so.1 => /lib64/libkeyutils.so.1 (0x00007f0e6a180000)
libresolv.so.2 => /lib64/libresolv.so.2 (0x00007f0e69f66000)
libsasl2.so.3 => /lib64/libsasl2.so.3 (0x00007f0e69d48000)
libselinux.so.1 => /lib64/libselinux.so.1 (0x00007f0e69b21000)
libcrypt.so.1 => /lib64/libcrypt.so.1 (0x00007f0e698ea000)
libpcre.so.1 => /lib64/libpcre.so.1 (0x00007f0e69677000)
libfreebl3.so => /lib64/libfreebl3.so (0x00007f0e69474000)

-- 
You received this message because you are subscribed to the Google Groups 
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-devel+unsubscr...@googlegroups.com.
To post to this group, send email to sage-devel@googlegroups.com.
Visit this group at https://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.

Reply via email to