Re: [users@httpd] problem in compiling Apache 2.0.54 with openssl 0.9.8

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

 



Are you sure your openssl install works and that it's not defaulted to
shared mode ? If so, LD_LIBRARY_PATH must be set ahead of time or put
the libs location via crle...

Also, if you use GCC you should use -fPIC for openssl


Also, openssl is installed by default in /usr/sfw as well (though
earlier version, but should be patched by Sun).

My .02...

Perminder Singh Vohra wrote:

> Hi,
>
> I am trying to compile Apache 2.0.54 with openssl 0.9.8 on Solaris 10
> but encounter errors during “make” of httpd 2.0.54. The details of the
> problem are as given below:-
>
>    1. Environment of Solaris 10:-
>
> -bash-3.00$ echo $PATH
>
> /usr/sfw/bin:/usr/local/bin/:/usr/bin::/usr/ccs/bin:/usr/local/:/usr/ucb:/etc:/usr/local/lib:/usr/bin::/usr/ccs/bin:/usr/local/
>
> -bash-3.00$ echo $CC
>
> /usr/sfw/bin/gcc
>
> -bash-3.00$
>
>    2. Open SSL built successfully by executing the following commands:-
>
> # cd openssl-0.9.8
>
> # ./config --prefix=/home/agent6qa/apache2054worker/openssl
> --openssldir=/home//agent6qa/apache2054worker/openssl/openssl
>
> # make
>
> # make test
>
> # make install
>
>    3. httpd2.0.54 configured successfully by executing the following
>       command from httpd.2.054 directory:-
>
> # ./configure --prefix=/home/agent6qa/apache2054worker/
> --enable-proxy=shared --enable-so –enable-ssl
> --with-ssl=/home/agent6qa/apache2054worker/openssl --with-mpm=worker
>
>    4. After ./configure, “make” command gives the following errors:-
>
> home/agent6qa/install/httpd-2.0.54/srclib/apr/libtool --silent
> --mode=compile /usr/sfw/bin/gcc -g -O2 -DSOLARIS2=10
> -D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT
> -DAP_HAVE_DESIGNATED_INITIALIZER
> -I/home/agent6qa/install/httpd-2.0.54/srclib/apr/include
> -I/home/agent6qa/install/httpd-2.0.54/srclib/apr-util/include
> -I/usr/local/include -I. -I/home/agent6qa/install/httpd-2.0.54/os/unix
> -I/home/agent6qa/install/httpd-2.0.54/server/mpm/worker
> -I/home/agent6qa/install/httpd-2.0.54/modules/http
> -I/home/agent6qa/install/httpd-2.0.54/modules/filters
> -I/home/agent6qa/install/httpd-2.0.54/modules/proxy
> -I/home/agent6qa/install/httpd-2.0.54/include
> -I/home/agent6qa/install/httpd-2.0.54/modules/generators
> -I/home/agent6qa/apache2054-worker/openssl/include/openssl
> -I/home/agent6qa/apache2054-worker/openssl/include -I/usr/sfw/include
> -I/home/agent6qa/install/httpd-2.0.54/modules/dav/main -prefer-non-pic
> -static -c ssl_engine_pphrase.c && touch ssl_engine_pphrase.lo
>
> ssl_engine_pphrase.c: In function `ssl_pphrase_Handle_CB':
>
> ssl_engine_pphrase.c:684: error: `PEM_F_DEF_CALLBACK' undeclared
> (first use in this function)
>
> ssl_engine_pphrase.c:684: error: (Each undeclared identifier is
> reported only once
>
> ssl_engine_pphrase.c:684: error: for each function it appears in.)
>
> make[3]: *** [ssl_engine_pphrase.lo] Error 1
>
> make[3]: Leaving directory
> `/home/agent6qa/install/httpd-2.0.54/modules/ssl'
>
> make[2]: *** [all-recursive] Error 1
>
> make[2]: Leaving directory
> `/home/agent6qa/install/httpd-2.0.54/modules/ssl'
>
> make[1]: *** [all-recursive] Error 1
>
> make[1]: Leaving directory `/home/agent6qa/install/httpd-2.0.54/modules'
>
> make: *** [all-recursive] Error 1
>
> Please suggest a possible solution.
>
> //Perminder Vohra//
>
> /*/Project Manager/*//*//*/
>
> /*/Extn: 6235 /*//*//*/
>
> **************** CAUTION - Disclaimer *****************
> This e-mail contains PRIVILEGED AND CONFIDENTIAL INFORMATION intended
> solely for the use of the addressee(s). If you are not the intended
> recipient, please notify the sender by e-mail and delete the original
> message. Further, you are not to copy, disclose, or distribute this
> e-mail or its contents to any other person and any such actions are
> unlawful. This e-mail may contain viruses. Infosys has taken every
> reasonable precaution to minimize this risk, but is not liable for any
> damage you may sustain as a result of any virus in this e-mail. You
> should carry out your own virus checks before opening the e-mail or
> attachment. Infosys reserves the right to monitor and review the
> content of all messages sent to or from this e-mail address. Messages
> sent to or from this e-mail address may be stored on the Infosys
> e-mail system.
> ***INFOSYS******** End of Disclaimer ********INFOSYS***
>

-- 

°(((=((===°°°(((===========================================

begin:vcard
fn:Ricardo Stella
n:Stella;Ricardo
org:Rider University
adr;dom:;;2083 Lawrenceville Rd;Lawrenceville;NJ;08648
version:2.1
end:vcard


---------------------------------------------------------------------
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@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx

[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