Skip to content

Instantly share code, notes, and snippets.

@awead
Created February 19, 2019 17:05
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save awead/5c02397287779a4d1186d2be5489f885 to your computer and use it in GitHub Desktop.
Save awead/5c02397287779a4d1186d2be5489f885 to your computer and use it in GitHub Desktop.
Error when installing clamav
have_header: checking for clamav.h... -------------------- no
"clang -o conftest -I/Users/agw13/.asdf/installs/ruby/2.4.1/include/ruby-2.4.0/x86_64-darwin18 -I/Users/agw13/.asdf/installs/ruby/2.4.1/include/ruby-2.4.0/ruby/backward -I/Users/agw13/.asdf/installs/ruby/2.4.1/include/ruby-2.4.0 -I. -I/Users/agw13/.asdf/installs/ruby/2.4.1/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -D_DARWIN_UNLIMITED_SELECT -D_REENTRANT -O3 -Wno-error=shorten-64-to-32 -pipe conftest.c -L. -L/Users/agw13/.asdf/installs/ruby/2.4.1/lib -L. -L/Users/agw13/.asdf/installs/ruby/2.4.1/lib -fstack-protector -L/usr/local/lib -lruby-static -framework CoreFoundation -lpthread -lgmp -ldl -lobjc "
checked program was:
/* begin */
1: #include "ruby.h"
2:
3: int main(int argc, char **argv)
4: {
5: return 0;
6: }
/* end */
"clang -E -I/Users/agw13/.asdf/installs/ruby/2.4.1/include/ruby-2.4.0/x86_64-darwin18 -I/Users/agw13/.asdf/installs/ruby/2.4.1/include/ruby-2.4.0/ruby/backward -I/Users/agw13/.asdf/installs/ruby/2.4.1/include/ruby-2.4.0 -I. -I/Users/agw13/.asdf/installs/ruby/2.4.1/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -D_DARWIN_UNLIMITED_SELECT -D_REENTRANT -O3 -Wno-error=shorten-64-to-32 -pipe conftest.c -o conftest.i"
In file included from conftest.c:3:
/usr/local/include/clamav.h:31:10: fatal error: 'openssl/ssl.h' file not found
#include <openssl/ssl.h>
^~~~~~~~~~~~~~~
1 error generated.
checked program was:
/* begin */
1: #include "ruby.h"
2:
3: #include <clamav.h>
/* end */
--------------------
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment