This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo yum install wget mercurial cmake openssl-devel c-ares-devel libuuid-devel | |
wget https://github.com/warmcat/libwebsockets/archive/v2.1.0.tar.gz | |
tar xf v2.1.0.tar.gz | |
cd libwebsockets-2.1.0 | |
mkdir build; cd build | |
cmake .. -DLIB_SUFFIX=64 | |
sudo make install | |
echo "/usr/local/lib64" | sudo tee -a /etc/ld.so.conf.d/libwebsockets.conf | |
sudo ldconfig | |
ldconfig -p | grep libwebsockets |