| View previous topic :: View next topic |
| Author |
Message |
olesjas
Joined: 28 Dec 2009 Posts: 14
|
Posted: Feb 08, 2010 8:21 pm Post subject: [Issue] direct images mod |
|
|
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 |
|
| Back to top |
|
 |
PowerChaos
Joined: 19 Dec 2009 Posts: 394 Location: belguim
|
Posted: Feb 10, 2010 2:40 am Post subject: |
|
|
do you have gd::image installed ??
because it says that it cant find it
| Code: |
Can't locate object method "newFromJpeg" via package "GD::Image"
|
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 |
|
| Back to top |
|
 |
olesjas
Joined: 28 Dec 2009 Posts: 14
|
Posted: Feb 11, 2010 6:18 pm Post subject: |
|
|
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.
| Code: | 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: | 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
|
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 |
|
| Back to top |
|
 |
PilgrimX182

Joined: 22 Mar 2006 Posts: 2109 Location: UFO Lab
|
Posted: Feb 12, 2010 1:45 pm Post subject: |
|
|
| Search for perl-gd package. |
|
| Back to top |
|
 |
olesjas
Joined: 28 Dec 2009 Posts: 14
|
Posted: Feb 12, 2010 2:58 pm Post subject: |
|
|
hi, perl-GD is installed
| Code: | > yum list installed | egrep 'perl-GD'
perl-GD.x86_64 2.44-1.el5.rf installed
|
libjpeg is there too
| Code: | > rpm -qa | grep libjpeg
libjpeg-6b-37
libjpeg-6b-37
libjpeg-devel-6b-37
|
|
|
| Back to top |
|
 |
PilgrimX182

Joined: 22 Mar 2006 Posts: 2109 Location: UFO Lab
|
Posted: Feb 16, 2010 11:50 am Post subject: |
|
|
| Contact support@sibsoft.net with your FTP details, will investigate and fix asap. Seems you have kinda different GD lib. |
|
| Back to top |
|
 |
|