box64 icon indicating copy to clipboard operation
box64 copied to clipboard

Help me with raspberry pi 3 and bricksync

Open Yayaa10 opened this issue 1 year ago • 8 comments

Hi, I'm looking for use the bricksync program, where he is compile from C language in 64 bits. He is in open source in http://www.bricksync.net/ and a git repo is available in https://github.com/ZZJHONS/Bricksync

  1. I have try to compile un 32 bits direct via the raspberry pi but so issues with the arm... and I think with the gcc version. Try to compile with my laptop and a VM with raspOS installed ==> not work Try to compile with my laptop and a VM with Ubuntu 32bits installed ==> not work again....

  2. Try to use the box64 emulator (other way to use the program finally !) and I have this error: yaya@raspberrypi:~/bricksync-linux64 $ box86 sh /home/pi/bricksync-linux64/bricksync Box86 with Dynarec v0.3.5 eaeacc67 built on Feb 2 2024 19:05:16 Error: reading elf header of /usr/bin/dash, trying to launch natively instead /home/pi/bricksync-linux64/bricksync: 1: Syntax error: ")" unexpected Is it a syntaxe error when I try to use box64 or the programm doesn't work ? Can someone explain me the issue ?

Yayaa10 avatar Feb 09 '24 20:02 Yayaa10

i see that you're using box86?

hisham2630 avatar Feb 09 '24 21:02 hisham2630

Yes you're right... With box64 instead of box86 it's works !!

Another issue after... I have an issue with openssl: Error: PltResolver: Symbol SSL_load_error_strings(ver 0: SSL_load_error_strings) not found, cannot apply R_X86_64_JUMP_SLOT 0x10188e0c8 (0x101803196) in /home/yaya/Bricksync/bricksync Should openssl need to run with box64 too ? Or Do a specific installation ?

Yayaa10 avatar Feb 12 '24 22:02 Yayaa10

image

Yayaa10 avatar Feb 16 '24 17:02 Yayaa10

there is a version of libssl for x86_64 in the box64 repo. It should be picked up if it was installed correctly (but maybe I miss a symlink between libssl.so.1.1 and libssl.so.1, I need to check. same for libcrypto)

ptitSeb avatar Feb 16 '24 18:02 ptitSeb

I have install a old version of box64 but I can maybe upgrade it.

Yayaa10 avatar Feb 17 '24 10:02 Yayaa10

Hi @ptitSeb is there any way to add the ssl additions?

Yayaa10 avatar Feb 27 '24 13:02 Yayaa10

Hi @ptitSeb is there any way to add the ssl additions?

No. They are not in the lib.

Use the Emulated version of them, it's better for libssl / libcrypto

ptitSeb avatar Feb 27 '24 13:02 ptitSeb

@ptitSeb how can I use the emulated version ? I'm not sure to understand

Yayaa10 avatar Mar 02 '24 17:03 Yayaa10

Finally I got it by recompile a fresh version of my program. And it works, it was an old version of my compiled program which have an issue.

Yayaa10 avatar Mar 26 '24 20:03 Yayaa10