Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to run with nightly #5

Open
emmatebibyte opened this issue Dec 6, 2022 · 3 comments
Open

Unable to run with nightly #5

emmatebibyte opened this issue Dec 6, 2022 · 3 comments

Comments

@emmatebibyte
Copy link

I'm trying to dynamically link sysexits to my cat implementation using this, but when I run it:

# LD_PRELOAD=target/release-helpful/libsysexits_dynamic.so target/release-helpful/cat /etc/pacman.conf
target/release-helpful/cat: error while loading shared libraries: libstd-08c52b3d112d8849.so: cannot open shared object file: No such file or directory
@emmatebibyte
Copy link
Author

The issue appears to be that crates which use the standard library cannot be dynamically linked.

@rksm
Copy link
Owner

rksm commented Dec 17, 2022

Hmm interesting, using sysexits with libc on macos seems to work OK.

@emmatebibyte
Copy link
Author

emmatebibyte commented Dec 17, 2022 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants