Operating System - HP-UX
1834598 Members
3893 Online
110069 Solutions
New Discussion

Radius: aaa libraries not found

 
SOLVED
Go to solution
Keith Curran
Advisor

Re: Radius: aaa libraries not found

Hi there,

That statement returned the following
/opt/aaa/bin/radiusd
/opt/aaa/bin/radiusd
/opt/aaa/remotecontrol/com/hp/aaa/rmiserver/RMIServerManagement.class
/opt/aaa/remotecontrol/com/hp/aaa/rmiserver/RMIServerManagement.class

When I run ldd on radiusd it returns the
error
"Unable to find library 'libcrypto.so.0.9.7'."
which I believe is an openssl library. Openssl
is installed on the platform and in the directories /opt/openssl/lib/hpux32 and /opt/openssl/lib/hpux64 I created a soft link libcrypto.so.0.9.7 to libcrypto.so.0.9.7e but it didn't work.


V. Nyga
Honored Contributor

Re: Radius: aaa libraries not found

Hi,

seems like a hint.

I think you could make a softlink to /opt/aaa/lib
or
enlarge the lines: with LD_LIBRARY_PATH and SHLIB_PATH with opt/openssl/lib/hpux32 and opt/openssl/lib/hpux64.

HTH
Volkmar
*** Say 'Thanks' with Kudos ***
V. Nyga
Honored Contributor

Re: Radius: aaa libraries not found

Stephen - LOL!!!

You have two logins!!
*** Say 'Thanks' with Kudos ***
V. Nyga
Honored Contributor

Re: Radius: aaa libraries not found

Keith,

well - one path should be enough.
You have a 11.23 so I would take the hpux64 version.


Steven

you have created a new forum profile today:
http://forums1.itrc.hp.com/service/forums/publicProfile.do?userId=BR834998&forumId=1
*** Say 'Thanks' with Kudos ***
Stephen Keane
Honored Contributor
Solution

Re: Radius: aaa libraries not found

Do you mean you created a softlink like ...

ln -s /opt/openssl/lib/hpux32/libcrypto.so.0.9.7e /opt/aaa/lib/libcrypto.so.0.9.7

Or

ln -s /opt/openssl/lib/hpux64/libcrypto.so.0.9.7e /opt/aaa/lib/libcrypto.so.0.9.7

and it didn't work?

The binary won't look in /opt/openssl/lib/... because it isn't
on the SHLIB_PATH or hard coded into the binary.

If you have edit access to the startup script you could always add
/opt/openssl/lib/hpux32 or /opt/openssl/lib/hpux64 to the SHLIB_PATH
so that the ldd works?
Stephen Keane
Honored Contributor

Re: Radius: aaa libraries not found

I want my hat back!
Keith Curran
Advisor

Re: Radius: aaa libraries not found

I have created the following symbolic links
ln -s /opt/openss7/lib/hpux64/libcryto.so.0.9.7e /opt/aaa/lib/libcrypto.so.0.9.7
and
ln -s /opt/openss7/lib/hpux64/libcryto.so.0.9.7e /opt/aaa/lib/libcrypto.so.0.9.7e

but it still cannot find the shared library.
V. Nyga
Honored Contributor

Re: Radius: aaa libraries not found

Keith,

you have to create a link in a directory, where the start script is looking in!

You can do it in /opt/aaa/lib.

V.
*** Say 'Thanks' with Kudos ***
Keith Curran
Advisor

Re: Radius: aaa libraries not found

Hi,

I did create a link in /opt/aaa/lib and
it didn't work. I have put one in
/usr/lib/hpux32 to point to /opt/openssl/lib/hpux32/libcrypto.so.0.9.7e
and it worked.

Thanks to all for their help. It is very
much appreciated.
V. Nyga
Honored Contributor

Re: Radius: aaa libraries not found

Keith,

why are you creating 'libcrypto.so.0.9.7e'?
ldd says:
"Unable to find library 'libcrypto.so.0.9.7'."

So create /opt/aaa/lib/libcrypto.so.0.9.7

HTH
Volkmar

*** Say 'Thanks' with Kudos ***
Keith Curran
Advisor

Re: Radius: aaa libraries not found

Sorry I meant to write libcrypto.so.0.9.7
Keith Curran
Advisor

Re: Radius: aaa libraries not found

The solution was to add a symbolic link
/usr/lib/hpux32/libcrypto.so.0.9.7 to /opt/openssl/lib/hpux32/libcrypto.so.0.9.7e