Hello,

I've found out that OpenSSL fails to build correctly on FreeBSD
5.3-RELEASE machine, producing cryptic assembler messages.

Further investingation shows that Openssl is configured for
BSD-x86 (a.out) architecture instead of BSD-x86-elf

problem is that elf/a.out test in config looks like 

===
 *86*-*-*bsd*)     case "`(file -L /usr/lib/libc.so.*) 2>/dev/null`" in
            *ELF*)  OUT="BSD-x86-elf" ;;
            *)  OUT="BSD-x86"; options="$options no-sse2" ;;
            esac ;;
===

This test fails, due to absense of files /usr/lib/libc.so.* on my machine
====
ls -l /usr/lib/libc.*
-r--r--r--  1 root  wheel  1874022  5 ���  2004 /usr/lib/libc.a
lrwxrwxrwx  1 root  wheel       14  9 ��� 20:05 /usr/lib/libc.so -> 
/lib/libc.so.5
====
It seems that on newer BSD systems actual shared libc lives in /lib rather than 
in /usr/lib. 

Following patch fixes this problem. It is tested on both 
FreeBSD 5.3-RELEASE (new layout of filesystem) and FreeBSD 4.8-RELEASE (old 
layout with shared libc in /usr/lib)


______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
Development Mailing List                       [email protected]
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to