我正在使用perl Module Manager
安装RHEL 6
程序perl version is 5.10.1
起初,当我尝试安装该GD
模块时,它显示我缺少一些依赖项。安装这些依赖项后,我收到以下错误。
Can't load '/usr/local/lib64/perl5/auto/GD/GD.so' for module GD: libgd.so.3:
cannot open shared object file: No such file or directory at
/usr/lib64/perl5/DynaLoader.pm line 200. at -e line 1
Compilation failed in require at -e line 1.
BEGIN failed--compilation aborted at -e line 1.
================================================================
Module GD Installation Failed..!!
=================================================================
命令的输出ldd /usr/local/lib64/perl5/auto/GD/GD.so
如下:
linux-vdso.so.1 => (0x00007fff3ffff000)
libjpeg.so.62 => /usr/lib64/libjpeg.so.62 (0x00007f43ba4f5000)
libz.so.1 => /lib64/libz.so.1 (0x00007f43ba2e0000)
libm.so.6 => /lib64/libm.so.6 (0x00007f43ba05b000)
libpng12.so.0 => /usr/lib64/libpng12.so.0 (0x00007f43b9e35000)
libfreetype.so.6 => /usr/lib64/libfreetype.so.6 (0x00007f43b9b99000)
libfontconfig.so.1 => /usr/lib64/libfontconfig.so.1 (0x00007f43b9962000)
libgd.so.3 => not found
libc.so.6 => /lib64/libc.so.6 (0x00007f43b95e3000)
libexpat.so.1 => /lib64/libexpat.so.1 (0x00007f43b93ba000)
/lib64/ld-linux-x86-64.so.2 (0x0000003c27400000)