I think people will start to complain, and it is my fault having started
this discussion in book. Will change a bit the title and send the reply
to -dev, if you don't mind. Not trimming, because all info should be in
the new thread.

On 12-02-2015 11:12, Pierre Labastie wrote:
> Le 12/02/2015 11:53, Fernando de Oliveira a écrit :
>> On 12-02-2015 07:44, Fernando de Oliveira wrote:
>>> On 12-02-2015 06:26, [email protected] wrote:
>>>> Log:
>>>> restore removed sudo configure switch
>>> I think I am the one who included that switch. But it brakes sudo,
>>> for me.
>> Never mind. Now, it works. Don't know what happend that day, I tried wit
>> and without many times. Error was not recorded but everytime I tried to
>> use sudo and even trying visudo as root, there was some symbol missing.
>> Perhaps another update I did that day was interfering, who knows.
>>
>> Thanks for fixing, then, because I originally wanted it.
>>
> I just built sudo by the current instructions, and I have now:
> -------
> $ ldd -r /usr/bin/sudo
>         linux-vdso.so.1 (0x00007fff513fe000)
>         libutil.so.1 => /lib/libutil.so.1 (0x00007f83ad49e000)
>         libsudo_util.so.0 => /usr/lib/sudo/libsudo_util.so.0
> (0x00007f83ad28b000)
>         libdl.so.2 => /lib/libdl.so.2 (0x00007f83ad087000)
>         libc.so.6 => /lib/libc.so.6 (0x00007f83acce4000)
>         /lib64/ld-linux-x86-64.so.2 (0x00007f83ad8cb000)
> undefined symbol: sudo_conf_debug_files_v1      (/usr/bin/sudo)
> undefined symbol: sudo_debug_get_fds_v1 (/usr/bin/sudo)
> undefined symbol: sudo_debug_exit_str_v1        (/usr/bin/sudo)
> undefined symbol: sudo_debug_enter_v1   (/usr/bin/sudo)
> undefined symbol: sudo_debug_execve2_v1 (/usr/bin/sudo)
> undefined symbol: sudo_debug_exit_str_masked_v1 (/usr/bin/sudo)
> undefined symbol: sudo_debug_get_active_instance_v1 (/usr/bin/sudo)
> undefined symbol: sudo_debug_exit_ptr_v1        (/usr/bin/sudo)
> undefined symbol: sudo_debug_exit_v1    (/usr/bin/sudo)
> undefined symbol: sudo_debug_set_active_instance_v1 (/usr/bin/sudo)
> undefined symbol: sudo_debug_register_v1        (/usr/bin/sudo)
> undefined symbol: sudo_debug_printf2_v1 (/usr/bin/sudo)
> undefined symbol: sudo_debug_update_fd_v1       (/usr/bin/sudo)
> undefined symbol: sudo_debug_exit_bool_v1       (/usr/bin/sudo)
> undefined symbol: sudo_warn_set_conversation_v1 (/usr/bin/sudo)
> undefined symbol: sudo_debug_fork_v1    (/usr/bin/sudo)
> undefined symbol: sudo_debug_exit_int_v1        (/usr/bin/sudo)
> ---------
> The reason is that /usr/lib/sudo/libsudo_util.so.0 is a symlink to the
> old library,
> which has been archived under the "name libsudo_util.so.0.0.0~"
> in the same directory.
> After running:
> ---------
> ln -sf libsudo_util.so.0.0.0 /usr/lib/sudo/libsudo_util.so.0
> ---------
> Everything is OK...
> 
> I do not know what is the better way to fix this...

Thanks, Pierre, it was just one line error, but "undefined symbol:
sudo????" was there (almost sure).

Your suggestion followed or not by

rm -rf libsudo_util.so.0.0.0~

might be the good one, but I'm not sure.

After reinstalling without the switch, probably the new backup was with
the switch for the new version, so, from this point on, any reinstall
would be linking a library with the same version, and that is why I was
fooled by the package, thinking the switch was responsible for the error.

Like you, I'm not sure about what would be the solution to include in
the book.

Thank you very much again, I was clueless about what happened, until
your post.

-- 
[]s,
Fernando
-- 
http://lists.linuxfromscratch.org/listinfo/blfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to