Operating System - HP-UX
1748213 Members
3127 Online
108759 Solutions
New Discussion

Re: sudo: unable to dlopen /usr/local/libexec/sudoers.so: No such file or directory.

 
SOLVED
Go to solution
Narendra Uttekar
Regular Advisor

sudo: unable to dlopen /usr/local/libexec/sudoers.so: No such file or directory.

Hi,

I have installed the sudo binary depot version 1.8.5p3 on HP-UX 11.31 itanium server. I configured the sudo access and try to execute the sudo command i am getting error as below,

 

$ /usr/local/bin/sudo -l


sudo: unable to dlopen /usr/local/libexec/sudoers.so: No such file or directory
sudo: fatal error, unable to load plugins

 

But i am able to see the file /usr/local/libexec/sudoers.so as below,

 

-rwxr-xr-x   1 root       root        855252 Aug 20 11:41 /usr/local/libexec/sudoers.so

 

Please let me know what could be the problem and how to fix it.

 

Thanks,

Narendra

 

 

22 REPLIES 22
Dennis Handly
Acclaimed Contributor

Re: sudo: unable to dlopen /usr/local/libexec/sudoers.so: No such file or directory.

>I am able to see the file /usr/local/libexec/sudoers.so

 

Does this user have read and execute permission to all directories in the path to sudoers.so?

What does "file /usr/local/libexec/sudoers.so" show?

Narendra Uttekar
Regular Advisor

Re: sudo: unable to dlopen /usr/local/libexec/sudoers.so: No such file or directory.

Hi Dennis,

Yes the user is having read and execute permission to all directories in the path to sudoers.so.

 

file /usr/local/libexec/sudoers.so
/usr/local/libexec/sudoers.so:  ELF-32 shared object file - IA64

 

Thanks,

Narendra

 

Dennis Handly
Acclaimed Contributor
Solution

Re: sudo: unable to dlopen /usr/local/libexec/sudoers.so: No such file or directory.

>Yes the user is having read and execute permission to all directories in the path to sudoers.so.

 

Hmm.

What does "ldd /usr/local/libexec/sudoers.so" show?

Narendra Uttekar
Regular Advisor

Re: sudo: unable to dlopen /usr/local/libexec/sudoers.so: No such file or directory.

Hi Dennis,

Please find the output of "ldd /usr/local/libexec/sudoers.so" as below,

 

ldd /usr/local/libexec/sudoers.so

/usr/local/libexec/sudoers.so:
        libpam.so.1 =>  /usr/lib/hpux32/libpam.so.1
        libintl.so =>   /usr/lib/hpux32/libintl.so
        libiconv.so =>  /usr/lib/hpux32/libiconv.so
        Unable to find library 'libz.so'.

 

Thanks,

Narendra

Narendra Uttekar
Regular Advisor

Re: sudo: unable to dlopen /usr/local/libexec/sudoers.so: No such file or directory.

Hi Dennis,

Thanks for your help after creating the soft link to library 'libz.so' problem was fixed.

 

Thanks,

Narendra

Dennis Handly
Acclaimed Contributor

Re: sudo: unable to dlopen /usr/local/libexec/sudoers.so: No such file or directory.

>after creating the soft link to library 'libz.so' problem was fixed.

 

I'm glad you figured it out.  It would have been nicer if it mentioned libz.so in the first place.

chetan morey
Advisor

Re: sudo: unable to dlopen /usr/local/libexec/sudoers.so: No such file or directory.

Hi Friends,

 

I am also tring to install sudo.

After insatlling 1) libiconv-1.14-ia64-11.23.depot 2) gettext-0.18.1.1-ia64-11.23.depot 3)/zlib-1.2.6-ia64-11.23.depot

this suporting deport I also recieved same error.

So I created soft link as sudoers.so -> /usr/lib/hpux32/libz.so . But still I am getting error as

sudo: /usr/local/libexec/sudoers.so: No such file or directory
sudo: fatal error, unable to load plugins

 

Please help me out.

Dennis Handly
Acclaimed Contributor

Re: sudo: unable to dlopen /usr/local/libexec/sudoers.so: No such file or directory.

>So I created soft link as sudoers.so -> /usr/lib/hpux32/libz.so . But still I am getting error as
>sudo: /usr/local/libexec/sudoers.so: No such file or directory

 

Why do you want to point sudoers.so to libz.so?

chetan morey
Advisor

Re: sudo: unable to dlopen /usr/local/libexec/sudoers.so: No such file or directory.

Hi,

 

I am unable to create softlink.Please suggest for softlink.

 

nagrst:/>ldd /usr/local/libexec/sudoers.so

/usr/local/libexec/sudoers.so:
        libpam.so.1 =>  /usr/lib/hpux32/libpam.so.1
        libintl.so =>   /usr/local/lib/hpux32/libintl.so
        libiconv.so =>  /usr/local/lib/hpux32/libiconv.so
        Unable to find library 'libz.so'.