Open GildedHonour opened 6 years ago
I've also tried this
$ export="PKG_CONFIG_PATH /usr/lib/openssl-1.0/pkgconfig"
$swift build
and
$ swift build -Xswiftc -I/usr/include/openssl
didn't help
I experience this also on Ubuntu 18.04 which I needed to get curl > 7.51.
This is the 5th time I've found an issue with Perfect that is ignored by the maintainers, if I can't find a solution to this I'm trying Vapor instead.
Perfect has mostly been good, but it seems unmaintained and mostly unloved.
K on Ubuntu 18.04 you can:
sudo apt-get install openssl1.0 libssl1.0-dev
Which will get you passed this issue.
No, this leads to dependency hell since there is no libcurl-dev for OpenSSL 1.0.
I recommend sticking with Ubuntu 16.04
Compiled successful under 18.04.1 and published yestreday swift 4.2 snapshot for 18.04 (Swift version 4.2 (swift-4.2-CONVERGENCE))
Compiled successful under 18.04.1 and published yestreday swift 4.2 snapshot for 18.04 (Swift version 4.2 (swift-4.2-CONVERGENCE))
Could you please tell a little more about this? What did you have to do to make it work?
This project includes a script which will install Swift and all major dependencies for Perfect directly into your Ubuntu system. https://github.com/PerfectlySoft/Perfect-Ubuntu
When I compile a test app, I get: