Circular Dependencies When Trying To Install Glibc, Glibc-common And Others

Any tips/tricks on how and what order I should be installing the RHEL6 packages so that I don't get dependency errors would be much appreciated.

I have sudo access (unrestricted I think) to a Linux VM running RHEL 6.3. I am trying to install an IBM product which requires KSH along with a bunch of Linux packages (both 32-bit and 64-bit versions) before it can install properly. Minimal documentation for installing on a Linux environment from IBM.

Many of the packages I am trying to install gives me a dependency failu

rpm -ivh nss-softokn-freebl-3.14.3-22.el6_6.i686.rpm
error: Failed dependencies:
libc.so.6 is needed by nss-softokn-freebl-3.14.3-22.el6_6.i686
libc.so.6(GLIBC_2.0) is needed by nss-softokn-freebl-3.14.3-22.el6_6.i686
libc.so.6(GLIBC_2.1) is needed by nss-softokn-freebl-3.14.3-22.el6_6.i686
libc.so.6(GLIBC_2.1.3) is needed by nss-softokn-freebl-3.14.3-22.el6_6.i686
libc.so.6(GLIBC_2.3) is needed by nss-softokn-freebl-3.14.3-22.el6_6.i686
libc.so.6(GLIBC_2.3.4) is needed by nss-softokn-freebl-3.14.3-22.el6_6.i686
libc.so.6(GLIBC_2.4) is needed by nss-softokn-freebl-3.14.3-22.el6_6.i686
libc.so.6(GLIBC_2.7) is needed by nss-softokn-freebl-3.14.3-22.el6_6.i686
libdl.so.2 is needed by nss-softokn-freebl-3.14.3-22.el6_6.i686
libdl.so.2(GLIBC_2.0) is needed by nss-softokn-freebl-3.14.3-22.el6_6.i686
libdl.so.2(GLIBC_2.1) is needed by nss-softokn-freebl-3.14.3-22.el6_6.i686

When I try to install GLIBC I get the following dependency failu

glibc-common = 2.12-1.149.el6_6.9 is needed by glibc-2.12-1.149.el6_6.9.i686
libfreebl3.so is needed by glibc-2.12-1.149.el6_6.9.i686
libfreebl3.so(NSSRAWHASH_3.12.3) is needed by glibc-2.12-1.149.el6_6.9.i686

And another dependency failure when installing glibc-common:
glibc = 2.12-1.149.el6_6.9 is needed by glibc-common-2.12-1.149.el6_6.9.i686
libc.so.6 is needed by glibc-common-2.12-1.149.el6_6.9.i686
libc.so.6(GLIBC_2.0) is needed by glibc-common-2.12-1.149.el6_6.9.i686
libc.so.6(GLIBC_2.1) is needed by glibc-common-2.12-1.149.el6_6.9.i686
libc.so.6(GLIBC_2.1.1) is needed by glibc-common-2.12-1.149.el6_6.9.i686
libc.so.6(GLIBC_2.1.3) is needed by glibc-common-2.12-1.149.el6_6.9.i686
libc.so.6(GLIBC_2.10) is needed by glibc-common-2.12-1.149.el6_6.9.i686
libc.so.6(GLIBC_2.2) is needed by glibc-common-2.12-1.149.el6_6.9.i686
libc.so.6(GLIBC_2.3) is needed by glibc-common-2.12-1.149.el6_6.9.i686
libcap.so.2 is needed by glibc-common-2.12-1.149.el6_6.9.i686
libdl.so.2 is needed by glibc-common-2.12-1.149.el6_6.9.i686
libdl.so.2(GLIBC_2.0) is needed by glibc-common-2.12-1.149.el6_6.9.i686
libdl.so.2(GLIBC_2.1) is needed by glibc-common-2.12-1.149.el6_6.9.i686

Should I be downloading earlier versions of glibc from the Red Hat site? Please note, I installed the x86_64-bit versions of the required packages with no issues... just getting stuck on the 32-bit components.

