FS#74940 - [vim] should depend on perl
Attached to Project:
Arch Linux
Opened by Patrick Reader (pxeger) - Thursday, 02 June 2022, 11:06 GMT
Last edited by Evangelos Foutras (foutrelis) - Tuesday, 07 June 2022, 01:00 GMT
Opened by Patrick Reader (pxeger) - Thursday, 02 June 2022, 11:06 GMT
Last edited by Evangelos Foutras (foutrelis) - Tuesday, 07 June 2022, 01:00 GMT
|
Details
Description:
/usr/bin/vim is linked to libperl.so $ ldd $(which vim) ... libperl.so => /usr/lib/perl5/5.36/core_perl/CORE/libperl.so (0x00007f5f85f1c000) ... but it does not depend on the perl package (which provides libperl.so). Therefore, when running vim without perl installed, you get an error: vim: error while loading shared libraries: libperl.so: cannot open shared object file: No such file or directory Because perl is such a common dependency (e.g., it is installed via base-devel), it tends to already exist on the system, so this problem does not manifest itself much. But the dependency should still be added, because when installing in minimal environments (e.g. containers), perl may not necessarily be there. Or, maybe it's an accident of configuration that vim depends on perl in the first place? Additional info: * extra/vim 8.2.5046-1 Steps to reproduce: * use a fresh Arch Linux installation, without base-devel installed $ docker run --rm -it --pull always archlinux bash * install vim # pacman -Syu vim * attempt to start vim # vim vim: error while loading shared libraries: libperl.so: cannot open shared object file: No such file or directory |
This task depends upon
Closed by Evangelos Foutras (foutrelis)
Tuesday, 07 June 2022, 01:00 GMT
Reason for closing: Fixed
Additional comments about closing: vim 8.2.5046-2 temporarily adds perl as a hard dep.
Tuesday, 07 June 2022, 01:00 GMT
Reason for closing: Fixed
Additional comments about closing: vim 8.2.5046-2 temporarily adds perl as a hard dep.
Appears to be some issue in the configure script.