Unable to install and enable libwebsockets

I am running the below version of libwebsockets. I manually installed and compiled it.

pkg-config --modversion libwebsockets

4.3.99-v4.3.0-348-gfe9a2b86

However, when I try to configure websockets in janus I receive the below error.

./configure --enable-websockets
configure: error: libwebsockets not found. See README.md for installation instructions or use --disable-websockets

You probably have the library but not the headers installed. Just the library isn’t enough.

Thanks. You are right! I did a full comprehensive install and now able to configure websocket.