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

opengl-meson: fix lib32 mali symlinks for Amlogic-ne #1203

Merged
merged 1 commit into from Oct 28, 2023

Conversation

7Ji
Copy link
Collaborator

@7Ji 7Ji commented Jul 1, 2023

the libmali-overlay-setup script in the package for Amlogic-ne does not set up the symlinks for libmali properly, which replaces the link for 64bit one with the 32bit one

this will result in utterly wrong lookup result when any application tries to load libEGL/libGL/etc at runtime, which will pick up the 32bit libmali over the 64bit one and cannot run at all

should solve one of the problem mentioned in the following forum post:

https://emuelec.discourse.group/t/trying-to-compile-for-s905w2-amlogic-ne/2013

quote @compusat22:

I’m trying to compile a version of emuelec for the S905w2 but after creating image I got it to boot but Emulationstation isn’t running due to "emulationstation: error while loading shared libraries: libEGL.so: wrong ELF class: ELFCLASS32

the libmali-overlay-setup script in the package for Amlogic-ne
does not set up the symlinks for libmali properly, which replaces
the link for 64bit one with the 32bit one

this will result in utterly wrong lookup result when any application
tries to load libEGL/libGL/etc at runtime, which will pick up the
32bit libmali over the 64bit one and cannot run at all

should solve one of the problem mentioned in the following forum
post:

https://emuelec.discourse.group/t/trying-to-compile-for-s905w2-amlogic-ne/2013

quote @compusat22:
> I’m trying to compile a version of emuelec for the S905w2 but after creating image I got it to boot but Emulationstation isn’t running due to "emulationstation: error while loading shared libraries: libEGL.so: wrong ELF class: ELFCLASS32
@compusat52
Copy link

tried this change does still boot but still emulationstation doesnt load,

@shantigilbert
Copy link
Collaborator

Is it the same error?

@compusat52
Copy link

compusat52 commented Jul 4, 2023

Is it the same error?

No wrong elf class error has gone, it now just blackscreens, can't find any logs to post that have any info re boot errors.
OS is up and I can ssh in when I change the config to boot to RetroArch I just the a flashing outline rectangle that surrounds text on RetroArch screen but no text. Rectangle is large and stretched, doesn't move with keyboard.
I'm here to do any testing if needed.

Langerz82 added a commit to Langerz82/EmuELEC that referenced this pull request Jul 15, 2023
@shantigilbert shantigilbert merged commit 4ac663f into EmuELEC:dev Oct 28, 2023
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

Successfully merging this pull request may close these issues.

None yet

3 participants