On 07-08-2013 17:57, Lutz Jaenicke wrote:
Forwarded to openssl-users for discussion.

----- Forwarded message from gate Bill <winlinke...@gmail.com> -----

Date: Tue, 6 Aug 2013 17:22:54 +0800
From: gate Bill <winlinke...@gmail.com>
To: openssl-b...@openssl.org
Subject: update openssl error

hello
    my linux env:
         centos 6.4 x64
         gcc 4.8.1
         2.6.32-358.6.2.el6.x86_64
         compile step:
          wget http://www.openssl.org/source/openssl-1.0.1e.tar.gz
          tar zxf openssl-1.0.1e.tar.gz
          cd openssl-1.0.1e &&  ./config zlib shared threads --prefix=/usr
--openssldir=/etc/pki/tls && make && make test && make install && ldconfig
&& cd ../ && echo 'OK!'
           the command    openssl version -a display is right
            but when i exec this /etc/init.d/ssh restart,display this error:
             OpenSSL version mismatch. Built against
(And there you clipped out the final part of the message).

The problem is that you have overwritten the OpenSSL shared libraries in
/usr/lib with the one you just compiled, thus breaking all programs linked
against the OpenSSL libraries that came with your distribution.

So you need to reinstall the original CentOS 6.4 OpenSSL packages, then
compile your own copy of OpenSSL in a location other than /usr, perhaps
/usr/local/
so i think maybe need to upgrade the openssh,so i do like this
echo "Updateting Openssh"
yum -y install libedit libedit-devel libbsd libbsd-devel  pam  pam-devel
krb5-devel audit-libs audit-libs-devel
cd openssh-6.2p2 && ./configure --sysconfdir=/etc/ssh --prefix=/usr
--with-cflags --with-cppflags --with-ldflags --with-libs --with-Werror
--with-solaris-contracts --with-solaris-projects --with-osfsia
--with-zlib=/usr --with-tcp-wrappers=/usr --with-libedit=/usr
--with-audit=linux --with-ssl-dir=/etc/pki/tls --with-ssl-engine --with-pam
--with-selinux --with-kerberos5=/usr --with-md5-passwords --with-bsd-auth
--with-ipaddr-display --with-4in6

but the still the same problem,so,what should i do?
i'm waiting your answer???thank u

----- End forwarded message -----


Enjoy

Jakob
--
Jakob Bohm, CIO, Partner, WiseMo A/S.  http://www.wisemo.com
Transformervej 29, 2730 Herlev, Denmark.  Direct +45 31 13 16 10
This public discussion message is non-binding and may contain errors.
WiseMo - Remote Service Management for PCs, Phones and Embedded

______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    openssl-users@openssl.org
Automated List Manager                           majord...@openssl.org

Reply via email to