# Xojo RPI 64bit

**URL:** <https://ifnotnil.com/t/xojo-rpi-64bit/1524>\
**Category:** General Programming\
**Created:** [8 February 2021 16:42 UTC](https://ifnotnil.com/t/xojo-rpi-64bit/1524 "2021-02-08T16:42:43Z")\
**Posts on this page:** 20\
**Page:** 2

<div class="post-metadata">

**Author:** ![Meestor\_X](https://ifnotnil.com/user_avatar/ifnotnil.com/meestor_x/32/567_2.png) [@Meestor\_X](https://ifnotnil.com/u/Meestor_X)\
**Post date:** [8 February 2021 21:53 UTC](https://ifnotnil.com/t/xojo-rpi-64bit/1524/21 "2021-02-08T21:53:44Z")

</div>

It replies:  
`not a dynamic executable`

---

<div class="post-metadata">

**Author:** ![jjr](https://ifnotnil.com/user_avatar/ifnotnil.com/jjr/32/874_2.png) [@jjr](https://ifnotnil.com/u/jjr)\
**Post date:** [8 February 2021 22:06 UTC](https://ifnotnil.com/t/xojo-rpi-64bit/1524/22 "2021-02-08T22:06:40Z")

</div>

Try: `file your-app-name`. That should tell you what the system thinks is ‘in’ the file.

---

<div class="post-metadata">

**Author:** ![Meestor\_X](https://ifnotnil.com/user_avatar/ifnotnil.com/meestor_x/32/567_2.png) [@Meestor\_X](https://ifnotnil.com/u/Meestor_X)\
**Post date:** [8 February 2021 22:40 UTC](https://ifnotnil.com/t/xojo-rpi-64bit/1524/23 "2021-02-08T22:40:52Z")

</div>

```auto
pi@raspberrypi:~/Documents/RP-Tunnel (Andy) $ file RP-Tunnel\ \(Andy\)

RP-Tunnel (Andy): ELF 32-bit LSB executable, ARM, EABI5 version 1 (SYSV), dynamically linked, interpreter /lib/ld-linux-armhf.so.3, for GNU/Linux 2.6.26, not stripped

```

Is `/lib/ld-linux-armhf.so.3` the library I need then?

---

<div class="post-metadata">

**Author:** ![Meestor\_X](https://ifnotnil.com/user_avatar/ifnotnil.com/meestor_x/32/567_2.png) [@Meestor\_X](https://ifnotnil.com/u/Meestor_X)\
**Post date:** [8 February 2021 22:44 UTC](https://ifnotnil.com/t/xojo-rpi-64bit/1524/24 "2021-02-08T22:44:42Z")

</div>

Aha!

So using SSH instead of the RPI terminal, it actually gives me an error message instead of just closing. Good tip for Linux, stick with command line (and SSH)!

```auto
pi@raspberrypi:~/Documents/RP-Tunnel (Andy) $ ./RP-Tunnel\ \(Andy\)
./RP-Tunnel (Andy): error while loading shared libraries: libgtk-3.so.0: cannot open shared object file: No such file or directory

```

---

<div class="post-metadata">

**Author:** ![Meestor\_X](https://ifnotnil.com/user_avatar/ifnotnil.com/meestor_x/32/567_2.png) [@Meestor\_X](https://ifnotnil.com/u/Meestor_X)\
**Post date:** [8 February 2021 22:45 UTC](https://ifnotnil.com/t/xojo-rpi-64bit/1524/25 "2021-02-08T22:45:36Z")

</div>

Would it be `apt-get install libgtk-3` then?

---

<div class="post-metadata">

**Author:** ![jjr](https://ifnotnil.com/user_avatar/ifnotnil.com/jjr/32/874_2.png) [@jjr](https://ifnotnil.com/u/jjr)\
**Post date:** [8 February 2021 22:49 UTC](https://ifnotnil.com/t/xojo-rpi-64bit/1524/26 "2021-02-08T22:49:01Z")

</div>

That would be one. There are probably 6 needed.  
I’m surprised the `ldd` command failed. I haven’t checked on a system that is missing the proper architecture libraries, though.

---

<div class="post-metadata">

**Author:** ![Meestor\_X](https://ifnotnil.com/user_avatar/ifnotnil.com/meestor_x/32/567_2.png) [@Meestor\_X](https://ifnotnil.com/u/Meestor_X)\
**Post date:** [8 February 2021 22:49 UTC](https://ifnotnil.com/t/xojo-rpi-64bit/1524/27 "2021-02-08T22:49:46Z")

</div>

`unable to locate package libgtk-3`  
Is that the right name?

---

<div class="post-metadata">

**Author:** ![jjr](https://ifnotnil.com/user_avatar/ifnotnil.com/jjr/32/874_2.png) [@jjr](https://ifnotnil.com/u/jjr)\
**Post date:** [8 February 2021 22:52 UTC](https://ifnotnil.com/t/xojo-rpi-64bit/1524/28 "2021-02-08T22:52:37Z")

</div>

There should be a multi-arch package that includes all of the 32-bit libraries. `libgtk` is probably just the tip of the iceberg.

---

<div class="post-metadata">

**Author:** ![Meestor\_X](https://ifnotnil.com/user_avatar/ifnotnil.com/meestor_x/32/567_2.png) [@Meestor\_X](https://ifnotnil.com/u/Meestor_X)\
**Post date:** [8 February 2021 22:56 UTC](https://ifnotnil.com/t/xojo-rpi-64bit/1524/29 "2021-02-08T22:56:43Z")

</div>

> [@jjr](#):
>
> There should be a multi-arch package that includes all of the 32-bit libraries.

Thank you. If you come across a link or a how-to, I would appreciate it. Can’t seem to find anything that’s specific to this issue.  
Was actually hoping that @eugenedakin or someone had already done all the heavy lifting!

Really appreciate your help with this!

---

<div class="post-metadata">

**Author:** ![jjr](https://ifnotnil.com/user_avatar/ifnotnil.com/jjr/32/874_2.png) [@jjr](https://ifnotnil.com/u/jjr)\
**Post date:** [8 February 2021 22:58 UTC](https://ifnotnil.com/t/xojo-rpi-64bit/1524/30 "2021-02-08T22:58:30Z")

</div>

The arm64 stuff is still somewhat new. I know there is work being done on compatibility but it may still be experimental.

---

<div class="post-metadata">

**Author:** ![Meestor\_X](https://ifnotnil.com/user_avatar/ifnotnil.com/meestor_x/32/567_2.png) [@Meestor\_X](https://ifnotnil.com/u/Meestor_X)\
**Post date:** [8 February 2021 23:02 UTC](https://ifnotnil.com/t/xojo-rpi-64bit/1524/31 "2021-02-08T23:02:59Z")

</div>

Found this link, does it look applicable?

> <https://raspberrypi.stackexchange.com/questions/44342/is-it-possible-to-run-raspberry-pi-3-with-a-64-bit-kernel-and-32-bit-user-space>

---

<div class="post-metadata">

**Author:** ![jjr](https://ifnotnil.com/user_avatar/ifnotnil.com/jjr/32/874_2.png) [@jjr](https://ifnotnil.com/u/jjr)\
**Post date:** [8 February 2021 23:13 UTC](https://ifnotnil.com/t/xojo-rpi-64bit/1524/32 "2021-02-08T23:13:54Z")

</div>

Looks like a good place to start.

---

<div class="post-metadata">

**Author:** ![npalardy](https://ifnotnil.com/user_avatar/ifnotnil.com/npalardy/32/10_2.png) [@npalardy](https://ifnotnil.com/u/npalardy)\
**Post date:** [8 February 2021 23:37 UTC](https://ifnotnil.com/t/xojo-rpi-64bit/1524/33 "2021-02-08T23:37:52Z")

</div>

MacOS this is brand new with 10.15 or so  
64 bit Windows still runs 32 bit apps just fine since it includes all the required 32 bit compatibility (literally called WOW - Windows On Windows I think)  
Most 64 bit OSes can run 32 bit apps IF they have the libraries that the 32 bit app requires

That would be the same on the Pi I assume

> [@Meestor\_X](#):
>
> Getting mixed up between Windows and MacOS. Definitely lots of 32-bit MacOS apps won’t run on 64-bit Catalina and later.

Apple removed the 32 bit components 🙂 Up to that point running 32 / 64 bit was no big deal  
But … Apple ☹

> [@Meestor\_X](#):
>
> doesn’t a Xojo build include all needed libraries? If not, how would I find which ones are needed in addition?

it includes all the libraries IT knows about (dylibs for plugins etc) but those depend on other bits in the OS (like libwebgtk etc) that they cant/dont ship as part of an app because they may have other dependencies as well and may need to be in specific locations

---

<div class="post-metadata">

**Author:** ![thorstenstueker](https://ifnotnil.com/letter_avatar_proxy/v4/letter/t/aca169/32.png) [@thorstenstueker](https://ifnotnil.com/u/thorstenstueker)\
**Post date:** [9 February 2021 00:23 UTC](https://ifnotnil.com/t/xojo-rpi-64bit/1524/34 "2021-02-09T00:23:03Z")

</div>

should run with this

```auto
dpkg --add-architecture i386

```

Then run this:

```auto
apt-get update 

```

look also for frther dependencies.

---

<div class="post-metadata">

**Author:** ![Meestor\_X](https://ifnotnil.com/user_avatar/ifnotnil.com/meestor_x/32/567_2.png) [@Meestor\_X](https://ifnotnil.com/u/Meestor_X)\
**Post date:** [9 February 2021 00:24 UTC](https://ifnotnil.com/t/xojo-rpi-64bit/1524/35 "2021-02-09T00:24:13Z")

</div>

> [@thorstenstueker](#):
>
> `i386`

that’s ok on the RPI?

---

<div class="post-metadata">

**Author:** ![thorstenstueker](https://ifnotnil.com/letter_avatar_proxy/v4/letter/t/aca169/32.png) [@thorstenstueker](https://ifnotnil.com/u/thorstenstueker)\
**Post date:** [9 February 2021 00:45 UTC](https://ifnotnil.com/t/xojo-rpi-64bit/1524/36 "2021-02-09T00:45:30Z")

</div>

I can try tomorrow morning cause I am not in my Office but at home. But under Linux you should be able to install 32 bit libraries in that way. Please also do not forget to install libunwind8 otherwise no xojo app will run. Is it a webapp a desktop app or a command line app?

---

<div class="post-metadata">

**Author:** ![Meestor\_X](https://ifnotnil.com/user_avatar/ifnotnil.com/meestor_x/32/567_2.png) [@Meestor\_X](https://ifnotnil.com/u/Meestor_X)\
**Post date:** [9 February 2021 01:40 UTC](https://ifnotnil.com/t/xojo-rpi-64bit/1524/37 "2021-02-09T01:40:00Z")

</div>

> [@thorstenstueker](#):
>
> I can try tomorrow morning cause I am not in my Office but at home. But under Linux you should be able to install 32 bit libraries in that way.

Thank you!

> [@thorstenstueker](#):
>
> libunwind8

Good tip! May not be necessary on 64-bit…

```auto
pi@raspberrypi:~/Documents/RP-Tunnel (Andy) $ sudo apt-get install libunwind8
Reading package lists... Done
Building dependency tree       
Reading state information... Done
libunwind8 is already the newest version (1.2.1-10~deb10u1).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

```

> [@thorstenstueker](#):
>
> Is it a webapp a desktop app or a command line app?

Desktop.

---

<div class="post-metadata">

**Author:** ![Meestor\_X](https://ifnotnil.com/user_avatar/ifnotnil.com/meestor_x/32/567_2.png) [@Meestor\_X](https://ifnotnil.com/u/Meestor_X)\
**Post date:** [9 February 2021 01:45 UTC](https://ifnotnil.com/t/xojo-rpi-64bit/1524/38 "2021-02-09T01:45:42Z")

</div>

> [@thorstenstueker](#):
>
> should run with this
> 
> ```auto
> dpkg --add-architecture i386
> 
> ```
> 
> Then run this:
> 
> ```auto
> apt-get update 
> 
> ```

Tried it. No joy.

---

<div class="post-metadata">

**Author:** ![npalardy](https://ifnotnil.com/user_avatar/ifnotnil.com/npalardy/32/10_2.png) [@npalardy](https://ifnotnil.com/u/npalardy)\
**Post date:** [9 February 2021 02:08 UTC](https://ifnotnil.com/t/xojo-rpi-64bit/1524/39 "2021-02-09T02:08:42Z")

</div>

adding the i386 architecture to a Pi wont help since a Pi is not an Intel (i386)  
Even if the packages could be installed they wont run

maybe

```auto
dpkg --add-architecture armhf

```

which is 32 bit arm

---

<div class="post-metadata">

**Author:** ![Meestor\_X](https://ifnotnil.com/user_avatar/ifnotnil.com/meestor_x/32/567_2.png) [@Meestor\_X](https://ifnotnil.com/u/Meestor_X)\
**Post date:** [9 February 2021 06:23 UTC](https://ifnotnil.com/t/xojo-rpi-64bit/1524/40 "2021-02-09T06:23:00Z")

</div>

Thanks, but no cigar ☹

[Previous page](https://ifnotnil.com/t/xojo-rpi-64bit/1524.md?page=1)

[Next page](https://ifnotnil.com/t/xojo-rpi-64bit/1524.md?page=3)
