FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.

» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > CentOS > CentOS

LinkBack Thread Tools
Old 12-05-2009, 05:43 PM
C Linus Hicks
Default Building xfsprogs can't find valid UUID library

On CentOS 5.3 x86_64, I'm trying to build
xfsprogs-2.9.4-1.el5.centos.x86_64 with -ggdb so I can use it with gdb
and examine the data structures when using xfs_db. I've installed the
src rpm as a non-root user and when I run rpmbuild -bc during
the ./configure I get the error:

checking uuid.h usability... no
checking uuid.h presence... no
checking for uuid.h... no
checking sys/uuid.h usability... no
checking sys/uuid.h presence... no
checking for sys/uuid.h... no
checking uuid/uuid.h usability... yes
checking uuid/uuid.h presence... yes
checking for uuid/uuid.h... yes
checking for uuid_compare... no
checking for uuid_compare in -luuid... no

FATAL ERROR: could not find a valid UUID library.
Install the Universally Unique Identifiers library package.
error: Bad exit status from /var/tmp/rpm-tmp.42904 (%build)

However, I found that /lib64/libuuid.so.1.2 (provided by
e2fsprogs-libs-1.39-20.el5.x86_64) does exist and using nm -D shows an
entry point for uuid_compare:

000000385a6015e0 T uuid_compare

Then I did:

strings ld.so.cache | grep uuid

And /lib64/libuuid.so.1 is a symbolic link to /lib64/libuuid.so.1.2.

The only hit on Google that looked interesting was from 2006:


Can anybody tell me what's going wrong and how to fix it?
Thanks for your help.

CentOS mailing list

Thread Tools

All times are GMT. The time now is 06:38 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org