Linux - Error while compiling c program uuid, Missing uuid or uuid.h in redhat

Error while compiling c program uuid


When I was working with the deployment team today to install some c++ modules. We tried to run the command 'make' and it told us that it could not find uuid.h. This happened on a redhat 5.5 or redhat 6 operating system. When I did the deployment on the ubuntu platform i just needed to install the package libuuid-devel and this problem was fixed.

However on the redhat platform when I tried to install this libuuid-devel with yum install, the package didnt seem to exist. After a few frustrating hours of searching on Google I found the answer and it was to install this package on redhat called e2fsprogs-devel.

To run 'make' without any other errors, install the below packages.

 # yum install gcc-c++

 # yum install e2fsprogs-devel

 # yum install libuuid-devel

 # yum install uuid-c++.x86_64
 
 # yum install uuid-c++-devel.x86_64

 # ln -s  /lib64/libuuid.so.1.3.0 /lib64/libuuid.so

The topic on Linux - Error while compiling c program uuid is posted by - Math

Hope you have enjoyed, Linux - Error while compiling c program uuidThanks for your time

Tech Bluff