Brian Clarkson <[EMAIL PROTECTED]> wrote:
> you may also need to make sure that your startup scripts have exported
> the correct libs for the second install.
>
> i use this:
>
> #!/bin/sh -x
>
> LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:/usr/local/openssl-dev/lib:/usr/local/radius-dev/lib
> LD_PRELOAD=/usr/local/openssl-dev/lib/libcrypto.so
>
> export LD_LIBRARY_PATH LD_PRELOAD
>
> /usr/local/radius-dev/sbin/radiusd $@
Exactly.
The problem with two versions of OpenSSL is that you probably
haven't told the *run-time* linker (ld.so) where the second OpenSSL
is. So FreeRADIUS asks for "0.9.7", and according to the linker
rules, any "0.9" is OK, so it finds "0.9.6", and dies.
Blame the OpenSSL people for not knowing how library versioning
works, and for making incompatible changes to their API in minor
releases.
Alan DeKok.
-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html