Hi everybody,
why when I install the SP in a server with Apache.2.2.2 I have the mod_shib_20.so created and no the mod_shib_22.so? Can I have some problems with it in a near future when I begin to configure my Apache.2.2.2 to use the mod_shib_20.so or it's normal?
[fabio.batalha@scielo3 shibboleth]$ pwd
/usr/lib/shibboleth
[fabio.batalha@scielo3 shibboleth]$ ls -la
total 432
drwxr-xr-x 2 root root 4096 Aug 5 15:28 .
drwxr-xr-x 60 root root 36864 Aug 5 15:29 ..
-rwxr-xr-x 1 root root 94280 Aug 5 15:28 adfs-lite.so
-rwxr-xr-x 1 root root 161268 Aug 5 15:28 adfs.so
-rwxr-xr-x 1 root root 121256 Aug 5 15:28 mod_shib_20.so
Thanks,
Fabio Batalha
Then your server also natively has Apache 2.0 on it. Custom Apache builds
require different build procedures, which are described on the wiki and on
the list. Binaries will never be produced by the project for anything except
what comes with the OS.
> Can I have some problems
> with it in a near future when I begin to configure my Apache.2.2.2 to use
> the mod_shib_20.so or it's normal?
It will not work.
-- Scott
Hi Scott,
Where I can find the complete config list options for the parameter shib_options to define the custom Apache instalation of my server.
Fabio Batalha
----- Mensagem original -----
De: "Scott Cantor" <cant...@osu.edu>
Para: shibbole...@internet2.edu
Enviadas: Terça-feira, 5 de Agosto de 2008 17:07:59 (GMT-0300) Auto-Detected
Assunto: RE: [Shib-Users] Problems with SP install and mod_shib_22.so
From the unpacked source tarball:
./configure --help
Also https://spaces.internet2.edu/display/SHIB2/NativeSPLinuxSRPMBuild
-- Scott
Yes.
> 1. log4shib (requires the package doxygen from your distribution)
Only if you don't give it -without=doxygenrpm to override that.
> And then install the Shibboleth source using the ./configure? or I need to
> install all the packages from their source using ./configure?
You don't have to install anything from source. The SRPM for shibboleth can
be rebuilt with whatever options you need.
That said, why are you using a custom Apache?
-- Scott
* Scott Cantor <cant...@osu.edu> [2008-08-06 19:12]:
> > Can I install all the following packages compiling and installing the SRPM
> > files?
>
> Yes.
>
> > 1. log4shib (requires the package doxygen from your distribution)
>
> Only if you don't give it -without=doxygenrpm to override that.
$ rpmbuild --rebuild log4shib-1.0-1.src.rpm -D '_without_doxygenrpm=y'
cheers,
-peter
Hi Scott,
I did the compile of the RPM file with the following sintaxe:
rpmbuild --rebuild -D 'shib_options --enable-apache-22 --with-apxs22=/usr/local/apache-2.2.2/bin/apxs' shibboleth-2.0-6.src.rpm
Then I did the install of the RPM file created and when I try to restart APACHE I have this error!
Cannot load /usr/lib/shibboleth/mod_shib_22.so into server: /usr/lib/shibboleth/mod_shib_22.so: undefined symbol: ap_run_http_scheme
Thanks,
Fabio Batalha
----- Original Message -----
From: "Peter Schober" <peter....@univie.ac.at>
To: shibbole...@internet2.edu
Sent: Wednesday, August 6, 2008 2:49:33 PM (GMT-0300) Auto-Detected
Subject: Re: [Shib-Users] Problems with SP install and mod_shib_22.so
Looks like some kind of mismatch, you might have to trace the
configure/build to see what your options actually ended up doing. Or maybe
search the headers and Apache binaries for that symbol. Something's wrong
with the build.
My advice is to not do this. It's a self-inflicted problem. Just use the
Apache you got with the OS. 2.0 is still relatively current, and if it's not
current enough, neither is your OS.
-- Scott
With apache 2.2 ap_run_http_method was renamed to ap_run_http_scheme.
It looks like you built mod_shib for apache 2.2, but you're
attempting to link it with an apache 2.0
Jim