Trying to run a Bevy Rust server, getting this crash during deployment: libffi.so.8
raminkav
HOBBYOP

a year ago

Here is the error message:

target/release/server: error while loading shared libraries: libffi.so.8: cannot open shared object file: No such file or directory

I already tried adding this to a nixpack.toml like so:

[phases.setup]
aptPkgs = ["libwayland-dev", "pkg-config", "libasound2-dev", "libudev-dev", "libffi-dev", "libffi8"]

I'm not sure what else to do, or why this is happening

Solved

3 Replies

chandrika
EMPLOYEE

a year ago

Hey there, could you check if you have the right version of the libffi the toml?


Status changed to Awaiting User Response Railway over 1 year ago


chandrika

Hey there, could you check if you have the right version of the `libffi` the toml?

raminkav
HOBBYOP

a year ago

hi, do you mean in the nixpack.toml ? Ive tried "libffi8" and also just "libffi-dev" and both


Status changed to Awaiting Railway Response Railway over 1 year ago


a year ago

I would have to recommend you write a Dockerfile for this, the now outdated Nixpacks builder has always had issues installing libraries.


Status changed to Awaiting User Response Railway over 1 year ago


Railway
BOT

a year ago

This thread has been marked as solved automatically due to a lack of recent activity. Please re-open this thread or create a new one if you require further assistance. Thank you!

Status changed to Solved Railway 11 months ago


Welcome!

Sign in to your Railway account to join the conversation.

Loading...