genpi64-overlay icon indicating copy to clipboard operation
genpi64-overlay copied to clipboard

media-libs/raspberrypi-userland issue for non multilib

Open teapot9 opened this issue 4 years ago • 1 comments

Hi I have a 64 bit install without multilib and media-libs/raspberrypi-userland is missing libraries. Those libraries are installed in /usr/lib64 but should be in /usr/lib for non multilib systems.

$ ldd /usr/bin/vcgencmd
        /lib/ld-musl-aarch64.so.1 (0x7fa3906000)
Error loading shared library libvchiq_arm.so: No such file or directory (needed by /usr/bin/vcgencmd)
Error loading shared library libvcos.so: No such file or directory (needed by /usr/bin/vcgencmd)
        libc.so => /lib/ld-musl-aarch64.so.1 (0x7fa3906000)
Error relocating /usr/bin/vcgencmd: vcos_safe_strcpy: symbol not found
Error relocating /usr/bin/vcgencmd: vchi_msg_queue: symbol not found
Error relocating /usr/bin/vcgencmd: vchi_service_release: symbol not found
Error relocating /usr/bin/vcgencmd: vchi_service_close: symbol not found
Error relocating /usr/bin/vcgencmd: vcos_init: symbol not found
Error relocating /usr/bin/vcgencmd: vchi_connect: symbol not found
Error relocating /usr/bin/vcgencmd: vchi_disconnect: symbol not found
Error relocating /usr/bin/vcgencmd: vchi_service_use: symbol not found
Error relocating /usr/bin/vcgencmd: vcos_pthreads_map_errno: symbol not found
Error relocating /usr/bin/vcgencmd: vchi_service_open: symbol not found
Error relocating /usr/bin/vcgencmd: vchi_initialise: symbol not found
Error relocating /usr/bin/vcgencmd: vchi_msg_dequeue: symbol not found

I think the ebuild should check if the system is multilib before running mv "${D}/usr/lib/"*.so "${D}/usr/lib64/". The has_multilib_profile function from the multilib eclass will probably help with that. Thanks

teapot9 avatar Apr 03 '20 18:04 teapot9

30 Oct 2020: sadly, due legal obligations arising from a recent change in my 'real world' job, I must announce I am standing down as maintainer of this project with immediate effect. For the meantime, I will leave the repo up (for historical interest, and since the ebuilds etc. may be of use for others looking to take forward Gentoo on 64-bit RPi systems); however, there will be no further updates to the underlying binhost etc., nor will I be accepting / actioning further pull requests or bug reports from this point. Email requests for support will also have to be politely declined, so, please treat this as an effective EOL notice.

For further details, please see my post here.

Many thanks for your interest in this project!

With sincere apologies, sakaki ><

sakaki- avatar Oct 30 '20 16:10 sakaki-