Also, this system is internal facing and has no route out to RHN so yum installs automatically return errors, which is why I am stuck using rpm.

Thanks in advance!


Similar Content



Unable To Install Php-mcrypt

Hello,

I tried as per http://kb.sp.parallels.com/en/118651

Code:
# rpm -Uvh http://dl.fedoraproject.org/pub/epel...6-8.noarch.rpm
Retrieving http://dl.fedoraproject.org/pub/epel...6-8.noarch.rpm
Preparing...                ########################################### [100%]
        package epel-release-6-8.noarch is already installed



[root@aa ~]# yum install php-mcrypt
Loaded plugins: fastestmirror, security
Loading mirror speeds from cached hostfile
 * epel: ftp.nluug.nl
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package php-mcrypt.x86_64 0:5.3.3-3.el6 will be installed
--> Processing Dependency: php(zend-abi) = 20090626 for package: php-mcrypt-5.3.3-3.el6.x86_64
--> Processing Dependency: php(api) = 20090626 for package: php-mcrypt-5.3.3-3.el6.x86_64
--> Finished Dependency Resolution
Error: Package: php-mcrypt-5.3.3-3.el6.x86_64 (epel)
           Requires: php(api) = 20090626
           Installed: php-common-5.4.26-32.el6.art.x86_64 (@atomic)
               php(api) = 20100412-x86-64
           Available: php-common-5.3.3-38.el6.x86_64 (base)
               php(api) = 20090626
           Available: php-common-5.3.3-40.el6_6.x86_64 (updates)
               php(api) = 20090626
Error: Package: php-mcrypt-5.3.3-3.el6.x86_64 (epel)
           Requires: php(zend-abi) = 20090626
           Installed: php-common-5.4.26-32.el6.art.x86_64 (@atomic)
               php(zend-abi) = 20100525-x86-64
           Available: php-common-5.3.3-38.el6.x86_64 (base)
               php(zend-abi) = 20090626
           Available: php-common-5.3.3-40.el6_6.x86_64 (updates)
               php(zend-abi) = 20090626
 You could try using --skip-broken to work around the problem
 You could try running: rpm -Va --nofiles --nodigest

Please advise

Thanks in anticipation

Utilizing Yum To Update Rpms Based On Linux Security Notices

Hello all.

I'm using RHEL 6.5 Workstation and have a single RHEL system connected to the internet do download rpms based on Security Notices from Red Hat. While on the RHEL system and internet I perform the below:

yum install --downloadonly --resolve --downloaddir=<directory> <package>

My goal is to ensure I capture any dependencies (which is a nightmare)and thus I use the --resolve. When I update my RHEL systems not connected to the internet I perform a yum update. For some yum updates it's goes pretty smooth but for others I'm constantly getting errors about conflicts or other similar errors. An example of when yum updates don't work can be seen below:

Resolving Dependencies
--> Running transaction check
--> Processing Dependency: freetype = 2.3.11-5.el6 for package: freetype-devel-2.3.11-5.el6.x86_64
---> Package freetype.x86_64 0:2.3.11-15.el6_6.1 set to be updated
--> Finished Dependency Resolution
Error: Package: freetype-devel-2.3.11-5.el6.x86_64 (@anaconda-RedHatEnterpriseLinux-201009221801.x86_64/6.0)
Requires: freetype = 2.3.11-5.el6
Removing: freetype-2.3.11-5.el6.x86_64 (@anaconda-RedHatEnterpriseLinux-201009221801.x86_64/6.0)
freetype = 2.3.11-5.el6
Updated By: freetype-2.3.11-15.el6_6.1.x86_64 (security)
freetype = 2.3.11-15.el6_6.1
You could try using --skip-broken to work around the problem
VRTSralus-14.1.1786-0.x86_64 has missing requires of libstdc++.so.5()(64bit)
VRTSralus-14.1.1786-0.x86_64 has missing requires of libstdc++.so.5(CXXABI_1.2)(64bit)



