Hi,

I am quite new to perl and I am starting with a big problem.
I just compiled Perl 5.8.0 from the source -> Works fine.
I added several module -> Works fine.
I added GD 2.0.1 -> Problem starts:

If I execute this script on the shell as root, it bworks fine and
prints out height and width of the picture.

If I try the same as normal user, I get a "Segmentation fault".
I am running SuSE Linux 7.3 with new kernel 2.4.18

#!/usr/bin/perl

use GD;
use CGI;
my $q = CGI->new();
print $q->header;
my $image = GD::Image->newFromJpeg("../../html/bilder/0020.jpg");
my ($breite, $hoehe) = $image->getBounds();
print $breite."   ".$hoehe;

A little help might help me :-)
Thanks,

Andreas



-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to