๋ณธ๋ฌธ ๋ฐ”๋กœ๊ฐ€๊ธฐ
๐Ÿ’ปTech/๐Ÿpython

[python] sasl ์„ค์น˜ ์˜ค๋ฅ˜ ํ•ด๊ฒฐ

by _viper_ 2023. 3. 22.
๋ฐ˜์‘ํ˜•

sasl ๋ผ์ด๋ธŒ๋Ÿฌ๋ฆฌ ์„ค์น˜ ๊ณผ์ •์—์„œ ์•„๋ž˜์™€ ๊ฐ™์€ ์˜ค๋ฅ˜ ํ•ด๊ฒฐ ๋ฐฉ๋ฒ•๋“ค์ž…๋‹ˆ๋‹ค.

๋ฆฌ๋ˆ…์Šค ํŒจํ‚ค์ง€ ์„ค์น˜๊ฐ€ ํ•„์š”ํ•˜๋„ค์š”.

๊ฒฐ๊ณผ์ ์œผ๋กœ ์•„๋ž˜ ๋ช…๋ น์–ด ์ˆ˜ํ–‰ํ•˜์—ฌ ํŒจํ‚ค์ง€ ์„ค์น˜ํ•ด์ฃผ๋ฉด ๋ฉ๋‹ˆ๋‹ค.

 

๐Ÿšซ ERROR

gcc: error trying to exec 'cc1plus': execvp: No such file or directory
sasl/saslwrapper.h:22:23: fatal error: sasl/sasl.h: No such file or directory

 

๐Ÿ’ก SOLVED

$ yum install -y gcc-c++ cyrus-sasl-devel
$ pip3 install sasl