Trying to compile weather program

Tony via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Sun Aug 23 09:00:16 PDT 2015


Thanks for the replies. It compiles OK with just. However, it 
isn't linking:

/usr/bin/ld: cannot find -lcurl


I do have some versions of libcurl on my system:

/usr/lib/x86_64-linux-gnu/libcurl.so.3
/usr/lib/x86_64-linux-gnu/libcurl.so.4.3.0
/usr/lib/x86_64-linux-gnu/libcurl.so.4

I see there is a -L option to pass things to the linker

-Llinkerflag   pass linkerflag to link

but I am not sure how to use it.





More information about the Digitalmars-d-learn mailing list