I see you are using Solaris. Here you can find a description of the
relocation process. The error you are having is explained under the "Relocation Error" section.
I dont know so much about Solaris, but it mught have some kind of package management tools, such as emerge, apt or yum in Linux. Try to install the GD library provided by you package manager, and then install Perl-GD through CPAN, to ensure it is compiled against the library you already have.