When trying to run the
./configure file in a project that uses make, you will likely to find the following error:
error: No uuid_create or uuid_generate function in library libuuid or uuidgen function present
Specifically when the development package of libuuid isn't installed on your system, so you won't be able to compile. Depending on your environment, the installation will vary.
If you are in Windows using Cygwin, you will need to re-run the setup of Cygwin and include the following libraries:
As shown in the following image, be sure to select the latest version:
Then click on next and install the packages, this should solve the problem that you have with this dependency.
If you are using a debian based distro, you may simply install the library with the following command using apt-get:
sudo apt-get install uuid-dev
This should solve the problem in this environment.
Alternatively if you are working on CentOS, install it using yum:
sudo yum install libuuid-dev
Happy coding ❤️!
Become a more social person