[root@system12 security]# yum update freetype-2.3.11-15.el6_6.1.x86_64.rpm
Loaded plugins: refresh-packagekit, rhnplugin
This system is not registered with RHN.
RHN support will be disabled.
Setting up Update Process
Examining freetype-2.3.11-15.el6_6.1.x86_64.rpm: freetype-2.3.11-15.el6_6.1.x86_64
Marking freetype-2.3.11-15.el6_6.1.x86_64.rpm as an update to freetype-2.3.11-5.el6.x86_64
Resolving Dependencies
--> Running transaction check
--> Processing Dependency: freetype = 2.3.11-5.el6 for package: freetype-devel-2.3.11-5.el6.x86_64
---> Package freetype.x86_64 0:2.3.11-15.el6_6.1 set to be updated
--> Finished Dependency Resolution
Error: Package: freetype-devel-2.3.11-5.el6.x86_64 (@anaconda-RedHatEnterpriseLinux-201009221801.x86_64/6.0)
Requires: freetype = 2.3.11-5.el6
Removing: freetype-2.3.11-5.el6.x86_64 (@anaconda-RedHatEnterpriseLinux-201009221801.x86_64/6.0)
freetype = 2.3.11-5.el6
Updated By: freetype-2.3.11-15.el6_6.1.x86_64 (/freetype-2.3.11-15.el6_6.1.x86_64)
freetype = 2.3.11-15.el6_6.1
You could try using --skip-broken to work around the problem
VRTSralus-14.1.1786-0.x86_64 has missing requires of libstdc++.so.5()(64bit)
VRTSralus-14.1.1786-0.x86_64 has missing requires of libstdc++.so.5(CXXABI_1.2)(64bit)
[root@system12 security]#

Is there something I'm not doing correctly? Again some work and some do not, as seen above the example where it does not work. Is this a larger problem? Although I'm using RHEL 6.5 on the system where I obtain my security updates are my RHEL 6.5 systems which are not connected to the internet so different (in regards to what files are installed) that dependencies differ greatly and I'm not fully appreciating the environment for my off-line systems?

A million thanks in advance,
Johnny Mac

Error After Running Yum Update - Black Screen

Can you guys advise on how to resolve this? We have a machine (RHEL 6 32bit 2.6.32-504.8.1.el6.i686) that boots to a black screen. I can SSH into it from my machine, but when you're physically at the machine it just displays a black screen.

I have tried booting from the previous 2 kernels, but still get the black screen.

I am assuming something got hosed with the video stuff? Its an ATI Radeon 4000series card. Should I install the ATI driver from their website and try? We have never had to do that with these machines though.


Also, when running a yum update, we receive this error. I'm not sure how to resolve this and if resolving this will fix the video issues.

Code:
# yum update
Loaded plugins: downloadonly, product-id, refresh-packagekit, rhnplugin, security, subscription-manager
This system is receiving updates from RHN Classic or RHN Satellite.
Setting up Update Process
Resolving Dependencies
--> Running transaction check
---> Package libudev.i686 0:147-2.46.el6 will be updated
--> Processing Dependency: libudev = 147-2.46.el6 for package: libgudev1-147-2.46.el6.i686
---> Package libudev.i686 0:147-2.57.el6 will be an update
---> Package libudev-devel.i686 0:147-2.46.el6 will be updated
---> Package libudev-devel.i686 0:147-2.57.el6 will be an update
---> Package udev.i686 0:147-2.46.el6 will be updated
---> Package udev.i686 0:147-2.57.el6 will be an update
--> Finished Dependency Resolution
Error: Package: libgudev1-147-2.46.el6.i686 (@rhel-i386-workstation-6)
           Requires: libudev = 147-2.46.el6
           Removing: libudev-147-2.46.el6.i686 (@rhel-i386-workstation-6)
               libudev = 147-2.46.el6
           Updated By: libudev-147-2.57.el6.i686 (rhel-i386-workstation-6)
               libudev = 147-2.57.el6
           Available: libudev-147-2.29.el6.i686 (rhel-i386-workstation-6)
               libudev = 147-2.29.el6
           Available: libudev-147-2.35.el6.i686 (rhel-i386-workstation-6)
               libudev = 147-2.35.el6
           Available: libudev-147-2.40.el6.i686 (rhel-i386-workstation-6)
               libudev = 147-2.40.el6
           Available: libudev-147-2.41.el6.i686 (rhel-i386-workstation-6)
               libudev = 147-2.41.el6
           Available: libudev-147-2.42.el6.i686 (rhel-i386-workstation-6)
               libudev = 147-2.42.el6
           Available: libudev-147-2.46.el6_4.2.i686 (rhel-i386-workstation-6)
               libudev = 147-2.46.el6_4.2
           Available: libudev-147-2.51.el6.i686 (rhel-i386-workstation-6)
               libudev = 147-2.51.el6
 You could try using --skip-broken to work around the problem
 You could try running: rpm -Va --nofiles --nodigest


