D issues are now tracked on GitHub. This Bugzilla instance remains as a read-only archive.
Issue 14960 - libcurl linking issues on linux
Summary: libcurl linking issues on linux
Status: RESOLVED FIXED
Alias: None
Product: D
Classification: Unclassified
Component: dmd (show other issues)
Version: D2
Hardware: x86_64 Windows
: P1 normal
Assignee: No Owner
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-08-25 05:43 UTC by Tomáš Chaloupka
Modified: 2022-10-10 07:01 UTC (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description Tomáš Chaloupka 2015-08-25 05:43:07 UTC
I installed fresh Fedora 22, than dmd-2.068 from the download page for Fedora.

When building for example dub, there is a problem with libcurl linking.

I have libcurl-devel installed, but noticed that there is just:
/lib64/libcurl.so.4 -> libcurl.so.4.3.0
/lib64/libcurl.so.4.3.0

So I fixed it with:

ln -s libcurl.so.4 libcurl.so

This is definitelly not a great user experience for newcomers.
Fedora package should depend on the libcurl-devel if its needed and linking should be handled to work out of the box ideally.

Similar problem discussed here for Ubuntu: http://forum.dlang.org/post/uirbzesxcsmhbjsjcmts@forum.dlang.org
Comment 1 Vladimir Panteleev 2015-09-01 10:49:25 UTC
This might be fixed by https://github.com/D-Programming-Language/phobos/pull/3009