Hi Steve,

On Tue, Nov 12, 2013 at 08:47:31PM +0000, steve wrote:
> I followed those exact commands on a fresh CentOS 6.x server and it works.. 
> (just for record if anyone runs into this thread I have added all the 
> commands I have run)

Just for your info, I found the issue in your original build :

[root@lb3 haproxy]# ls -la /usr/lib64/libcrypt*                           
-rw-r--r-- 1 root root 4319720 Nov 11 17:57 /usr/lib64/libcrypto.a         
lrwxrwxrwx 1 root root      18 Nov 11 16:57 /usr/lib64/libcrypto.so -> 
libcrypto.so.1.0.0
lrwxrwxrwx 1 root root      18 Jan  2  2013 /usr/lib64/libcrypto.so.10 -> 
libcrypto.so.1.0.0
-rwxr-xr-x 1 root root 1662832 Aug 23  2012 /usr/lib64/libcrypto.so.1.0.0
lrwxrwxrwx 1 root root      25 Nov 11 16:56 /usr/lib64/libcrypt.so -> 
../../lib64/libcrypt.so.1

Look closely to the date of libcrypto.so.1.0.0. Only the .a
was rebuilt when you upgraded your openssl, not the .so. So
you have two different versions in parallel. The linker picks
the .so prior to the .a so it tried to build using the old
version, which is incompatible with your include files, hence
the errors you got.

You'll probably need to clean up a few things on your system
now, at least re-install the original packages to restore the
.a and includes.

Willy


Reply via email to