Adding libraries to an executable

Mike Parker aldacron at gmail.com
Wed Sep 11 18:16:28 PDT 2013


On 9/12/2013 6:20 AM, Anton Alexeev wrote:
> On Tuesday, 10 September 2013 at 11:06:04 UTC, Jacob Carlborg wrote:
>> On 2013-09-10 11:04, Anton Alexeev wrote:
>>
>>> Can be but not libphobos2
>>
>> Link statically with it, which is does by default. Just compile with:
>>
>> dmd -L-lcurl test.d
>
> The point is:
> http://pastebin.com/0VkYgFix

Apparently you need to install the libcurl dev package. The linker can't 
find libcurl.a.


More information about the Digitalmars-d-learn mailing list