TechZIP

Wednesday, February 08, 2006

Problem with Perl::GD module while using Bugzilla

This module is really important for Charts and Graphs, So I decided to fix it ASAP, but still it tooks it's toll.

Bugzilla 2.20 charts were not displaying and infact I couldn't find any errors in the webserver log. When I dig deep inside, I found many GD modules installed by my Unix admin. Also identified libgd library version not matching with my GD module version.

$ ls -lt libgd*
lrwxrwxrwx 1 root other 14 Jan 17 14:49 libgd.so -> libgd.so.2.0.0
lrwxrwxrwx 1 root other 14 Jan 17 14:49 libgd.so.2 -> libgd.so.2.0.0
-rw-r--r-- 1 root other 679956 Mar 15 2005 libgd.a
-rwxr-xr-x 1 root other 700 Mar 15 2005 libgd.la
-rwxr-xr-x 1 root other 659888 Mar 15 2005 libgd.so.2.0.0

Checking for GD (v1.20) ok: found v2.22


$./test.cgi
Content-Type: Image/jpeg

ld.so.1: test.cgi: fatal: relocation error: file /opt/****perl/libn/site_perl/1.5.6.1/sun4-solaris/auto/GD/GD.so: symbol gdImageJpegPtr: refrenced symbol not found
Killed

$./sample.cgi Content-Type: Image/jpeg ld.so.1: sample.cgi: fatal: relocation error: file /opt/****perl/libn/site_perl/1.5.6.1/sun4-solaris/auto/GD/GD.so: symbol gdImagePngPtr: refrenced symbol not found Killed

Asked my Unix admin to remove all GDmodules and libgd and re-install again. You know what to my surprise it worked......

I was so happy to see the charts working ...... may be I shouldn't take these errors to my heart.

0 Comments:

Post a Comment

<< Home