Skip to content

Instantly share code, notes, and snippets.

@kshcherban
Created February 20, 2019 07:45
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kshcherban/25e11b4deb26a486e9e5657b3405a900 to your computer and use it in GitHub Desktop.
Save kshcherban/25e11b4deb26a486e9e5657b3405a900 to your computer and use it in GitHub Desktop.
root@8d3475ae6b05:/opt/Downloads/PyOxidizer# ls -lah target/debug/pyapp
-rwxr-xr-x 2 root root 86M Feb 20 07:40 target/debug/pyapp
root@8d3475ae6b05:/opt/Downloads/PyOxidizer# ldd target/debug/pyapp
linux-vdso.so.1 (0x00007ffca7ddd000)
libutil.so.1 => /lib/x86_64-linux-gnu/libutil.so.1 (0x00007f56f1ea7000)
libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007f56f1ca3000)
librt.so.1 => /lib/x86_64-linux-gnu/librt.so.1 (0x00007f56f1a9b000)
libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007f56f187e000)
libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x00007f56f1667000)
libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f56f12c8000)
/lib64/ld-linux-x86-64.so.2 (0x00007f56f6983000)
libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007f56f0fc4000)
root@8d3475ae6b05:/opt/Downloads/PyOxidizer# ls -lah target/debug/pyapp
-rwxr-xr-x 2 root root 86M Feb 20 07:40 target/debug/pyapp
root@8d3475ae6b05:/opt/Downloads/PyOxidizer# target/debug/pyapp --version
thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: PyErr { ptype: <class 'SyntaxError'>, pvalue: Some(('invalid syntax', ('<string>', 1, 6, 'import re, sys; from black import main; main()'))), ptraceback: None }', src/libcore/result.rs:1009:5
note: Run with `RUST_BACKTRACE=1` for a backtrace.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment