mvberg / ib-gateway-docker

Interactive Brokers Trading Gateway running in Docker
MIT License
224 stars 105 forks source link

raspberry pi #20

Open hallgren opened 4 years ago

hallgren commented 4 years ago

When trying to run on an raspberry pi I get the following error on docker build .

Step 14/24 : RUN yes n | /opt/TWS/ibgateway-latest-standalone-linux-x64-v974.4g.sh ---> Running in 0aeccaa85527 Unpacking JRE ... bin/unpack200: 1: bin/unpack200: ELF: not found bin/unpack200: 2: bin/unpack200: �: not found bin/unpack200: 3: bin/unpack200: Q�t/lib64/ld-linux-x86-64.so.2GNU: not found bin/unpack200: 8: bin/unpack200: Syntax error: ")" unexpected Error unpacking jar files. The architecture or bitness (32/64) of the bundled JVM might not match your machine. The command '/bin/sh -c yes n | /opt/TWS/ibgateway-latest-standalone-linux-x64-v974.4g.sh' returned a non-zero code: 1

uname -a Linux raspberrypi 4.19.97-v7+ #1294 SMP Thu Jan 30 13:15:58 GMT 2020 armv7l GNU/Linux

I´m running the latest Raspbian Buster Lite.

mvberg commented 4 years ago

so, IIRC, TWS/IB Gateway comes bundled with it's own JVM now - which does not support the ARM architecture ...

there is a guy who has made it happen though, https://trenki2.github.io/blog/2018/01/04/trading-with-raspberry-pi/