Heres after running yum update --skip-broken:

Code:
# yum update --skip-broken
Loaded plugins: downloadonly, product-id, refresh-packagekit, rhnplugin, security, subscription-manager
This system is receiving updates from RHN Classic or RHN Satellite.
Setting up Update Process
Resolving Dependencies
--> Running transaction check
---> Package libudev.i686 0:147-2.46.el6 will be updated
--> Processing Dependency: libudev = 147-2.46.el6 for package: libgudev1-147-2.46.el6.i686
---> Package libudev.i686 0:147-2.57.el6 will be an update
---> Package libudev-devel.i686 0:147-2.46.el6 will be updated
---> Package libudev-devel.i686 0:147-2.57.el6 will be an update
---> Package udev.i686 0:147-2.46.el6 will be updated
---> Package udev.i686 0:147-2.57.el6 will be an update
--> Running transaction check
---> Package libudev.i686 0:147-2.46.el6 will be updated
---> Package libudev.i686 0:147-2.57.el6 will be an update
--> Processing Dependency: libudev = 147-2.57.el6 for package: libudev-devel-147-2.57.el6.i686
--> Running transaction check
---> Package udev.i686 0:147-2.46.el6 will be updated
--> Processing Dependency: udev = 147-2.46.el6 for package: libudev-devel-147-2.46.el6.i686
---> Package udev.i686 0:147-2.57.el6 will be an update

Packages skipped because of dependency problems:
    libudev-147-2.57.el6.i686 from rhel-i386-workstation-6
    libudev-devel-147-2.57.el6.i686 from rhel-i386-workstation-6
    udev-147-2.57.el6.i686 from rhel-i386-workstation-6

Thanks in advance.

How To Resolve Extract These First Column From The Output

