[sudo-users] Sudo 1.8.3 error while running visudo on Solaris 9 sparc

Rakesh Rajasekharan rakesh.rajasekharan at gmail.com
Sat Nov 19 05:17:18 EST 2011


I just found out that this was due to the libintl library. When I copy a
differnet libintl library from solaris 8 Sparc, everything works fine.
My question here is is there a way I can ask the binary to look out for the
library in a differnt location

now the libintl is looked in
 ldd /opt/soe/local/sudo-1.8.3/sbin/visudo
        /usr/lib/secure/s9_preload.so.1
        libintl.so.8 =>  /usr/lib/libintl.so.8
        libiconv.so.2 =>         (file not found)
        libsec.so.1 =>   /usr/lib/libsec.so.1
        libc.so.1 =>     /usr/lib/libc.so.1
        libsocket.so.1 =>        /usr/lib/libsocket.so.1
        libnsl.so.1 =>   /usr/lib/libnsl.so.1
        libdl.so.1 =>    /usr/lib/libdl.so.1
        libmp.so.2 =>    /usr/lib/libmp.so.2
        /usr/platform/SUNW,Sun-Fire-V240/lib/libc_psr.so.1
I plan to provide my a seprate libintl and place in in soem other directory
say /home/test.
Now at the compile time how do i make visudo to pick this library from
/home/soetest instead of /usr/lib




On Sat, Nov 19, 2011 at 2:48 PM, Rakesh Rajasekharan <
rakesh.rajasekharan at gmail.com> wrote:

> While running visudo I get the following error on a Solaris 9 sparc machine
>
>
> ./configure --prefix=/opt/soe/local/sudo-1.8.3 \
> --exec-prefix=/opt/soe/local/sudo-1.8.3 \
> --sysconfdir=/opt/soe/local/etc \
> --with-pam \
> --with-timedir=/var/run/sudo
>
>
> # /opt/soe/local/sudo/sbin/visudo
> ld.so.1: visudo: fatal: relocation error: file
> /opt/soe/local/sudo-1.8.3/sbin/visudo: symbol libintl_bindtextdomain:
> referenced symbol not found
> Killed
> I had compiled sudo with the belwo options.
> can some one plz help me resloving this ..
>
>
> Thanks,
> Rakesh
>



More information about the sudo-users mailing list