본문 바로가기
개발환경

[CentOS7] sasl/saslwrapper.h:22:23: fatal error: sasl/sasl.h: No such file or directory

by 초이MS 2020. 10. 14.

상황

  • cent os 7.4 이용
  • python3.6에서 sasl 패키지를 pip을 이용해서 설치할 때에 다음의 에러 메시지가 발생한다.
      In file included from sasl/saslwrapper.cpp:254:0:
      sasl/saslwrapper.h:22:23: fatal error: sasl/sasl.h: No such file or directory
       #include <sasl/sasl.h>
                             ^
      compilation terminated.
      error: command 'gcc' failed with exit status 1

해결방안

  • yum을 이용하여 다음의 패키지를 설치한다.
      $ sudo yum install cyrus-sasl-devel
반응형

댓글