1829394 Members
2753 Online
109991 Solutions
New Discussion

sudo issue

 
SOLVED
Go to solution
OFC_EDM
Respected Contributor

sudo issue

I've installed everything I need to install for sudo(sudo-1.6.8p12) on HP-UX 11i v1 from the HP Porting Archive.

But I get the following error when I run /usr/local/bin/sudoedit:

/usr/lib/dld.sl: Can't open shared library: /usr/local/lib/libdb-3.1.sl
/usr/lib/dld.sl: No such file or directory
Abort(coredump)

Any ideas why the error occurs?

- Kevin
(p.s. I did try adding /usr/local/lib to the SHLIB_PATH)


This is a list of all the dependencies I think are required. I've used tar to look in all the depots but can't find libdb-3.1.sl and also did a "find" on the HP-UX server for the library but can't find it. So I don't know from which product it's from.

autoconf-2.59
bison-2.1
db-4.4.20
flex-2.5.4a
gawk-3.1.5
gcc-4.1.0
gettext-0.14.5
heimdal-0.7.2
libgcc-4.1.0
libiconv-1.10
m4-1.4.4
make-3.80
openssl-0.9.8a
tcltk-8.4.12
texinfo-4.8
The Devil is in the detail.
5 REPLIES 5
Sameer_Nirmal
Honored Contributor
Solution

Re: sudo issue

Hi Kevin,

As an alternate, you can try installing the same version of Sudo from
http://h20293.www2.hp.com/portal/swdepot/displayProductInfo.do?productNumber=HPUXIEXP1111
Steven E. Protter
Exalted Contributor

Re: sudo issue

Shalom,

The alternate version provided will probably work for you because HP tested it.

Its unfortunately fairly common for depots from the archive and porting center to fail at install time.

The HP ported version of the program will include the library that is needed.

Including the directory in the SHLIB_PATH but not having the required file there is a futile effort to correct the situation. Sometimes searching for the file libdb-3.1.sl on the porting and archive center site can help you find a package with the required library in it.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
sysadm_1
Valued Contributor

Re: sudo issue


Install sudo from from the "Internet Express DVD" which came with hp-ux OS or download from below site.This works fine.
http://h20293.www2.hp.com/portal/swdepot/displayProductInfo.do?productNumber=HPUXIEXP1111


-syaadm-
OFC_EDM
Respected Contributor

Re: sudo issue

Thanks for the replies. Using the version of sudo from the link you provided worked.

Now I just have to learn how to setup the sudoers file and I'm good to go.

If you know of a good reference for setting up the sudoers file please post. As it didn't install a MAN page for sudoer just sudo.

Cheers
The Devil is in the detail.
Patrick Wallek
Honored Contributor

Re: sudo issue

Good references for sudo are available on the sudo home page:

http://www.gratisoft.us/sudo/

You woulc also tru 'man visudo' and see if has any info. Also, the 'sudoers' file, does have documentation and examples in it.

Remember to use 'visudo' to edit the sudoers file.