OpenCSW Bug Tracker


Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0004968 [pm_gd] regular use block always 2012-06-27 06:34 2012-07-05 09:14
Reporter ghenry View Status public  
Assigned To dam
Priority normal Resolution no change required  
Status closed  
Summary 0004968: pm_gd doesn't work
Description /opt/csw/bin/perl /tmp/test_gd.pl
libpng warning: Application was compiled with png.h from libpng-1.2.44
libpng warning: Application is running with png.c from libpng-1.4.8
libpng warning: Incompatible libpng version in application and library
gd-png error: cannot allocate libpng main struct


the test comes from the official page of GD: http://search.cpan.org/~lds/GD-2.45/GD.pm [^]
the last line is:
    print $im->png;
replace png with jpeg and the failure is now;
gd-jpeg: JPEG library reports unrecoverable error: Wrong JPEG library version: library is 62, caller expects 70


Additional Information on solaris 11 machine (x86). There is a libjpeg6 in /usr/lib
# ls -l /usr/lib/libjpeg.so*
lrwxrwxrwx 1 root root 17 Dec 22 2010 /usr/lib/libjpeg.so -> libjpeg.so.62.0.0
lrwxrwxrwx 1 root root 17 Dec 22 2010 /usr/lib/libjpeg.so.62 -> libjpeg.so.62.0.0
-rwxr-xr-x 1 root bin 147996 Feb 18 12:18 /usr/lib/libjpeg.so.62.0.0

OpenCSW comes with 2 libjpeg, 6 and 7:

 ls -l /opt/csw/lib/libjpeg.so.*
lrwxrwxrwx 1 root root 17 Jun 26 21:47 /opt/csw/lib/libjpeg.so.62 -> libjpeg.so.62.0.0
-rwxr-xr-x 1 root bin 242208 Nov 24 2011 /opt/csw/lib/libjpeg.so.62.0.0
lrwxrwxrwx 1 root root 16 Feb 20 16:45 /opt/csw/lib/libjpeg.so.7 -> libjpeg.so.7.0.0
-rwxr-xr-x 1 root bin 452628 Sep 24 2011 /opt/csw/lib/libjpeg.so.7.0.0

i tried to compile GD perl module myself, with "perl -MCPAN -e shell" but the problem is the same
Tags No tags attached.
Attached Files

- Relationships

-  Notes
(0010001)
dam (administrator)
2012-07-05 09:14

It turned out the problem was a manually installed module linked against the old libjpeg.so.62.

- Issue History
Date Modified Username Field Change
2012-06-27 06:34 ghenry New Issue
2012-06-27 06:48 dam Status new => assigned
2012-06-27 06:48 dam Assigned To => dam
2012-07-05 09:14 dam Note Added: 0010001
2012-07-05 09:14 dam Status assigned => closed
2012-07-05 09:14 dam Resolution open => no change required


Copyright © 2000 - 2008 Mantis Group
Powered by Mantis Bugtracker