lightningrodlabs / holochain-runner

Gives a binary providing wrapped Holochain Conductor with Status Update events, and a good SIGTERM kill switch
20 stars 3 forks source link

Crash on Ubuntu 20.04.X #26

Open pospi opened 1 year ago

pospi commented 1 year ago

I think this is due to differences in GLibC between 20.04 and 22.04.

$ ./Acorn-6.1.0-alpha.AppImage 
ACORN_AGENT_NUM NaN
holochain > 
holochain stderr err > /tmp/.mount_Acorn-iioSjW/resources/app.asar.unpacked/binaries/holochain-runner: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.32' not found (required by /tmp/.mount_Acorn-iioSjW/resources/app.asar.unpacked/binaries/holochain-runner)
/tmp/.mount_Acorn-iioSjW/resources/app.asar.unpacked/binaries/holochain-runner: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.34' not found (required by /tmp/.mount_Acorn-iioSjW/resources/app.asar.unpacked/binaries/holochain-runner)
/tmp/.mount_Acorn-iioSjW/resources/app.asar.unpacked/binaries/holochain-runner: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.33' not found (required by /tmp/.mount_Acorn-iioSjW/resources/app.asar.unpacked/binaries/holochain-runner)

an unhandled error occurred: Error: /tmp/.mount_Acorn-iioSjW/resources/app.asar.unpacked/binaries/holochain-runner: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.32' not found (required by /tmp/.mount_Acorn-iioSjW/resources/app.asar.unpacked/binaries/holochain-runner)
/tmp/.mount_Acorn-iioSjW/resources/app.asar.unpacked/binaries/holochain-runner: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.34' not found (required by /tmp/.mount_Acorn-iioSjW/resources/app.asar.unpacked/binaries/holochain-runner)
/tmp/.mount_Acorn-iioSjW/resources/app.asar.unpacked/binaries/holochain-runner: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.33' not found (required by /tmp/.mount_Acorn-iioSjW/resources/app.asar.unpacked/binaries/holochain-runner)

    at Socket.<anonymous> (/tmp/.mount_Acorn-iioSjW/resources/app.asar/node_modules/@lightningrodlabs/electron-holochain/dist/src/holochain.js:119:33)
    at Socket.emit (node:events:527:28)
    at addChunk (node:internal/streams/readable:315:12)
    at readableAddChunk (node:internal/streams/readable:289:9)
    at Readable.push (node:internal/streams/readable:228:10)
    at Pipe.onStreamRead (node:internal/stream_base_commons:190:23)
holochain-runner closed with code:  1
Connoropolous commented 1 year ago

right... there was this issue logged some time ago, so this looks similar https://github.com/lightningrodlabs/acorn/issues/18

I think the solution was maybe to build our holochain-runner binaries on the older ubuntu... Could also build two separate versions of holochain-runner and Acorn for different Ubuntu versions since it seems there basic composition tends to break.

pospi commented 1 year ago

Does it work with a 20.04 binary on 22.04? I would kinda presume it would, since the older APIs should still be available in the newer GLibC? Maybe that is all that needs to be changed for it to be universal.

Otherwise, well, they are two distinct LTS versions 🤷

Sent from ProtonMail mobile

-------- Original Message -------- On 12 July 2023, 11:38 am, Connor Turland wrote:

right... there was this issue logged some time ago, so this looks similar lightningrodlabs/acorn#18

I think the solution was maybe to build our holochain-runner binaries on the older ubuntu... Could also build two separate versions of holochain-runner and Acorn for different Ubuntu versions since it seems there basic composition tends to break.

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>