Results 1 to 1 of 1
I am having a problem installing, or getting it to work right the perl GD module.
When installing libGD (2.0.35), I have these options
Code:
Support for PNG library: yes
...
- 06-25-2007 #1Just Joined!
- Join Date
- Jun 2007
- Posts
- 1
problem with JPEG after installing GD for perl
I am having a problem installing, or getting it to work right the perl GD module.
When installing libGD (2.0.35), I have these options
libGD gives no problems and installs perfect.Code:Support for PNG library: yes Support for JPEG library: yes Support for Freetype 2.x library: yes Support for Fontconfig library: no Support for Xpm library: no Support for pthreads: yes
When I install the actual GD module (2.35) the makefile says:
The "make test" give this:Code:Included Features: GD_JPEG GD_FREETYPE GD_PNG GD_GIF GD_GIFANIM GD_OPENPOLYGON GD_UNCLOSEDPOLY GD_ANIMGIF GD_FTCIRCLE VERSION_33
Code:PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t t/GD..........Testing using gif support. t/GD..........ok 3/12 skipped: various reasons t/Polyline....ok All tests successful, 3 subtests skipped. Files=2, Tests=13, 1 wallclock secs ( 0.26 cusr + 0.06 csys = 0.32 CPU)
GIF support now works fine with GD, however I get this error when dealing with JPEG:
I have added "/usr/local/lib" to my "ld.so.conf" and I have ran ldconfig -v... still problems.Code:Can't locate object method "newFromJpeg" via package "GD::Image" at /usr/lib/perl5/site_perl/5.8.5/i386-linux-thread-multi/GD/Image.pm line 81.
Any suggestions?
Thanks,
- Jonathan


Reply With Quote