I think this is a 32 vs 64 bit problem.
Its not clear to me if you are using a 32bit fpc or a 64bit fpc, but I guess the libs found are 64bit or 32bit.
I don't know if there exists something like /opt/gnome/lib64 (or32), but if so, I would suggest to add them to your fpc.cfg.