Closed geurtsd closed 1 year ago
Could it be a 32 - 64 bit issue?
pi@SolarLogger:/usr/local/bin/sbfspot.3 $ file SBFspot SBFspot: ELF **32-bit LSB executable**, ARM, EABI5 version 1 (SYSV), dynamically linked, interpreter /lib/ld-linux-armhf.so.3, BuildID[sha1]=21867e6f7f0f61390e4450e10890f284a175b878, for GNU/Linux 3.2.0, stripped
Could it be a 32 - 64 bit issue?
Sure it is... pre-compiled binaries are 32-bit You'll have to follow the wiki to compile it for now
yea, uncovered it myself also via
objdump -x SBFspot
several 32-bit NEEDED libraries.....
so this confirms my feeling that it are 2 problems in 1 ticket: it answers the 32/64 bit issue, but the script item remains....
I'll do a reinstall of 32Bit Raspberry and will confirm after this .....
Manually running the file gives error:
pi@SolarLogger:/usr/local/bin/sbfspot.3 $ SBFspot -v -bash: SBFspot: command not found
you should run it like this: ./SBFspot -v
Manually running the file gives error:
pi@SolarLogger:/usr/local/bin/sbfspot.3 $ SBFspot -v -bash: SBFspot: command not found
you should run it like this:
./SBFspot -v
I know, tried it also, same result...... (to lazy to adjust / change the command for post ;-))
UPDATE:
Did full reinstall of RPi on bullseye 32bit.
This did the trick and resolved everything..... also the install script error. Some strange and confusing decision that they (RPi) update the system's release only for 32bit and not for 64bit on their Pi OS. (maybe because they switched over from Raspbian to PI OS in their branding?)
Anyhow, Ticket can be closed. Maybe a point of improvement (yet not urgent): include a block to check for the architecture of the installed OS with one of following commands:
uname -m
arch
lscpu
to generate an error that 64bit is not supported with the script. It does not solve the issue (= PICNIK problem) but gives a clearer hint why....
thanks for the fast support and sorry for the trouble... ;-)
PS: for those who do not know what a PICNIK is: Problem In Chair, Not In Keyboard (so USER problem ;-))
Thanks for the feedback.
I'm already using dpkg --print-architecture
which returns armhf
or arm64
but I'm not using it ATM
Fixed in V1.3.0 (ec5f277)
Hi,
After running a cleanup-install and upgrading the firmware of the Raspberry, the install scritp no longer works.
It seems that with teh new firmware the output of the command
no longer gives back "Raspbian", but it defaults to the standard "Debian".
I have tested the install script by modifying this line in your install script, and it installs, yet is not able to run SBFspot afterwards. it gives error:
However the listed install directory is present and there is the binary file "SBFspot".... (it shows up with "ls")
Manually running the file gives error:
any ideas? compatability issue?