RejectedSoftware Forums

Sign up

DUB binaries on code.dlang.org should be statically linked.

Why?

Here is a part of the IRC log from few minutes ago:

<afreak_> ./dub 
<afreak_> ./dub: error while loading shared libraries: libphobos2.so.0.63: cannot open shared object file: No such file or directory

You are aware of the fact that majority of users most likely won't have Phobos as shared library?

Re: DUB binaries on code.dlang.org should be statically linked.

Am 15.10.2013 13:14, schrieb Dejan Lekic:

Why?

Here is a part of the IRC log from few minutes ago:

<afreak_> ./dub
<afreak_> ./dub: error while loading shared libraries: libphobos2.so.0.63: cannot open shared object file: No such file or directory

You are aware of the fact that majority of users most likely won't have Phobos as shared library?

I'm aware of the issue. In fact, I wasn't sure how to use the static
version when I built the last release, but got it to work now using
"-l:libphobos2.a" (that was really hard to find, though). The next
release - will happen shortly - will be back to static.

Re: DUB binaries on code.dlang.org should be statically linked.

I'm aware of the issue. In fact, I wasn't sure how to use the static
version when I built the last release, but got it to work now using
"-l:libphobos2.a" (that was really hard to find, though). The next
release - will happen shortly - will be back to static.

Kudos! I am sure this will make people very happy! :) I will try to make DUB RPM that goes well with LDC2, and submit it to Fedora people.