The possibility for measuring polarized gluon distributions in the process of heavy quark production in the scattering of real photons off polarized fixed target has been considered. The estimates of gamma-beam intensities required to determine the polarization asymmetry have been made.