pfultz2 / cget-recipes

Recipes for cget
16 stars 10 forks source link

curl on Windows can not find LibreSSL and libssh2 #17

Closed pbtrung closed 6 years ago

pbtrung commented 6 years ago

I have tried to install curl on Windows using cget but for some reasons, it can not find LibreSSL and libssh2. Other dependencies were installed just fine. Please let me know if you need further information. Thanks.

pfultz2 commented 6 years ago

Is this during build? Or during run? Can you provide the output of the error?

pbtrung commented 6 years ago

I was using my own fork of your cget-recipes (pbtrung/cget-recipes). The fork is mostly identical to your repo except that nghttp2 does not depend on boost.
As far as I remember, there was no error during build. The output of CMake when building curl showed no trace of LibreSSL and libssh2, so HTTPS/FTPS/SSH was not supported. Also, the built binary (curl.exe) does not work at all. I will post the output here in 1 or 2 days when I have some spare time.

pfultz2 commented 6 years ago

As far as I remember, there was no error during build.

Ok, so windows doesn't support rpath, so you need to add the path to the dlls to your system path for it to run. They are usually stored in the $CGET_PREFIX/bin. Alternatively, you can build everything static with cget init --static.

The output of CMake when building curl showed no trace of LibreSSL and libssh2, so HTTPS/FTPS/SSH was not supported.

You can do cget list to see which packages are installed.

pbtrung commented 6 years ago

I have not had time to check again yet. Thanks for your support. Close this for now.