You upgraded Greenplum Database (GPDB) and after your upgrade, you had to recompile the C functions written and used in previous GPDB version.
Once the C code was recompiled, adding a new function failed with the following error:
gpadmin=# CREATE OR REPLACE FUNCTION hash64(text)
gpadmin-# RETURNS bigint AS
gpadmin-# '/usr/local/greenplum-db-6.11.1/my_functions/my_functions.so', 'hash64'
gpadmin-# LANGUAGE c IMMUTABLE STRICT;
ERROR: incompatible library "/usr/local/greenplum-db-6.11.1/my_functions/my_functions.so": version mismatch (dfmgr.c:367)
DETAIL: Server version is Greenplum 6.0 (header version: 1), library is PostgreSQL 9.4 (header version: 0).