On Fri, 1 Nov 2019 at 15:41, Colin Ryan <[email protected]> wrote:
>
> Folks,
>
> For various reason's I need to compile my own mod_auth_cas module for
> use in Apache. I also have my own builds of OpenSSL  within this toolchain.
>
>
> I cannot for the life of me seem to get mod_auth_cas to use my external
> openssl libraries. I've done this many times before for other software
> components. I've tried all the tricks of setting OPENSSL_LIBS, CPPFLAGS,
> -ldl flag PKG_CONFIG_DIR etc etc that have worked in the past to no
> avail. No matter what I do it says it can find ssl.h, finds -lssl, finds
> -lcrypto BUT complains that it cannot find an link to OpenSSL and then
> builds with the systems default libraries as revealed by an "ldd" on the
> resulting mod_auth_so.c

What exact error do you get?

You should just need --with-openssl, but I've built with CPPFLAGS and
LDFLAGS as well.

I'd recommend using the same version of OpenSSL for Apache, curl, and
mod_auth_cas unless you want headaches.

-- 
- Website: https://apereo.github.io/cas
- Gitter Chatroom: https://gitter.im/apereo/cas
- List Guidelines: https://goo.gl/1VRrw7
- Contributions: https://goo.gl/mh7qDG
--- 
You received this message because you are subscribed to the Google Groups "CAS 
Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/a/apereo.org/d/msgid/cas-user/CAAgu-wAWq5dNDgDBPQJckjSuOVE_%3D6hxdN%2BwsLGSHdCwFvOgEw%40mail.gmail.com.

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

Reply via email to