Dear friends:
I want to extract the dependencies to a file from the output of rpm
how to resolve this problme
rpm -ivh condor-7.9.5-126.2.x86_64.rpm
warning: condor-7.9.5-126.2.x86_64.rpm: Header V3 RSA/SHA1 Signature, key ID 1221a38b: NOKEY
error: Failed dependencies:
globus-common is needed by condor-7.9.5-126.2.x86_64
globus-gsi-callback is needed by condor-7.9.5-126.2.x86_64
globus-rsl is needed by condor-7.9.5-126.2.x86_64
libboost_python.so.1.54.0()(64bit) is needed by condor-7.9.5-126.2.x86_64
libglobus_callout.so.0()(64bit) is needed by condor-7.9.5-126.2.x86_64
libglobus_common.so.0()(64bit) is needed by condor-7.9.5-126.2.x86_64
libglobus_common.so.0(GLOBUS_COMMON_14)(64bit) is needed by condor-7.9.5-126.2.x86_64
libglobus_ftp_control.so.1()(64bit) is needed by condor-7.9.5-126.2.x86_64
libglobus_gass_transfer.so.2()(64bit) is needed by condor-7.9.5-126.2.x86_64
libglobus_gram_client.so.3()(64bit) is needed by condor-7.9.5-126.2.x86_64
libglobus_gram_protocol.so.3()(64bit) is needed by condor-7.9.5-126.2.x86_64
libglobus_gsi_callback.so.0()(64bit) is needed by condor-7.9.5-126.2.x86_64
libglobus_gsi_cert_utils.so.0()(64bit) is needed by condor-7.9.5-126.2.x86_64
libglobus_gsi_credential.so.1()(64bit) is needed by condor-7.9.5-126.2.x86_64
libglobus_gsi_proxy_core.so.0()(64bit) is needed by condor-7.9.5-126.2.x86_64
libglobus_gsi_sysconfig.so.1()(64bit) is needed by condor-7.9.5-126.2.x86_64
libglobus_gss_assist.so.3()(64bit) is needed by condor-7.9.5-126.2.x86_64
libglobus_gssapi_error.so.2()(64bit) is needed by condor-7.9.5-126.2.x86_64
libglobus_gssapi_gsi.so.4()(64bit) is needed by condor-7.9.5-126.2.x86_64
libglobus_gssapi_gsi.so.4(globus_gssapi_gsi)(64bit) is needed by condor-7.9.5-126.2.x86_64
libglobus_io.so.3()(64bit) is needed by condor-7.9.5-126.2.x86_64
libglobus_oldgaa.so.0()(64bit) is needed by condor-7.9.5-126.2.x86_64
libglobus_openssl.so.0()(64bit) is needed by condor-7.9.5-126.2.x86_64
libglobus_openssl_error.so.0()(64bit) is needed by condor-7.9.5-126.2.x86_64
libglobus_proxy_ssl.so.1()(64bit) is needed by condor-7.9.5-126.2.x86_64
libglobus_rsl.so.2()(64bit) is needed by condor-7.9.5-126.2.x86_64
libglobus_xio.so.0()(64bit) is needed by condor-7.9.5-126.2.x86_64
libstdc++.so.6(GLIBCXX_3.4.18)(64bit) is needed by condor-7.9.5-126.2.x86_64

Mysql Is Not Working In Php On Centos

I have installed httpd, mysql, php on a centos machine. Php executes in the browser of my machines website, mysql can be ran from the command line, but mysql within php in a browser will not work.
I know my code is syntactically correct since it will run on another Centos Lamp machine and NetBeans says it is.
My code
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="refresh" content="300">
<title> Freeze Warn Points table Query"</title>
</head>
<body>
<?php
include("config.php");
echo $dbhost;
echo "<br />\n";
echo $dbuser;
echo "<br />\n";
echo $dbpasswd;
echo "<br />\n";
mysql_connect($dbhost, $dbuser, $dbpasswd) or die("Unable to connect to database");
echo 'Connected Successfully';
mysql_select_db($dbname);

echo "zone"."&nbsp;&nbsp;&nbsp;&nbsp;";
echo "currentLow"."&nbsp;&nbsp;&nbsp;"."dateLastRep"."&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;";
echo "priority"."&nbsp;&nbsp;&nbsp;"."siteId"."&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs p;&nbsp"."siteName";
echo "<br />\n";

$result = $sql = 'SELECT zone, currentLow, dateLastRep, pri, siteId, siteName from points order by zone, pri';
$numRows = mysql_num_rows($result);
echo "Matches: ".mysql_num_rows($result);
for($a=0; $a<$numRows; $a++)
{ $rowArray = mysql_fetch_row($result);
echo $rowArray[0]." ".$rowArray[1]." ".$rowArray[2]." ".$rowArray[3]." ".$rowArray[4]."&nbsp;&nbsp;&nbsp".$rowArray[5]."<br />";
}
mysql_close();
?>
</body>
</html>


When executed on the CENTOS lamp machine in question out puts this

