I am trying to build Postgresql 9.2
./configure --prefix=/usr/pgsql-9.2 --with-ossp-uuid --with-libxml
Got the error at config.log:
configure:9747: result: no
configure:9752: checking for uuid_export in -luuid
configure:9787: gcc -o conftest -O2 -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-stri
ct-aliasing -fwrapv -I/usr/local/include -D_GNU_SOURCE -I/usr/include/libxml2 -L/usr/lib64 conftest.c -luuid -lxml2 -lz -lreadline -ltermcap -lcrypt -ldl -lm >&5
/usr/bin/ld: cannot find -luuid
collect2: ld returned 1 exit status
configure:9794: $? = 1
What should I do?