Packaging for SLE 11 SP4: binary /bin/vim is linked against libraries in /usr
I am trying to build my Vim package for SLE 11 SP4 and while my package builds fine for SLE 12 and later and all supported openSUSE releases I get the error:
when I built on SLE 11 SP4. Now I really have no idea how to fix this error, while simultaneously not making my spec file unsuitable for SLE 12 and later and supported releases of openSUSE.
[ 100s] INFO: relinking /usr/share/vim/vim80/tutor/tutor.zh_tw.utf-8 -> tutor.zh.utf-8 (was /usr/share/vim/vim80/tutor/tutor.zh.utf-8)
[ 100s] INFO: relinking /usr/share/vim/vim80/tutor/tutor -> tutor.utf-8 (was /usr/share/vim/vim80/tutor/tutor.utf-8)
[ 100s] + /usr/lib/rpm/brp-desktop
[ 101s] WARNING: '/usr/lib/rpm/brp-desktop.data/suse-screensavers.menu' does not exist
[ 101s] WARNING: '/usr/lib/rpm/brp-desktop.data/preferences-gnome.menu' does not exist
[ 101s] WARNING: '/usr/lib/rpm/brp-desktop.data/applications-kmenuedit.menu' does not exist
[ 101s] + /usr/lib/rpm/brp-rpath
[ 101s] + /usr/lib/rpm/brp-pie
[ 101s] + /usr/lib/rpm/brp-rootfs
[ 101s] binary /bin/vim is linked against libraries in /usr or /opt
[ 101s] libSM.so.6 => /usr/lib64/libSM.so.6 (0x00007fae6b879000)
[ 101s] libICE.so.6 => /usr/lib64/libICE.so.6 (0x00007fae6b65b000)
[ 101s] libXt.so.6 => /usr/lib64/libXt.so.6 (0x00007fae6b3f5000)
[ 101s] libX11.so.6 => /usr/lib64/libX11.so.6 (0x00007fae6b0b8000)
[ 101s] libperl.so => /usr/lib/perl5/5.10.0/x86_64-linux-thread-multi/CORE/libperl.so (0x00007fae6a644000)
[ 101s] libxcb-xlib.so.0 => /usr/lib64/libxcb-xlib.so.0 (0x00007fae69a9f000)
[ 101s] libxcb.so.1 => /usr/lib64/libxcb.so.1 (0x00007fae69882000)
[ 101s] libXau.so.6 => /usr/lib64/libXau.so.6 (0x00007fae6967e000)
[ 101s] Please adjust the paths in your package
[ 101s] error: Bad exit status from /var/tmp/rpm-tmp.53140 (%install)
[ 101s] RPM build errors:
[ 101s] Bad exit status from /var/tmp/rpm-tmp.53140 (%install)
[ 101s] fusion809-pc failed "build vim.spec" at Sun Mar 5 22:38:02 UTC 2017.
Thanks for your time,
Brenton Horne: Linux enthusiast and writer of The Hornery.
Five favourite distros: Arch Linux, Fedora, openSUSE Tumbleweed, Sabayon Linux and Ubuntu.