question about linux shib packages and apr and apxs

Cantor, Scott cantor.2 at osu.edu
Wed Jan 25 17:46:48 EST 2017


On 1/25/17, 4:49 PM, "users on behalf of csross" <users-bounces at shibboleth.net on behalf of cross at hccs.com> wrote:

>    When I used to compile shibboleth on Solaris, my configure script would have
>  
>      --with-apxs22=/usr/local/apache2/bin/apxs \
>      --with-apr1=/usr/local/apache2/bin/apr-1-config \
>      --with-apu1=/usr/local/apache2/bin/apu-1-config
  
You left out the goats you had to sacrifice.
  
>    Now that I'm using a package on linux I just did a "yum install
>  shibboleth.x86_64" without issue.

Yes, that's why Linux is what everybody uses and why it costs the project so much to support Solaris.

>  I am fairly new to linux and didn't even
> know if and where those files were.

They're on the VM when the packages are built, they don't have to be there when the packages are installed. Every Solaris machine is different, but every Linux version is self-consistent and the packages work on any system of the same version because they're relying on the same binaries.
 
>   I know whoever replies didn't create the packages

I created all the (official) packages.

> but how can I tell apxs or apr were found during the install or
> if shibd knows where to find it please?

The shibd binary doesn't have any connection to Apache at all (on Linux or Solaris) but the only thing you have to do is use the Apache (the httpd package) that comes with the OS. If you use that Apache, it works and the appropriate module will be built and available, and loaded for you already. If you don't, it won't, and you're back to building custom packages or from source.

-- Scott
    



More information about the users mailing list