If anyone is trying to install the pecl php extension and getting error like "can't read /usr/lib/libuuid.la: No such file or directory
libtool: link: `/usr/lib/libuuid.la' is not a valid libtool archive" refer to this: http://mgribov.blogspot.com/2010/05/gearman-pecl-package-on-ubuntu-lucid.html
Open /usr/lib/libgearman.la as root, and find a line that says:
dependency_libs=' -L/usr/lib /usr/lib/libuuid.la'

Replace it with:
dependency_libs=' -L/usr/lib -luuid'

if dependency_libs=' -L/usr/lib /usr/lib/libuuid.la' is not found, simply add
dependency_libs=' -L/usr/lib -luuid' to the end of the file

sudo pecl install gearman-beta
should install the extension