The real error is earlier: remote: Empty compile time value given to
use lib at hooks/update line 6
which means $ENV{GL_LIBDIR} is not set.
Somehow he's not going through gitolite-shell, which should have been
called because of this line (or similar) in httpd conf somewhere:
ScriptAlias /git/ /var/www/gitolite-home/gitolite-source/src/gitolite-shell/
if that had worked, GL_LIBDIR would be set.
I also have no clue how in one example he could not even communicate
with the server (curl error) and in another he got through to the
server upto that point.