V version: 0.1.24
OS: linux fedora workstation
What did you do? import net.http
What did you expect to see? ok
What did you see instead?
fatal error: openssl/ssl.h: No such file or directory
268 | #include
| ^~~~~~~
compilation terminated.
V error: C error. This should never happen.
Please create a GitHub issue: https://github.com/vlang/v/issues/new/choose
Make sure you have openssl installed
Make sure you have openssl installed
as a program ? yes.
did you means openssl as a library?
Yes excuse me, the library
Package openssl-libs-1:1.1.1d-2.fc31.x86_64 is already installed on my os
I looked for it in the VPM, but I did not find it
sudo apt install -y libssl-dev.
The problem is solved by this line:
dnf install openssl-devel
thank you all
Most helpful comment
sudo apt install -y libssl-dev.