hi,
when i enable the direct-images mod and upload a image file, i get following error message:
Can't locate object method "newFromJpeg" via package "GD::Image" at /usr/lib64/perl5/site_perl/5.8.8/x86_64-linux-thread-multi/GD/Image.pm line 81.
My perl is up to date and GD is working fine, do you have a clue whats wrong?
regards
XFileSharing Pro - [Issue] direct images mod
-
- Posts: 521
- Joined: Dec 19, 2009 5:12 pm
do you have gd::image installed ??
because it says that it cant find it
try using yum to update it or to change your apache configuration to enable gdlib (glib.so if i am not wrong , i know nothing of linux :S)
i think that need to work , then your apache (php.ini or http.conf ? or was that only for php :s)
and it should work i guess
Greets From PowerChaos
because it says that it cant find it
Code: Select all
Can't locate object method "newFromJpeg" via package "GD::Image"
Code: Select all
yum install gdlib
and it should work i guess
Greets From PowerChaos
Hey, thanks for your suggestion
Thats the miracle: GD Devel+libs were installed by a tech guy of my hosting company (iweb.com). All other GD-related functions work fine, even the captcha.
lib64 is added to LD_LIBRARY_PATH variable. It might not be a permission issue. But what else? I really stuck on this :S
greets
Thats the miracle: GD Devel+libs were installed by a tech guy of my hosting company (iweb.com). All other GD-related functions work fine, even the captcha.
Code: Select all
yum list installed | egrep 'gcc|glibc|glibc-common|gd|gd-devel'
gcc.x86_64 4.1.2-46.el5_4.1 installed
gcc-c++.x86_64 4.1.2-46.el5_4.1 installed
gcc-gfortran.x86_64 4.1.2-46.el5_4.1 installed
gd.i386 2.0.33-9.4.el5_4.2 installed
gd.x86_64 2.0.33-9.4.el5_4.2 installed
gd-devel.i386 2.0.33-9.4.el5_4.2 installed
gd-devel.x86_64 2.0.33-9.4.el5_4.2 installed
gd-progs.x86_64 2.0.33-9.4.el5_4.2 installed
gdb.x86_64 6.8-37.el5 installed
gdbm.x86_64 1.8.0-26.2.1 installed
glibc.i686 2.5-42.el5_4.2 installed
glibc.x86_64 2.5-42.el5_4.2 installed
glibc-common.x86_64 2.5-42.el5_4.2 installed
glibc-devel.x86_64 2.5-42.el5_4.2 installed
glibc-headers.x86_64 2.5-42.el5_4.2 installed
libgcc.i386 4.1.2-46.el5_4.1 installed
libgcc.x86_64 4.1.2-46.el5_4.1 installed
libgdiplus.x86_64 1.2.5-1.el5.centos installed
libgdiplus-devel.x86_64 1.2.5-1.el5.centos installed
php-gd.x86_64 5.1.6-23.2.el5_3 installed
sysklogd.x86_64 1.4.1-44.el5 installed
Code: Select all
locate glib.so
/usr/lib/libnm_glib.so.0
/usr/lib/libnm_glib.so.0.1.0
/usr/lib64/libavahi-glib.so.1
/usr/lib64/libavahi-glib.so.1.0.1
/usr/lib64/libnm_glib.so.0
/usr/lib64/libnm_glib.so.0.1.0
greets
hi, perl-GD is installed
libjpeg is there too
Code: Select all
> yum list installed | egrep 'perl-GD'
perl-GD.x86_64 2.44-1.el5.rf installed
Code: Select all
> rpm -qa | grep libjpeg
libjpeg-6b-37
libjpeg-6b-37
libjpeg-devel-6b-37
- PilgrimX182
- Posts: 2186
- Joined: Mar 22, 2006 1:39 pm
Contact [email protected] with your FTP details, will investigate and fix asap. Seems you have kinda different GD lib.