Error when creating a first project after install on Linux

Just after the project creation, when trying to compile it with make j5 I get:
<pre>
Linking CXX executable bin/MyGame
lib/libcocos2d.a: In function `cocos2d::EGLView::EGLView‘:
/home/simon/ttt/cocos2d/cocos/2d/platform/linux/CCEGLView.cpp:315: undefined reference to `glfwSetErrorCallback’
lib/libcocos2d.a: In function `cocos2d::EGLView::init‘:
/home/simon/ttt/cocos2d/cocos/2d/platform/linux/CCEGLView.cpp:333: undefined reference to `glfwWindowHint’
/home/simon/ttt/cocos2d/cocos/2d/platform/linux/CCEGLView.cpp:334: undefined reference to `glfwCreateWindow’

</pre>
Does anyone have a clue on what is going wrong here ?
BTW here is the commands I did to install cocos2d-x:
<pre>
git clone https://github.com/cocos2d/cocos2d-x.git
cd cocos2d-x/build
./install-deps-linux.sh
sudo apt-get install cmake
cd …
git submodule update —init
cd build
cmake …
cd cocos2d-x/tools/project-creator
./create-project.py
n mygame k com.your_company.mygamel cpp -p /home/simon
cd ~/ttt/proj.android
./build_native.py