Community
cancel
Showing results for 
Search instead for 
Did you mean: 
qu__xing
Beginner
279 Views

catastrophic error: cannot open source file "openssl/opensslconf.h"

Hi,

I try to compile a c program which contains the only header file "openssl/opensslconf.h" and get the error: catastrophic error: cannot open source file "openssl/opensslconf.h". I find opensslconf.h in directory“/usr/include/x86_64-linux-gnu/openssl/”and link it with -l parameter. But it prints the same error. I am sure there are some solutions i don’t see , but knowledge in linux is low. Thanks in advance for your help.

Complier version: icc (ICC) 19.0.4.243 20190416

System: Ubuntu 16.04.6 LTS

0 Kudos
2 Replies
Viet_H_Intel
Moderator
279 Views

how about #include"/usr/include/x86_64-linux-gnu/openssl/opensslconf.h"?

qu__xing
Beginner
279 Views

Thanks viet. it works fine.

I think it's my fault that I misread the letter I. It shoule be the capital I instead of  lowercase L.

Reply