This is happening consistently for me, building latest libreoffice-4-4 from git.
[build LNK] Executable/vcldemo
/usr/bin/ld: /home/fun/libreoffice/workdir/LinkTarget/StaticLibrary/libglxtest.a(glxtest.o): undefined reference to symbol 'dlclose@@GLIBC_2.2.5'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libdl.so: error adding symbols: DSO missing from command line
collect2: error: ld returned 1 exit status
make: *** [/home/fun/libreoffice/workdir/LinkTarget/Executable/icontest] Error 1
make: *** Waiting for unfinished jobs....
make: *** [build] Error 2
This doesn't happen on master. It's happened on libreoffice-4-4 for the past few days.
I'm running an up-to-date Ubuntu 14.04.
I am attempting to build with the Google Drive connection:
$ git status
On branch libreoffice-4-4
Your branch is up-to-date with 'origin/libreoffice-4-4'.
This belongs to the development mailing list per https://wiki.documentfoundation.org/QA/BugReport#Not_all_bugs_go_to_Bugzilla