[sudo-users] Sudo 1.8.1p2 sudo: unable to dlopen error
Todd C. Miller
Todd.Miller at courtesan.com
Fri Sep 16 08:10:39 EDT 2011
> /usr/lib/dld.sl: Can't find path for shared library: libz.sl
> /usr/lib/dld.sl: No such file or directory
You can build sudo with a static version of zlib using the configure
option --enable-zlib=builtin if you want. Copying libz.sl to the
/opt/soe/local/sudo-1.8.1/libexec directory is OK too.
> /usr/lib/dld.sl: Can't open shared library: /usr/local/lib/liblber.sl
> /usr/lib/dld.sl: No such file or directory
This is probably because it is being pulled in as a depedency for
libldap.sl and is not directly linked in to sudoers.sl. This means
that the dynamic loader uses embedded path from libldap.sl, which
is probably /usr/local/lib (ldd will tell you).
You may be able to remedy this by editing plugins/sudoers/Makefile
and changing:
SUDOERS_LIBS = -lldap $(LIBS) $(NET_LIBS) -lz
to:
SUDOERS_LIBS = -lldap -llber $(LIBS) $(NET_LIBS) -lz
That may allow liblber.sl to be found in /opt/soe/local/sudo-1.8.1/libexec
when sudoers.sl is loaded.
- todd
More information about the sudo-users
mailing list