www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 14960] New: libcurl linking issues on linux


          Issue ID: 14960
           Summary: libcurl linking issues on linux
           Product: D
           Version: D2
          Hardware: x86_64
                OS: Windows
            Status: NEW
          Severity: normal
          Priority: P1
         Component: dmd
          Assignee: nobody puremagic.com
          Reporter: chalucha gmail.com

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

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

Aug 24 2015