On 11/26/13 11:57 AM, Dicebot wrote:
On Tuesday, 26 November 2013 at 19:29:02 UTC, Andrei Alexandrescu wrote:
There is no such thing as _The_ curl library. Different distros may have
versions with incompatible symbol versioning installed - this is the
very issue with Fedora which was actively discussed in bugzilla.

But can't we say "to use std.net.curl with dmd 2.xxx you must have
libcurl 7.10 or higher"?

Andrei

It is not that simple. Well, I remember you taking part in
https://d.puremagic.com/issues/show_bug.cgi?id=10710 so you should be
aware of it. It is not about version number of curl but about transitive
dependency - openssl vs gnutls.

We can say "you must have this version of libcurl built with this flags"
but it is not much different from saying "use Debian-likes or get out".

What flags are we requiring for use with std.net.curl? Are those depending on what specific calls are being used (e.g. using https etc)? We could document that stuff. All in all it doesn't seem unreasonable to me to require certain specifics for using std.net.curl.

Andrei

Reply via email to