Closed ghost closed 4 years ago
Never mind - I've got it going using the libohNet.so and libohNetJni.so from MinimServer's arm64 build.
Hi, Good to hear you got it working.
Rather than it defaulting to:
/home/ubuntu/mediaplayer/mediaplayer_lib/ohNet/default
I would like to try and find a way to identify that the mediaplayer is running on aarch64 and so if you have time can you send me a log file where you have the log level set to debug
So far the only things I can see in the log file that I could use are these:
2020-05-03 15:41:32,917 [main] FATAL [org.rpi.main.StartMe] os.arch=aarch64 2020-05-03 15:41:32,917 [main] FATAL [org.rpi.main.StartMe] os.name=Linux 2020-05-03 15:41:32,918 [main] FATAL [org.rpi.main.StartMe] os.version=5.4.0-1008-raspi 2020-05-03 15:41:32,918 [main] FATAL [org.rpi.main.StartMe] sun.arch.data.model=64
If you could send the log file to pete.hoyle1@gmail.com please.
Email sent - thanks 😁
Fixed by 55dc540f630c4c657ffee4b7d4c461c99da56336
I've trying to run MediaPlayer on 64-bit Ubuntu on by Pi 4B using openjdk-8-jre-headless. I get the following error at startup:
The java process is still running, but there's nothing listening on the network. Mediaplayer log:
MediaPlayer runs fine on the same machine with 32-bit Ubuntu 20.04. I believe the following is required to get MediaPlayer running on aarch64:
readelf -A /proc/self/exe
returns nothing on aarch64 Ubuntu 20.04 on Pi. (Works fine on armhf version). ORmediaplayer_lib/ohNet/default
I had a go at building ohNet, and I got it to produce, among other things, libohNet.so, and placed it in
mediaplayer_lib/ohNet/default
, but MediaPlayer errors out, requiring libohNetJni.so. How do I get it to build that?