Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
teapot9 opened this issue Apr 3, 2020 · 1 comment · May be fixed by #31
Open

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

teapot9 opened this issue Apr 3, 2020 · 1 comment · May be fixed by #31
Labels

Comments

@teapot9
Copy link

teapot9 commented Apr 3, 2020

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 added a commit to teapot9/genpi64-overlay that referenced this issue Jun 27, 2020
No-multilib profiles use lib and not lib64.
Use get_libdir to detect which directory to use.
This fixes sakaki-#26.

Package-Manager: Portage-2.3.99, Repoman-2.3.23
RepoMan-Options: --force
Signed-off-by: Louis Leseur <[email protected]>
@sakaki- sakaki- added the EOL label Oct 30, 2020
@sakaki-
Copy link
Owner

sakaki- commented Oct 30, 2020

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 ><

jonesmz pushed a commit to jonesmz/genpi64-overlay that referenced this issue Mar 2, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants