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

Unresolved imports "libbrcmGLESv2.so" and "libbrcmEGL.so" in libopenmaxil.so #629

Closed
umgfoin opened this issue Jul 6, 2016 · 8 comments
Closed

Comments

@umgfoin
Copy link

umgfoin commented Jul 6, 2016

One of the recent commits broke several applications trying to load libopenmaxil.so:

readelf libopenmaxil.so -d
Dynamic section at offset 0x581c contains 34 entries:
Tag Type Name/Value
0x00000001 (NEEDED) Shared library: [libdl.so.2]
0x00000001 (NEEDED) Shared library: [libbrcmGLESv2.so]
0x00000001 (NEEDED) Shared library: [libbrcmEGL.so]
0x00000001 (NEEDED) Shared library: [libbcm_host.so]
0x00000001 (NEEDED) Shared library: [libm.so.6]
0x00000001 (NEEDED) Shared library: [libvchiq_arm.so]
0x00000001 (NEEDED) Shared library: [libvcos.so]
0x00000001 (NEEDED) Shared library: [libpthread.so.0]
0x00000001 (NEEDED) Shared library: [librt.so.1]
0x00000001 (NEEDED) Shared library: [libc.so.6]
0x0000000e (SONAME) Library soname: [libopenmaxil.so]

uname -a
Linux AEGAEON_PI 4.4.14-2-ARCH #1 SMP Sat Jul 2 20:41:34 MDT 2016 armv7l GNU/Linux

best regards,
++umgfoin

@6by9
Copy link

6by9 commented Jul 6, 2016

Sounds like #625. Library names have been updated.

@popcornmix
Copy link
Contributor

How did you upgrade?
Did you rebuilding raspistill yourself?
Have you rebuild all of userland repo?
Have you updated firmware (rpi-update)?

@umgfoin
Copy link
Author

umgfoin commented Jul 6, 2016

How did you upgrade?

pacman -Syu

Did you rebuilding raspistill yourself?

No. For me it's breaking kodi-rpi.

Have you rebuild all of userland repo?

No.

Have you updated firmware (rpi-update)?

No. ArchLinux updates firmware via pacman.
The break appeared with package raspberrypi-firmware-20160703-1
Latest reverts in raspberrypi-firmware-20160705-1 didn't fix the problem.

@popcornmix
Copy link
Contributor

Report output of:

uname -a
vcgencmd version
ldd `which raspistill`
ls -l /opt/vc/lib

@Kiina
Copy link

Kiina commented Jul 6, 2016

I think he is saying it isn't raspistill that broke but kodi-rbp. I have the same problem:

Unable to load libopenmaxil.so, reason: libbrcmGLESv2.so: cannot open shared object file: No such file or directory

uname -a
Linux raspberrypi 4.4.14-2-ARCH #1 SMP Sat Jul 2 20:41:34 MDT 2016 armv7l GNU/Linux
ls -l /opt/vc/lib
total 2584
-rw-r--r-- 1 root root 201852 Jul  6 00:53 libEGL.so
-rw-r--r-- 1 root root 243424 Jul  6 00:53 libEGL_static.a
lrwxrwxrwx 1 root root     12 Jul  6 12:36 libGLESv1_CM.so -> libGLESv2.so
-rw-r--r-- 1 root root 105572 Jul  6 12:35 libGLESv2.so
-rw-r--r-- 1 root root 100008 Jul  6 00:53 libGLESv2_static.a
-rw-r--r-- 1 root root  99200 Jul  6 00:53 libOpenVG.so
-rw-r--r-- 1 root root  78532 Jul  6 00:53 libWFC.so
-rw-r--r-- 1 root root  96040 Jul  6 00:53 libbcm_host.so
-rw-r--r-- 1 root root 361236 Jul  6 00:53 libcontainers.so
-rw-r--r-- 1 root root  15392 Jul  6 00:53 libdebug_sym.so
-rw-r--r-- 1 root root  12486 Jul  6 00:53 libdebug_sym_static.a
-rw-r--r-- 1 root root  48984 Jul  6 00:53 libdtovl.so
-rw-r--r-- 1 root root  13548 Jul  6 00:53 libkhrn_client.a
-rw-r--r-- 1 root root 448544 Jul  6 00:53 libkhrn_static.a
-rw-r--r-- 1 root root  14108 Jul  6 00:53 libmmal.so
-rw-r--r-- 1 root root  68856 Jul  6 00:53 libmmal_components.so
-rw-r--r-- 1 root root  81928 Jul  6 00:53 libmmal_core.so
-rw-r--r-- 1 root root  88628 Jul  6 00:53 libmmal_util.so
-rw-r--r-- 1 root root  44428 Jul  6 00:53 libmmal_vc_client.so
-rw-r--r-- 1 root root  32974 Jul  6 12:37 libopenmaxil.so
-rw-r--r-- 1 root root   3264 Jul  6 00:53 libvcfiled_check.a
-rw-r--r-- 1 root root  30036 Jul  6 00:53 libvchiq_arm.so
-rw-r--r-- 1 root root 136502 Jul  6 00:53 libvchostif.a
-rw-r--r-- 1 root root  28462 Jul  6 00:53 libvcilcs.a
-rw-r--r-- 1 root root 173108 Jul  6 00:53 libvcos.so
-rw-r--r-- 1 root root  21164 Jul  6 00:53 libvcsm.so
-rw-r--r-- 1 root root  31078 Jul  6 00:53 libvmcs_rpc_client.a
drwxr-xr-x 2 root root   4096 Jul  6 10:08 pkgconfig/
drwxr-xr-x 2 root root   4096 Jul  6 10:08 plugins/

@popcornmix
Copy link
Contributor

Ah - there were some new .so files that were missed (bah - .gitignore) from last firmware update.

They are pushed now. I'm not sure how they get into next pacman -Syu - that is a question for Arch maintainers.

@umgfoin
Copy link
Author

umgfoin commented Jul 6, 2016

I'm not sure how they get into next pacman -Syu - that is a question for Arch maintainers.

Great, I'll point them to this thread.
Thanks!

@umgfoin
Copy link
Author

umgfoin commented Jul 6, 2016

I'm not sure how they get into next pacman -Syu - that is a question for Arch maintainers.

Arch-alarm package fixed with commit ebe24a9.

@umgfoin umgfoin closed this as completed Jul 6, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants