V: import error openssl/ssl.h: No such file or directory

Created on 31 Jan 2020  路  6Comments  路  Source: vlang/v

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

Bug Linux

Most helpful comment

sudo apt install -y libssl-dev.

All 6 comments

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

Was this page helpful?
0 / 5 - 0 ratings

Related issues

medvednikov picture medvednikov  路  3Comments

markgraydev picture markgraydev  路  3Comments

lobotony picture lobotony  路  3Comments

elimisteve picture elimisteve  路  3Comments

arg2das picture arg2das  路  3Comments