1753543 Members
5348 Online
108795 Solutions
New Discussion юеВ

sudo problem

 
SOLVED
Go to solution
mjos
Super Advisor

sudo problem

Hi,
I am trying to install sudo on an IA server running 11.31 hp-ux. The depot file is sudo-1.7.4p6-ia64-11.31.depot. I was able to install the depot file successfully but while executing sudo, I am getting the below error -

# whereis sudo
sudo: /usr/local/bin/sudo /usr/local/share/man/man1m/sudo.1m
# /usr/local/bin/sudo
/usr/lib/hpux32/dld.so: Unable to find library 'libz.so'.
Killed
# find /lib -name 'libz*' -exec ls -l {} \;

Can somebody please help me with this issue. I searched for the libz.so file in other hp-ux server but couldnt find it.
Thanks in advance.
5 REPLIES 5
Hakki Aydin Ucar
Honored Contributor
Solution

Re: sudo problem

dependency seems missing, maybe it is here:
http://hpux.connect.org.uk/hppd/hpux/Misc/zlib-1.2.5/
Manix
Honored Contributor

Re: sudo problem

swlist -l fileset -a state | grep -i sudo

Please check if it`s in configured state ,any
errors in swagent.log while installation.

Thanks
Manix
HP-UX been always lovable - Mani Kalra
Hakki Aydin Ucar
Honored Contributor

Re: sudo problem

try this;
# ldd /usr/local/bin/sudo

will show you what it was linked against.
mjos
Super Advisor

Re: sudo problem

Thanks the problem was resolved after installing the zlib librar,

Thanks all for your time!
mjos
Super Advisor

Re: sudo problem

solved