8

I am running CentOS 7 (64 bit). I am trying to build a project and I am getting this error.

fatal error: uuid/uuid.h: No such file or directory
 #include <uuid/uuid.h>
                       ^
compilation terminated.
make: *** [all] Error 1

Is this related to a missing package? I have already installed uuid-devel. What package should I install to fix this problem? Thanks!

| improve this question | | | | |
  • I was missing the same while trying to compile Syslinux for aarch64. – Dan Apr 11 '17 at 14:49
12

Installing the development package libuuid-devel as suggested here, fixed the issue.

sudo yum install libuuid libuuid-devel
| improve this answer | | | | |
  • It is libuuid-devel, not libuuid-devl – fpmurphy Oct 9 '17 at 15:47
  • what about old centos 5? – confiq Nov 22 '17 at 16:52
  • The suggested solution works; dear OP, please mark it as "accepted", or justify why you haven't done so yet. – ralien Apr 27 '18 at 7:56
  • This works. Hit this bug when trying to build rpms for mod_gearman on Centos 7 – Ram Prasad Oct 4 '19 at 22:22

Your Answer

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

Not the answer you're looking for? Browse other questions tagged or ask your own question.