"; $result=mysql_query("SELECT rpad(zone,6,'-'), rpad(currentLow,13,'-'), rpad(dateLastRep,13,'-'), rpad(pri,8,'-'), rpad(siteId,6,'-'), siteName from points order by zone, pri"); $numRows = mysql_num_rows($result); for($a=0; $a<$numRows; $a++) { $rowArray = mysql_fetch_row($result); echo $rowArray[0]." ".$rowArray[1]." ".$rowArray[2]." ".$rowArray[3]." ".$rowArray[4]." ".$rowArray[5]."
"; } mysql_close(); ?>


When I put the same code in the other machine, (it does not have the mysql database so it will not connect) displays this

204.227.112.31
apache
password
Unable to connect to database

httpd is running of course
mysqld is running
I have
mysql-server-5.1.73-3.el6_5.x86_64
php-mysql-5.3.3-40.el6_6.x86_64
mysql-devel-5.1.73-3.el6_5.x86_64
mysql-libs-5.1.73-3.el6_5.x86_64
mysql-connector-odbc-5.1.5r1144-7.el6.x86_64
mysql-5.1.73-3.el6_5.x86_64
php-mbstring-5.3.3-40.el6_6.x86_64
php-odbc-5.3.3-40.el6_6.x86_64
php-imap-5.3.3-40.el6_6.x86_64
php-mysql-5.3.3-40.el6_6.x86_64
php-xml-5.3.3-40.el6_6.x86_64
phpmyadmin-2.11.11.3-2.el6.rf.noarch
php-cli-5.3.3-40.el6_6.x86_64
php-xmlrpc-5.3.3-40.el6_6.x86_64
php-gd-5.3.3-40.el6_6.x86_64
php-5.3.3-40.el6_6.x86_64
php-pdo-5.3.3-40.el6_6.x86_64
php-common-5.3.3-40.el6_6.x86_64
php-ldap-5.3.3-40.el6_6.x86_64
php-pear-1.9.4-4.el6.noarch

Installed.

I checked the php.ini files and the httpd.conf files with the LAMP machine it works on and have been unable to find any discrepancies.
Unless I missed something.

Selinux is disabled.

I know it is not my code, but some type of setting somewhere on my machine, I have not been able to find.
I have been unable to find any thing like this issue.

Thanks,
Nancy

Acer Aspire One I686

Hi, i have an older netbook that i love so much and refuse to give in and get a new one but it came stock with windows xp which is no longer supported so i looked into converting it to a linux distribution instead. i researched and found out that the ubuntu was highly recomended and i had to use Wubi to install it since the usb ports on my device say hub port power surge every time that i plug something into them, well once i got everything downloaded and then got to the startup menu where i was instructed to choose between ubuntu and windows, and i selected ubuntu, i was alerted that i needed to select a kernel for a cpu of i686. I am not really a tech whiz so what is the next best reccomended step that i need to take in order to use linux?

thanks,
Carolynne

Rpm Not Working

Hi All,

I am having RHEL 5.4 64-bit OS. When I run the command "rpm --help" I get the following error. Please help:

rpm: /usr/lib64/libpopt.so.0: no version information available (required by rpm)
rpm: /usr/lib64/libpopt.so.0: no version information available (required by /usr/lib64/librpmbuild.so.1)
rpm: /usr/lib64/libpopt.so.0: no version information available (required by /usr/lib64/librpm.so.1)
rpm: /usr/lib64/libpopt.so.0: no version information available (required by /usr/lib64/librpmio.so.1)
rpm: /lib64/libc.so.6: version `GLIBC_2.7' not found (required by /usr/lib64/liblua-5.1.so)
rpm: /lib64/libc.so.6: version `GLIBC_2.11' not found (required by /usr/lib64/liblua-5.1.so)

Thanks in advance.

Changing Cursor Color In Gedit

Hi, I am working with scientific linux 4 with specification Linux localhost.localdomain 2.6.9-67.EL.cernsmp #1 SMP Wed Nov 21 16:22:33 CET 2007 i686 i686 i386 GNU/Linux. How can I change my cursor color from black to green in gedit. thanks in advance.

Biplab Bijay

