Raman scattering spectra of linear carbon chains (carbines) localized in thin gold films of variable thickness are investigated. It is shown that the integral line is inhomogeneous, and separate components are identified, the intensity of which depends in a non-trivial way on the thickness of the film. Qualitative explanations of the detected effects are proposed.