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

nginx binary: ELFCLASS64 #10

Closed
DevEddy opened this issue Jul 25, 2023 · 5 comments
Closed

nginx binary: ELFCLASS64 #10

DevEddy opened this issue Jul 25, 2023 · 5 comments

Comments

@DevEddy
Copy link
Collaborator

DevEddy commented Jul 25, 2023

Seit RaspberryMatic 3.69.7.20230626 scheint die nginx binary nicht mehr zu funktionieren.

root@homematic-raspi:/opt/mh/user# ./nginx -v
./nginx: error while loading shared libraries: libpcre.so.1: wrong ELF class: ELFCLASS64

@jens-maus das letzte Mal hattest du die binary aktualisiert. Muss dieses Mal wieder die nginx binary aktualisiert werden? Hast du diese?

@jens-maus
Copy link
Contributor

Bitte genau spezifizieren auf welchem Host du probierst das nginx binary bzw. das Addon zu nutzen. Was ist die Host Hardware?

@DevEddy
Copy link
Collaborator Author

DevEddy commented Jul 25, 2023

Ist hier die Information bei die du brauchst?

root@homematic-raspi:~# cat /proc/cpuinfo
[...]
Hardware    : BCM2835
Revision    : a02082
Model       : Raspberry Pi 3 Model B Rev 1.2
root@homematic-raspi:~# uname -a
Linux homematic-raspi 6.1.21 #1 SMP PREEMPT Mon Jun 26 07:35:37 UTC 2023 aarch64 GNU/Linux
root@homematic-raspi:~# cat /etc/os-release
NAME=Buildroot
VERSION=-g478749d
ID=buildroot
VERSION_ID=2023.05
PRETTY_NAME="Buildroot 2023.05"

jens-maus added a commit to jens-maus/RaspberryMatic that referenced this issue Jul 25, 2023
…h resulted in the reverse nginx proxy of cloudmatic to not work anymore. This refs EasySmartHome/CloudMatic-CCUAddon#10
@jens-maus
Copy link
Contributor

Konnte das Problem nachvollziehen. Hier fehlte in neueren RaspberryMatic versionen in der noch existenten 32bit multilib Umgebung die libpcre.so.1 library. Diese existierte nur als 64bit binary. Allerdings ist das nginx das mit dem CloudMatic Addon mitkommt leider immer noch 32bit only. Vielleicht sollte man hier einmal darüber nachdenken die beiden binaries (nginx und zabbix_agent) die noch 32bit sind und dem Addon beiliegen als 64bit binaries mit anzubieten und diese dann stattdessen zu verwenden als die vorkompilierten 32bit versionen die man hier einfach nur stumpf im Addon mitliefert und früher oder später schon wegen glibc Anpassungen in der Zukunft wohl irgendwann nicht mehr lauffähig sein werden.

@DevEddy
Copy link
Collaborator Author

DevEddy commented Jul 26, 2023

Danke für die schnelle Prüfung und Behebung des Problems! Ich habe deine Anmerkung bezüglich 64bit nginx zur Umsetzung aufgenommen.

@DevEddy
Copy link
Collaborator Author

DevEddy commented Sep 1, 2023

Ist mit der Version 3.71.12.20230826 gefixt.

@DevEddy DevEddy closed this as completed Sep 1, 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

No branches or pull requests

2 participants