[drogon] Fix building errors on Windows and Linux#13007
[drogon] Fix building errors on Windows and Linux#13007BillyONeal merged 5 commits intomicrosoft:masterfrom
Conversation
|
/azp run |
|
Azure Pipelines successfully started running 1 pipeline(s). |
|
Hi, @NancyLi1013, this PR works on Windows and MacOS, but there is a little problem on Linux, after installing drogon, the drogon_ctl command in tools folder doesn't work (the libpq.so.5 can't be found), but it works in the buildtrees folder. |
|
Would you like this to be merged as is even if the problem above isn't solved yet (since this is a version update) |
|
That's ok, please merge it. thanks. |
|
This problem also exists on my local. We might fix it in another PR later. I also noticed that this port requires Only after installing So we might need to update this too. |
Yes, libuuid is required on Linux and MacOS but isn't on Windows. How do I add this ? |
|
After added libuuid, I got following errors on Windows: |
|
@an-tao Please try again locally. |
It works, Thanks so much. Does vcpkg support FreeBSD? the libuuid is also not required on FreeBSD. |
|
vcpkg support freebsd, but not totally. And freebsd is not one of our official triplets. |
|
Thanks for your contribution! |
Co-authored-by: Jack·Boos·Yu <47264268+JackBoosY@users.noreply.github.com>


Describe the pull request
After the PR [libmariadb] Include bundled zlib and openssl #12669, the zlib library is separated from libmariadb, so we should link against it explicitly.(fixed in Fix zlib link error on Windows drogonframework/drogon#545)
Fix the following error on Linux.