After Rebuild Of Tslib Qt Failed With Error Ts_config() 'no Such File Or Dir'

I downloaded tslib-1.1.tar.gz and configured to cross compiled for my ARM target machine.

Was able to build and make install on my Ubuntu host machine successfully. On my taget machine I copied created a backup of my original libts-1.0.so.0.0.0 and SFTP'd from my host the version I built to my target machine and over wrote current libts-1.0.so.0.0.0 to keep the links.
reboot my taget and now get

QWSTslibMouseHandlerPrivate: ts_config() failed with error: 'No such file or directory'
Please check your tslib installation!

running ldd on the taget against the backup (.bu version) and new versions shows the same dependancies.

root@at91sam9m10g45ek:~# ./ldd /usr/lib/libts-1.0.so.0.0.0
libdl.so.2 => /lib/libdl.so.2 (0x4000b000)
libc.so.6 => /lib/libc.so.6 (0x40016000)
/lib/ld-linux.so.3 (0x2a000000)
root@at91sam9m10g45ek:~# ./ldd /usr/lib/libts-1.0.so.0.0.0.bu
libdl.so.2 => /lib/libdl.so.2 (0x4000b000)
libc.so.6 => /lib/libc.so.6 (0x40016000)
/lib/ld-linux.so.3 (0x2a000000)

Using nm verified ts_config() existed in the new version.

Any suggestions why I am getting the error?

Multiple Openssl

Hi,

Friends,

Good Morning to all. I have some queries about openssl. I googled for by query but i did not got the relevant answer, hence I came here and i am guaranteed that you gyes will help me definitely as you helped me before as well.

My scenario is I had one centOS 6 server which had openssl version as
Code:
 rpm -qa|grep openssl
openssl-1.0.1e-30.el6_6.5.x86_64
openssl-devel-1.0.1e-30.el6_6.5.x86_64

CentOS 6 provides php5.3 as default
Code:
yum list php
Loaded plugins: downloadonly, fastestmirror, presto
Determining fastest mirrors
base                                                                                                                                    | 3.7 kB     00:00
epel                                                                                                                                    | 4.4 kB     00:00
epel/primary_db                                                                                                                         | 6.4 MB     00:00
extras                                                                                                                                  | 3.4 kB     00:00
panopta                                                                                                                                 |  951 B     00:00
updates                                                                                                                                 | 3.4 kB     00:00
updates/primary_db                                                                                                                      | 2.1 MB     00:00
Available Packages
php.x86_64                                                                5.3.3-40.el6_6                                                                updates

But I need php5.2, so i preferd to go compilation. It gave me some errors while doing make regarding openssl. I googled for it, gave solution of downgrading openssl.

As default openssl can't be removed, I prefered installing openssl-0.9.x through compilation with --prefix option. After doing I was able to compile php-5.2 successfully.

Now in my server there are followings installed.

Code:
[next02admin@NEXT02VMD02 ~]$ /usr/bin/openssl version
OpenSSL 1.0.1e-fips 11 Feb 2013 (the default one)

[next02admin@NEXT02VMD02 ~]$ /usr/local/bin/openssl version
OpenSSL 0.9.8e 23 Feb 2007 (the compiled one)

[next02admin@NEXT02VMD02 ~]$ php -v
PHP 5.2.10 (cli) (built: Jul  1 2014 00:39:27)
Copyright (c) 1997-2009 The PHP Group
Zend Engine v2.2.0, Copyright (c) 1998-2009 Zend Technologies

[next02admin@NEXT02VMD02 ~]$ rpm -qa|grep httpd
httpd-tools-2.2.15-39.el6.centos.x86_64
httpd-2.2.15-39.el6.centos.x86_64
httpd-devel-2.2.15-39.el6.centos.x86_64

Now My question is,
1) Is it safe to use both openssl versions simultaneously.
2) Will it cause any vulnerability on my site (prod ENV), if it will affect to prod env, then to what extend.

Your replies will be very very appreciable. I will be very thankful to you.

Regards,

SSR