Uuid not found in Amazon Linux 2023 for Asterisk 20.9.2

I’m attempting to run the configure script for Asterisk 20.9.2 on Amazon Linux 2023 (AL2023). I’m getting an error with the uuid_generate_random functionality in the output of the configure script:

checking for uuid_generate_random in -luuid... no
checking for uuid_generate_random in -le2fs-uuid... no
checking for uuid_generate_random... no
configure: error: *** uuid support not found (this typically means the uuid development package is missing)

I do have uuid-devel and uuid packages installed:

[ec2-user@ip-10-22-0-33 asterisk-20.9.2]$ rpm -qa | grep uuid
libuuid-2.37.4-1.amzn2023.0.4.x86_64
uuid-1.6.2-50.amzn2023.0.2.x86_64
uuid-devel-1.6.2-50.amzn2023.0.2.x86_64

I do not have experience in administering this application, so I’m struggling to determine if it can work in AL2023. Would anyone have any experience using Asterisk in AL2023 or know if there is a workaround for this particular error from the configure output?

Well, I feel like a dope. I was fixated on the uuid-devel package being there, but I was missing the libuuid-devel package.

I was just able to successfully complete the configure script and able to run the make without errors.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.