Hey guys,
I'm trying to install the latest Kerio and it seems to want an older version of libstdc++ which I cannot find anywhere in RPM land
(sorry, but I just know gmail is going to mangle this on its way out )
[root@localhost ~]# rpm --install /home/amckay/kerio-kms-6.7.3-7892.linux.i386.rpm error: Failed dependencies: libstdc++.so.5 is needed by kerio-kms-6.7.3-7892.linux.i386 libstdc++.so.5(CXXABI_1.2) is needed by kerio-kms-6.7.3-7892.linux.i386 libstdc++.so.5(GLIBCPP_3.2) is needed by kerio-kms-6.7.3-7892.linux.i386 libstdc++.so.5(GLIBCPP_3.2.2) is needed by kerio-kms-6.7.3-7892.linux.i386
[root@localhost ~]# yum --enablerepo=* search libstdc++ Loaded plugins: fastestmirror, priorities Loading mirror speeds from cached hostfile * addons: centos.mirror.iweb.ca * base: centos.mirror.iweb.ca * centosplus: centos.mirror.iweb.ca * epel: serverbeach1.fedoraproject.org * epel-debuginfo: mirror.ipnode.info * epel-source: serverbeach1.fedoraproject.org * epel-testing: serverbeach1.fedoraproject.org * epel-testing-debuginfo: mirror.ipnode.info * epel-testing-source: serverbeach1.fedoraproject.org * extras: centos.mirror.iweb.ca * updates: centos.mirror.iweb.ca addons | 951 B 00:00 base | 2.1 kB 00:00 centosplus | 1.9 kB 00:00 centosplus/primary_db | 98 kB 00:00 dag | 1.1 kB 00:00 epel | 3.4 kB 00:00 epel-debuginfo | 2.6 kB 00:00 epel-debuginfo/primary_db | 366 kB 00:00 epel-source | 2.8 kB 00:00 epel-source/primary_db | 693 kB 00:00 epel-testing | 3.4 kB 00:00 epel-testing/primary_db | 239 kB 00:00 epel-testing-debuginfo | 2.6 kB 00:00 epel-testing-debuginfo/primary_db | 28 kB 00:00 epel-testing-source | 2.8 kB 00:00 epel-testing-source/primary_db | 64 kB 00:00 extras | 1.1 kB 00:00 pgdg84 | 1.2 kB 00:00 pgdg84/primary | 38 kB 00:00 http://192.168.0.9/ks/postgres/8.4.1/rhel-5-x86_64/repodata/primary.xml.gz: [Errno -3] Error performing checksum Trying other mirror. updates | 1.9 kB 00:00 3381 packages excluded due to repository priority protections ==================================================== Matched: libstdc++ ==================================================== compat-libstdc++-296.i386 : Compatibility 2.96-RH standard C++ libraries compat-libstdc++-33.i386 : Compatibility standard C++ libraries compat-libstdc++-33.x86_64 : Compatibility standard C++ libraries libstdc++.i386 : GNU Standard C++ Library libstdc++.x86_64 : GNU Standard C++ Library libstdc++-devel.i386 : Header files and libraries for C++ development libstdc++-devel.x86_64 : Header files and libraries for C++ development libstdc++44-devel.i386 : Header files and libraries for C++ development libstdc++44-devel.x86_64 : Header files and libraries for C++ development [root@localhost ~]# yum -y install compat-libstdc++ libstdc++-devel Loaded plugins: fastestmirror, priorities Loading mirror speeds from cached hostfile * addons: centos.mirror.iweb.ca * base: centos.mirror.iweb.ca * epel: mirror.ipnode.info * extras: centos.mirror.iweb.ca * updates: centos.mirror.iweb.ca 3332 packages excluded due to repository priority protections Setting up Install Process No package compat-libstdc++ available. Package libstdc++-devel-4.1.2-46.el5_4.1.x86_64 already installed and latest version Resolving Dependencies --> Running transaction check ---> Package libstdc++-devel.i386 0:4.1.2-46.el5_4.1 set to be updated --> Finished Dependency Resolution
Dependencies Resolved
============================================================================================================================ Package Arch Version Repository Size ============================================================================================================================ Installing: libstdc++-devel i386 4.1.2-46.el5_4.1 updates 2.8 M
Transaction Summary ============================================================================================================================ Install 1 Package(s) Update 0 Package(s) Remove 0 Package(s)
Total download size: 2.8 M Downloading Packages: libstdc++-devel-4.1.2-46.el5_4.1.i386.rpm | 2.8 MB 00:03 Running rpm_check_debug Running Transaction Test Finished Transaction Test Transaction Test Succeeded Running Transaction Installing : libstdc++-devel 1/1
Installed: libstdc++-devel.i386 0:4.1.2-46.el5_4.1
Complete! [root@localhost ~]# rpm --install /home/amckay/kerio-kms-6.7.3-7892.linux.i386.rpm error: Failed dependencies: libstdc++.so.5 is needed by kerio-kms-6.7.3-7892.linux.i386 libstdc++.so.5(CXXABI_1.2) is needed by kerio-kms-6.7.3-7892.linux.i386 libstdc++.so.5(GLIBCPP_3.2) is needed by kerio-kms-6.7.3-7892.linux.i386 libstdc++.so.5(GLIBCPP_3.2.2) is needed by kerio-kms-6.7.3-7892.linux.i386 [root@localhost ~]# rpm -qa | grep -i libstdc libstdc++-4.1.2-46.el5_4.1 libstdc++-4.1.2-46.el5_4.1 libstdc++-devel-4.1.2-46.el5_4.1 libstdc++-devel-4.1.2-46.el5_4.1 [root@localhost ~]#
On Wednesday 09 December 2009, Alan McKay alan.mckay@gmail.com wrote:
Complete! [root@localhost ~]# rpm --install /home/amckay/kerio-kms-6.7.3-7892.linux.i386.rpm error: Failed dependencies: libstdc++.so.5 is needed by kerio-kms-6.7.3-7892.linux.i386 libstdc++.so.5(CXXABI_1.2) is needed by kerio-kms-6.7.3-7892.linux.i386 libstdc++.so.5(GLIBCPP_3.2) is needed by kerio-kms-6.7.3-7892.linux.i386 libstdc++.so.5(GLIBCPP_3.2.2) is needed by kerio-kms-6.7.3-7892.linux.i386 [root@localhost ~]# rpm -qa | grep -i libstdc libstdc++-4.1.2-46.el5_4.1 libstdc++-4.1.2-46.el5_4.1 libstdc++-devel-4.1.2-46.el5_4.1 libstdc++-devel-4.1.2-46.el5_4.1 [root@localhost ~]#
The compat-libstdc++-33 package in base appears to supply this library.
Hey Alan,
On 12/09/2009 07:56 PM, Alan McKay wrote:
[root@localhost ~]# rpm --install /home/amckay/kerio-kms-6.7.3-7892.linux.i386.rpm error: Failed dependencies: libstdc++.so.5 is needed by kerio-kms-6.7.3-7892.linux.i386 libstdc++.so.5(CXXABI_1.2) is needed by kerio-kms-6.7.3-7892.linux.i386 libstdc++.so.5(GLIBCPP_3.2) is needed by kerio-kms-6.7.3-7892.linux.i386 libstdc++.so.5(GLIBCPP_3.2.2) is needed by kerio-kms-6.7.3-7892.linux.i386
Why don't you let yum handle this?
# yum whatprovides libstdc++.so.5 [..] compat-libstdc++-33-3.2.3-61.i386 : Compatibility standard C++ libraries Repo : base Matched from: Other : libstdc++.so.5
so a quick 'yum install kerio-kms-6.7.3-7892.linux.i386.rpm' should do the trick.
hth, Chris
On Wed, Dec 9, 2009 at 2:15 PM, Chris Spike chris.spike@arcor.de wrote:
# yum whatprovides libstdc++.so.5
oooo, hey, I didn't know that feature! great, thanks!
Bingo!
[root@localhost ~]# rpm --install /home/amckay/kerio-kms-6.7.3-7892.linux.i386.rpm
Thank you for installing Kerio MailServer 6.7.3!
Please consult LINUX-README file for essential instructions on how to operate KMS in Linux operating environment.
To view the README file, type
less /opt/kerio/mailserver/doc/LINUX-README