Intel® C++ Compiler
Community support and assistance for creating C++ code that runs on platforms based on Intel® processors.
7956 Discussions

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

qu__xing
Beginner
2,564 Views

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
2,564 Views

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

0 Kudos
qu__xing
Beginner
2,564 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.

0 Kudos
Reply