easyapache failed to install GD library

mjmccoy

Registered
May 24, 2013
2
0
1
cPanel Access Level
Root Administrator
Tried to install GD library via easyapache which is installed on a godaddy vps server.

When going the the steps via whm/easyapche and click recompile after checking the GD box.

This is the error that came up during the installation.



!! The server's system package manager, 'YUM', failed. !!

!!
This is the command that failed: yum -y install glibc compat-expat1.i686 gettext automake19 libstdc++.x86_64 libpng-devel openssl libpng-dev zlib-devel glibc-devel.i686 autoconf261 libidn-devel gmake libidn libXpm openssl-devel automake coreutils patch libltdl3-devel libltdl libopenssl0.9.7-static-devel libtool-ltdl-devel sed libXpm-devel libXpm-dev lsof krb5-dev flex glibc-dev expat-dev krb5-devel libstdc++-devel.x64_64 xorg-x11-devel glibc.i686 libtool-ltdl libssl-dev pam-devel libopenssl0-devel zlib1-devel expat-devel libopenssl0-dev gcc-c++ glibc-devel expat zlib compat-expat1 bison libjpeg-devel libgcc libtool-libltdl-devel libtool openssl-dev libopenssl0 libz-devel libgcc.i686 libjpeg-dev pam-dev fileutils libltdl-devel libopenssl0.9.7-devel e2fsprogs-devel ca_root_nss make libstdc++-dev.x86_64 libX11-devel libstdc++-devel.x86_64 gd cpp xorg-x11-dev gcc ssl-dev lex autoconf !!

!!
Since EasyApache was unable to resolve it automatically you should: 1) Manually run the failed YUM command (shown above) via SSH 2) See if your particular error is addressed at EaError < AllDocumentation < TWiki 3) Resolve the YUM problem manually 4) Re-run EasyApache !!

!! Please visit EaError < AllDocumentation < TWiki for help with this error. !!

Searched the forum and could not find the answer to this can anyone help?

- - - Updated - - -

Also I have via ssh tried running a yum update also yum clean all

Still the same result.
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,880
2,268
463
Hello :)

Please try running the command that failed and let us know the result. The full command is:

Code:
# yum -y install glibc compat-expat1.i686 gettext automake19 libstdc++.x86_64 libpng-devel openssl libpng-dev zlib-devel glibc-devel.i686 autoconf261 libidn-devel gmake libidn libXpm openssl-devel automake coreutils patch libltdl3-devel libltdl libopenssl0.9.7-static-devel libtool-ltdl-devel sed libXpm-devel libXpm-dev lsof krb5-dev flex glibc-dev expat-dev krb5-devel libstdc++-devel.x64_64 xorg-x11-devel glibc.i686 libtool-ltdl libssl-dev pam-devel libopenssl0-devel zlib1-devel expat-devel libopenssl0-dev gcc-c++ glibc-devel expat zlib compat-expat1 bison libjpeg-devel libgcc libtool-libltdl-devel libtool openssl-dev libopenssl0 libz-devel libgcc.i686 libjpeg-dev pam-dev fileutils libltdl-devel libopenssl0.9.7-devel e2fsprogs-devel ca_root_nss make libstdc++-dev.x86_64 libX11-devel libstdc++-devel.x86_64 gd cpp xorg-x11-dev gcc ssl-dev lex autoconf
Thank you.
 

mjmccoy

Registered
May 24, 2013
2
0
1
cPanel Access Level
Root Administrator
Error: Protected multilib versions: libstdc++-4.4.7-3.el6.x86_64 != libstdc++-4.4.6-4.el6.i686
Error: Protected multilib versions: zlib-1.2.3-29.el6.x86_64 != zlib-1.2.3-27.el6.i686
You could try using --skip-broken to work around the problem
** Found 2 pre-existing rpmdb problem(s), 'yum check' output follows:
frontpage-2002-SR1.2.i386 has missing requires of libexpat.so.0
sendmail-cf-8.14.4-8.el6.noarch has missing requires of sendmail = ('0', '8.14.4', '8.el6')

There are all the error messages that came up.
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,880
2,268
463
The issue is that your system package manager (YUM) is unable to update successfully due to multiple installations (32-bit and 64-bit) of the same RPM. You can try running:

Code:
# yum update libgcc
# yum update zlib
However, it's likely you will need to check to see which architecture your system uses with a command such as:

Code:
# uname -a
Then, remove the duplicate RPMs that do not match the architecture. You may want to get assistance with this from your data center or hosting provider as removing the wrong RPM can result is OS-level errors.

Thank you.