Re: SSL and apache 2.2.15 installed from source. How to?

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

 



Well,


I did this:
  - Carefully read  /pt/tmp/httpd-2.2.15/INSTALL
  - ./configure --prefix=/pt/apache --enable-ssl --with-port=8123
--with-sslport=8443
  - ./make

I bumped into this error from make:

/usr/share/apr-1/build-1/libtool --silent --mode=link gcc
-L/usr/lib -L/opt/local/lib   -o ab  ab.lo
/pt/tmp/httpd-2.2.15/srclib/pcre/libpcre.la -L/usr/lib -R/usr/lib
-laprutil-1 -lsqlite3 -lexpat -liconv -L/usr/lib -R/usr/lib -lapr-1
-lpthread -lssl -lcrypto -lz
Undefined symbols:
  "_BIO_set_callback_arg", referenced from:
      _start_connect in ab.o
  "_BIO_get_callback_arg", referenced from:
      _ssl_print_cb in ab.o
  "_SSL_CTX_set_info_callback", referenced from:
      _main in ab.o
  "_BIO_set_callback", referenced from:
      _start_connect in ab.o
ld: symbol(s) not found
collect2: ld returned 1 exit status
make[2]: *** [ab] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all-recursive] Error 1
Thu Jun 24 14:15 /pt/tmp/httpd-2.2.15 maco$
Thu Jun 24 14:15 /pt/tmp/httpd-2.2.15 maco$
Thu Jun 24 14:15 /pt/tmp/httpd-2.2.15 maco$

I am not a c programmer but my guess is that we have a file named ab.o
and it wants some things and cannot find them.


On 6/24/10, Audrey Lee <audrey.lee.is.me@xxxxxxxxx> wrote:
> Herald and Jeff,
>
> Thanks for the responses!
>
> I feel like I'm making progress.
>
> Here is what my modules directory looks like:
>
>   /pt/apache/modules:
>   total used in directory 24 available 35223120
>   drwxr-xr-x   3 maco  staff   102 Jun 19 12:41 .
>   drwxr-xr-x  14 maco  staff   476 Jun 19 12:41 ..
>   -rw-r--r--   1 maco  staff  9083 Jun 19 12:37 httpd.exp
>
> How do I create mod_ssl.so ?
>
> I sense that both of you have given me a good clue.
>
> I'll search the web for more clues.
>
> I know that a .so file is compiled software which suggests to me that
> I might be able to create it along the path I followed to install my
> copy of apache from the source code I obtained here:
>
>   - http://download.nextag.com/apache/httpd/httpd-2.2.15.tar.gz
>
> I unpacked httpd-2.2.15.tar.gz to here:
>
>   - /pt/tmp/httpd-2.2.15/
>
> When I search
>
>   - /pt/tmp/httpd-2.2.15/INSTALL
>
> For the word "module" I see this:
>
> Here is a typical example which configures Apache for the installation
> tree /sw/pkg/apache plus the two additional modules mod_rewrite and
> mod_speling for later loading through the DSO mechanism:
>
>
>      ./configure --prefix=/sw/pkg/apache \
>      --enable-rewrite=shared \
>      --enable-speling=shared
>
> Question 1:
>   - What is the DSO mechanism?
>
> Question 2:
>   - Can I create mod_ssl.so using --enable-ssl=shared  ?
>   - If yes, what is the proper way to create and install mod_ssl.so
> after I have already finished my install from source ?
>
>
> On 6/23/10, Jeff Trawick <trawick@xxxxxxxxx> wrote:
>> On Wed, Jun 23, 2010 at 3:04 AM, HERALD <herald.jose@xxxxxxxxxxxx> wrote:
>>>
>>> Do you have the ssl module in your module folder?? . the file name would
>>> be
>>> mod_ssl.so under /Apache/modules/ path
>>
>> For the benefit of the person with the problem, who appears to be new
>> to this: The immediate symptom ("Invalid command 'SSLSessionCache'
>> ...") is due to no "LoadModule ssl_module /path/to/mod_ssl.so" (and of
>> course there must be a mod_ssl.so installed somewhere.)
>>
>> ---------------------------------------------------------------------
>> 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
>>
>>
>

---------------------------------------------------------------------
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