It's in glibc, in particular you need to have glibc-devel installed... Also you need to install the build dependencies:
sudo yum-builddep libreoffice
- On Debian/Ubuntu: sudo apt-get build-dep libreoffice
- With modern releases, use autogen to select a newer gstreamer,
- or install the old package with: sudo apt-get install libgstreamer0.10-dev libgstreamer-plugins-base0.10-dev
- On OpenSUSE 11.4+: sudo zypper si -d libreoffice
- On Fedora 22+ & derivatives: sudo dnf builddep libreoffice
- On Fedora 21+ & derivatives: sudo yum-builddep libreoffice