Skip to content

Instantly share code, notes, and snippets.

@emk
Last active August 29, 2015 14:02
Show Gist options
  • Save emk/9f27145d7f2e593d1463 to your computer and use it in GitHub Desktop.
Save emk/9f27145d7f2e593d1463 to your computer and use it in GitHub Desktop.
Rust dynamic linked on Heroku
$ heroku run ldd ./lang-detect
Running `ldd ./lang-detect` attached to terminal... up, run.9621
linux-vdso.so.1 => (0x00007fff82163000)
librustful-9550c8e3-0.1-pre.so => /app/./lib/rustful/lib/librustful-9550c8e3-0.1-pre.so (0x00007f67ee595000)
libnative-1fb5e2c0-0.11.0-pre.so => not found
libhttp-2cee9fa1-0.1-pre.so => /app/./lib/rustful/lib/libhttp-2cee9fa1-0.1-pre.so (0x00007f67ee283000)
libcollections-d412c0c4-0.11.0-pre.so => not found
librand-2ea8f361-0.11.0-pre.so => not found
libstd-59beb4f7-0.11.0-pre.so => not found
libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x00007f67ee06b000)
libc.so.6 => /lib/libc.so.6 (0x00007f67edce4000)
/lib64/ld-linux-x86-64.so.2 (0x00007f67ee7f0000)
libsyntax-555559ea-0.11.0-pre.so => not found
libtime-4bb3739b-0.11.0-pre.so => not found
libcollections-d412c0c4-0.11.0-pre.so => not found
libdebug-1e940314-0.11.0-pre.so => not found
liblog-cd053230-0.11.0-pre.so => not found
librand-2ea8f361-0.11.0-pre.so => not found
libstd-59beb4f7-0.11.0-pre.so => not found
libtime-4bb3739b-0.11.0-pre.so => not found
liblog-cd053230-0.11.0-pre.so => not found
liburl-b8b5640c-0.11.0-pre.so => not found
libdebug-1e940314-0.11.0-pre.so => not found
libstd-59beb4f7-0.11.0-pre.so => not found
# Deleting custom *.so dependencies gives us:
$ heroku run ldd ./lang-detect
Running `ldd ./lang-detect` attached to terminal... up, run.1153
linux-vdso.so.1 => (0x00007fffba7fe000)
libnative-1fb5e2c0-0.11.0-pre.so => not found
libsyntax-555559ea-0.11.0-pre.so => not found
libtime-4bb3739b-0.11.0-pre.so => not found
liburl-b8b5640c-0.11.0-pre.so => not found
libcollections-d412c0c4-0.11.0-pre.so => not found
libdebug-1e940314-0.11.0-pre.so => not found
librand-2ea8f361-0.11.0-pre.so => not found
liblog-cd053230-0.11.0-pre.so => not found
libstd-59beb4f7-0.11.0-pre.so => not found
libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x00007f9817cad000)
libc.so.6 => /lib/libc.so.6 (0x00007f9817927000)
/lib64/ld-linux-x86-64.so.2 (0x00007f9817edb000)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment