Skip to content

media-libs/raspberrypi-userland issue for non multilib #26

@teapot9

Description

@teapot9

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions