[users@httpd] Apache 2.2.0 SSL build issues: multiple definition of`SHA256_Update'

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi All,

I am having issues building apache 2.2.0 with the
--enable-static-support configure flag, if I leave it out, it compiles
just fine.  2.0.54, and 55 work fine with the --enable-static-support
flag.   Here's my configure flags, and my errors.   

RHEL 3
OpenSSL 0.9.8

./configure
--prefix=/var/build/edg-bali/Build/edg/edg-build/httpd.2.2.0/build
--bindir=/var/build/edg-bali/Build/edg/edg-build/httpd.2.2.0/build/bin.Linux --libdir=/var/build/edg-bali/Build/edg/edg-build/httpd.2.2.0/build/lib.Linux --sbindir=/var/build/edg-bali/Build/edg/edg-build/httpd.2.2.0/build/sbin.Linux --libexec=/var/build/edg-bali/Build/edg/edg-build/httpd.2.2.0/build/libexec.Linux --with-ssl=/var/build/edg-bali/Build/edg/edg-build/httpd.2.2.0/../openssl/build --with-mpm=prefork --enable-static-support --enable-ssl=static --enable-v4-mapped --enable-berkeley-db=/var/build/edg-bali/Build/edg/edg-build/httpd.2.2.0/../berkeleydb/build

Making all in support
make[3]: Entering directory
`/var/build/edg-bali/Build/edg/edg-build/httpd.2.2.0/src/httpd-2.2.0/support'
make[4]: Entering directory
`/var/build/edg-bali/Build/edg/edg-build/httpd.2.2.0/src/httpd-2.2.0/support'
/var/build/edg-bali/Build/edg/edg-build/httpd.2.2.0/src/httpd-2.2.0/srclib/apr/libtool --silent --mode=link gcc -g -O2 -pthread     -L/var/build/edg-bali/Build/edg/edg-build/openssl/build/lib   -o ab -static ab.lo   -lm /var/build/edg-bali/Build/edg/edg-build/httpd.2.2.0/src/httpd-2.2.0/srclib/pcre/libpcre.la /var/build/edg-bali/Build/edg/edg-build/httpd.2.2.0/src/httpd-2.2.0/srclib/apr-util/libaprutil-1.la -lgdbm -ldb-4.1 -lexpat /var/build/edg-bali/Build/edg/edg-build/httpd.2.2.0/src/httpd-2.2.0/srclib/apr/libapr-1.la -luuid -lrt -lcrypt -lpthread -ldl -lssl -lcrypto -L/usr/kerberos/lib -lgssapi_krb5 -lkrb5 -lcom_err -lk5crypto -lresolv -ldl -lz
/var/build/edg-bali/Build/edg/edg-build/openssl/build/lib/libcrypto.a(sha256.o)(.text+0x0): In function `SHA256_Update':
: multiple definition of `SHA256_Update'
/var/build/edg-bali/Build/edg/edg-build/httpd.2.2.0/src/httpd-2.2.0/srclib/apr/.libs/libapr-1.a(sha2.o)(.text+0x284):random/unix/sha2.c:451: first defined here
/usr/bin/ld: Warning: size of symbol `SHA256_Update' changed from 291
in /var/build/edg-bali/Build/edg/edg-build/httpd.2.2.0/src/httpd-2.2.0/srclib/apr/.libs/libapr-1.a(sha2.o) to 759 in /var/build/edg-bali/Build/edg/edg-build/httpd.2.2.0/src/httpd-2.2.0/srclib/apr/.libs/libapr-1.a(sha2.o)
/var/build/edg-bali/Build/edg/edg-build/openssl/build/lib/libcrypto.a(sha256.o)(.text+0x300): In function `SHA256_Final':
: multiple definition of `SHA256_Final'
/var/build/edg-bali/Build/edg/edg-build/httpd.2.2.0/src/httpd-2.2.0/srclib/apr/.libs/libapr-1.a(sha2.o)(.text+0x3a8):random/unix/sha2.c:500: first defined here
/usr/bin/ld: Warning: size of symbol `SHA256_Final' changed from 482
in /var/build/edg-bali/Build/edg/edg-build/httpd.2.2.0/src/httpd-2.2.0/srclib/apr/.libs/libapr-1.a(sha2.o) to 346 in /var/build/edg-bali/Build/edg/edg-build/httpd.2.2.0/src/httpd-2.2.0/srclib/apr/.libs/libapr-1.a(sha2.o)
/var/build/edg-bali/Build/edg/edg-build/openssl/build/lib/libcrypto.a(sha256.o)(.text+0x500): In function `SHA256_Init':
: multiple definition of `SHA256_Init'
/var/build/edg-bali/Build/edg/edg-build/httpd.2.2.0/src/httpd-2.2.0/srclib/apr/.libs/libapr-1.a(sha2.o)(.text+0x0):random/unix/sha2.c:267: first defined here
/usr/bin/ld: Warning: size of symbol `SHA256_Init' changed from 70
in /var/build/edg-bali/Build/edg/edg-build/httpd.2.2.0/src/httpd-2.2.0/srclib/apr/.libs/libapr-1.a(sha2.o) to 93 in /var/build/edg-bali/Build/edg/edg-build/httpd.2.2.0/src/httpd-2.2.0/srclib/apr/.libs/libapr-1.a(sha2.o)
/var/build/edg-bali/Build/edg/edg-build/openssl/build/lib/libcrypto.a(sha256.o)(.text+0x720): In function `SHA256_Transform':
: multiple definition of `SHA256_Transform'
/var/build/edg-bali/Build/edg/edg-build/httpd.2.2.0/src/httpd-2.2.0/srclib/apr/.libs/libapr-1.a(sha2.o)(.text+0x48):random/unix/sha2.c:371: first defined here
/usr/bin/ld: Warning: size of symbol `SHA256_Transform' changed from 569
in /var/build/edg-bali/Build/edg/edg-build/httpd.2.2.0/src/httpd-2.2.0/srclib/apr/.libs/libapr-1.a(sha2.o) to 24 in /var/build/edg-bali/Build/edg/edg-build/httpd.2.2.0/src/httpd-2.2.0/srclib/apr/.libs/libapr-1.a(sha2.o)
collect2: ld returned 1 exit status
make[4]: *** [ab] Error 1
make[4]: Leaving directory
`/var/build/edg-bali/Build/edg/edg-build/httpd.2.2.0/src/httpd-2.2.0/support'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory
`/var/build/edg-bali/Build/edg/edg-build/httpd.2.2.0/src/httpd-2.2.0/support'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory
`/var/build/edg-bali/Build/edg/edg-build/httpd.2.2.0/src/httpd-2.2.0'
make[1]: ***
[/var/build/edg-bali/Build/edg/edg-build/httpd.2.2.0/stage.build] Error
1
make[1]: Leaving directory
`/var/build/edg-bali/Build/edg/edg-build/httpd.2.2.0'
make: *** [build] Error 2

Attachment: smime.p7s
Description: S/MIME cryptographic signature


[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux