I believe I specified the path using -Rpath, and Solaris Linker searches this specified path for so libraris at run time. But still it is linking with /usr/swf/lib.. Did not find any other info on how we change the orders of dirs that it uses. On 8/17/08, Alan DeKok <aland@deployingradius.com> wrote:
Rafiqul Ahsan wrote:
Ok, I tried as follows : ... Still "ldd /usr/local/sbin/radiusd" shows the shared object from /usr/sfw/lib/*0.9.7
Then the issue is that the linker is linking against "libssl.so", and not "libssl.so.0.9.8". This means that at run-time, /usr/sfw/lib is found *before* /usr/local/lib, and so it links to the other version of libssl.
The only solutions are:
a) change the order of directories that the run-time linker uses b) delete the /usr/sfw/lib/libssl* files
Alan DeKok. - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
-- Rafiqul Ahsan