Hi,

agree re: the *automatic* rpath'ing as a bad idea.  I also think
env-dependent, runtime link paths on a server -- especially a secutiy
app -- is a similarly bad idea.

in any case,

> Incidentally, this part:
>
>>     export LIBS="-lssl -lcrypto"
>
> shouldn't be necessary (configure should figure that out with the other
> flags you're using), and in fact WebAuth doesn't use SSL directly at all.

oops, that wasn't clear.  thanks.

> You should only need:
>
>     export APR_CONFIG="/usr/local/apache24x/bin/apr-2-config"
>     export APU_CONFIG="/usr/local/apache24x/bin/apr-2-config"
>     export LDFLAGS="-Wl,-rpath,/usr/local/ssl/lib64"
...

indeed, it's sufficient,

ldd ./lib/.libs/libwebauth.so | egrep -i "libssl|libcrypto"
        libssl.so.1.0.0 => /usr/local/ssl/lib64/libssl.so.1.0.0
(0x00007f7a35590000)
        libcrypto.so.1.0.0 => /usr/local/ssl/lib64/libcrypto.so.1.0.0
(0x00007f7a33dc8000)

thanks!

> or LD_RUN_PATH=/usr/local/ssl/lib64 (depending on the OS) instead of
> LDFLAGS as mentioned.

see "bad idea", above

> BTW, --enable-webkdc --disable-perl is a somewhat odd set of flags, since
> you'll end up with the WebKDC but no WebLogin server.  Given that the
> WebKDC and WebLogin server go together, that probably won't be that
> horribly useful.

of course.

perl's disabled, atm, because it was failing.  just handling one step
at at a time ...

Reply via email to