[sudo-users] Sudo on Solaris 10 AMD64
Allen Hewes
allen at decisiv.net
Tue Nov 8 19:24:48 EST 2005
Todd,
Yep---
I added /usr/lib/mps/64 to my crle:
crle -64 -c /var/ld/64/ld.config -u -l /usr/lib/mps/64
Why the Sun linker doesn't make this work is beyond me (it works with a
32-bit sudo). I thought it should find all the right amd64 bits since it
was already getting /usr/lib/security/64/pam_authtok_get.so.1 from
/etc/pam.conf... If I run ldd /usr/lib/security/64/pam_authtok_get.so,
the .so that's causing the issues is listed (libsoftokn3.so =>
/usr/lib/mps/amd64/libsoftokn3.so)... I am not running
LD_LIBRARY_PATH/LD_CONFIG/LD_PRELOAD/LD_NOCONFIG.
In case you were interested in my crle config:
[allen at websvr5:/usr/local/packages]$ sudo crle -64
Configuration file [version 4]: /var/ld/64/ld.config
Default Library Path (ELF):
/lib/64:/usr/lib/64:/usr/lib/mps/64:/usr/sfw/lib/64
Trusted Directories (ELF): /lib/secure/64:/usr/lib/secure/64
(system default)
Command line:
crle -64 -c /var/ld/64/ld.config -l
/lib/64:/usr/lib/64:/usr/lib/mps/64:/usr/sfw/lib/64
Thanks!
-Allen
-----Original Message-----
From: Todd C. Miller [mailto:Todd.Miller at courtesan.com]
Sent: Tuesday, November 08, 2005 11:53 AM
To: Allen Hewes
Cc: sudo-users at sudo.ws
Subject: Re: [sudo-users] Sudo on Solaris 10 AMD64
Hmm, you could try adding -R/usr/lib/mps/amd64 to SUDO_LDFLAGS in the
Makefile. I don't know why it wouldn't be in the system shared library
link path though.
A better approach is probably to add the dir via the clre command.
- todd
More information about the sudo-users
mailing list