Ubuntu keyutils error

How to resolve this error ?

root@ubuntu:/tmp# gcc a.c -o a -lkeyutils -Wall
a.c:8:22: fatal error: keyutils.h: No such file or directory
compilation terminated.
root@ubuntu:/tmp#
5

1 Answer

To resolve this error check the installation status of libkeyutils-dev

apt-cache policy libkeyutils-dev

If the package has not been installed, install it with

sudo apt-get install libkeyutils-dev

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

You Might Also Like