toda icon indicating copy to clipboard operation
toda copied to clipboard

Failed to build an universal debug binary artifact on Fedora 35

Open STRRL opened this issue 2 years ago • 0 comments

After executing make debug on my machine, then copy the target/debug/toda into chaos-daemon container, it would failed to execute toda command with error:

/usr/local/bin/toda: error while loading shared libraries: libfuse3.so.3: cannot open shared object file: No such file or directory

After install the package libfuse3-3, it still failed with error:

toda: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.32' not found (required by toda)
toda: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.33' not found (required by toda)
toda: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.34' not found (required by toda)

🤪🤪 I could remove --release in Dockerfile to fetch a debug build now. I think we could also use this way to replace make debug recipe (also build debug build in docker)

STRRL avatar Mar 23 '22 13:03 STRRL