You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Nico De Ranter <ni...@sonycom.com> on 2006/02/06 09:51:10 UTC
Re: [users@httpd] sumbol multiple-defined when compiling httpd
2.2.0 on Solaris 8
Hi Joe,
thanks but I don't seem to be able to apply the patch (on a fresh
httpd-2.2.0 directory)
mena.[root]# cd httpd-2.2.0/srclib/apr
mena.[root]# patch -p1 < apr-1.2.2-random.patch
Looks like a unified context diff.
Hunk #1 failed at line 57.
Hunk #2 failed at line 5.
Hunk #3 failed at line 150.
Hunk #4 failed at line 264.
Hunk #5 failed at line 310.
Hunk #6 failed at line 368.
Hunk #7 failed at line 448.
Hunk #8 failed at line 471.
Hunk #9 failed at line 483.
Hunk #10 failed at line 497.
Hunk #11 failed at line 524.
Hunk #12 failed at line 540.
Hunk #13 failed at line 561.
Hunk #14 failed at line 569.
Hunk #15 failed at line 584.
Hunk #16 failed at line 639.
Hunk #17 failed at line 694.
Hunk #18 failed at line 772.
Hunk #19 failed at line 795.
Hunk #20 failed at line 807.
Hunk #21 failed at line 821.
Hunk #22 failed at line 843.
Hunk #23 failed at line 860.
Hunk #24 failed at line 871.
Hunk #25 failed at line 892.
Hunk #26 failed at line 900.
Hunk #27 failed at line 915.
Hunk #28 failed at line 934.
Hunk #29 failed at line 946.
Hunk #30 failed at line 967.
Hunk #31 failed at line 975.
Hunk #32 failed at line 990.
32 out of 32 hunks failed: saving rejects to random/unix/sha2.h.rej
Nico
On Fri, 2006-02-03 at 16:05 +0000, Joe Orton wrote:
> On Fri, Feb 03, 2006 at 03:52:37PM +0100, Nico De Ranter wrote:
> > I'm trying to compile httpd 2.2.0 on Solaris 8. When I do 'make
> > install' it stops with the following error messages:
> >
> > ===========================================================================
> > [..]
> > /usr/root/web/httpd-2.2.0/srclib/apr/libtool --silent --mode=link gcc -g
> > -O2 -pthreads
> > -L/usr/root/web/httpd-2.2.0/srclib/apr-util/xml/expat/lib
> > -L/openssl-0.9.8a/lib -R/openssl-0.9.8a/lib -ldl -o ab -static ab.lo
> > -lm /usr/root/web/httpd-2.2.0/srclib/pcre/libpcre.la /usr/root/web/httpd-2.2.0/srclib/apr-util/libaprutil-1.la /usr/root/web/httpd-2.2.0/srclib/apr-util/xml/expat/lib/libexpat.la /usr/root/web/httpd-2.2.0/srclib/apr/libapr-1.la -lsendfile -lrt -lsocket -lnsl -lpthread -lssl -lcrypto
> > ld: fatal: symbol `SHA256_Transform' is multiply-defined:
>
> To fix this issue, you can download this patch:
>
> http://people.apache.org/~jorton/apr-1.2.2-random.patch
>
> and apply it like this:
>
> cd srclib/apr
> patch -p1 < apr-1.2.2-random.patch
>
> this should be fixed out-of-the-box for the next httpd release.
>
> joe
--
---------------------------------------------------------
"It has been said that there are only two businesses that
refer to customers as users: illegal drug trade and
the computer industry."
---------------------------------------------------------
Nico De Ranter
Senior System Administrator
Sony Service Center (NSCE)
The Corporate Village, Da Vincilaan 7-D1
B-1935 Zaventem, Belgium
Telephone: +32 (0)2 700 86 41 Fax: +32 (0)2 700 86 22
---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org
Re: [users@httpd] sumbol multiple-defined when compiling httpd
2.2.0 on Solaris 8
Posted by Nico De Ranter <ni...@sonycom.com>.
On Mon, 2006-02-06 at 11:31 +0000, Joe Orton wrote:
> On Mon, Feb 06, 2006 at 09:51:10AM +0100, Nico De Ranter wrote:
> > thanks but I don't seem to be able to apply the patch (on a fresh
> > httpd-2.2.0 directory)
> >
> > mena.[root]# cd httpd-2.2.0/srclib/apr
> > mena.[root]# patch -p1 < apr-1.2.2-random.patch
> > Looks like a unified context diff.
> > Hunk #1 failed at line 57.
> > Hunk #2 failed at line 5.
>
> Maybe the patch has been mangled in the download? If not perhaps try a
> GNU patch rather than whatever comes with Solaris. The patch applies
> cleanly to a 2.2.0 tarball.
Yep, you're right. Using patch on linux worked without problems.
Nico
>
> joe
--
---------------------------------------------------------
"It has been said that there are only two businesses that
refer to customers as users: illegal drug trade and
the computer industry."
---------------------------------------------------------
Nico De Ranter
Senior System Administrator
Sony Service Center (NSCE)
The Corporate Village, Da Vincilaan 7-D1
B-1935 Zaventem, Belgium
Telephone: +32 (0)2 700 86 41 Fax: +32 (0)2 700 86 22
---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org
Re: [users@httpd] sumbol multiple-defined when compiling httpd 2.2.0 on Solaris 8
Posted by Joe Orton <jo...@redhat.com>.
On Mon, Feb 06, 2006 at 09:51:10AM +0100, Nico De Ranter wrote:
> thanks but I don't seem to be able to apply the patch (on a fresh
> httpd-2.2.0 directory)
>
> mena.[root]# cd httpd-2.2.0/srclib/apr
> mena.[root]# patch -p1 < apr-1.2.2-random.patch
> Looks like a unified context diff.
> Hunk #1 failed at line 57.
> Hunk #2 failed at line 5.
Maybe the patch has been mangled in the download? If not perhaps try a
GNU patch rather than whatever comes with Solaris. The patch applies
cleanly to a 2.2.0 tarball.
joe
---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org