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

Does not work on arm #91

Closed
tejassharma96 opened this issue Feb 28, 2024 · 6 comments · Fixed by #92
Closed

Does not work on arm #91

tejassharma96 opened this issue Feb 28, 2024 · 6 comments · Fixed by #92

Comments

@tejassharma96
Copy link

Was curious about trying this out, but I am on an M1 mac and this tool does not appear to support arm. I'm not familiar enough with c/makefiles/anything going on here to attempt to make those updates myself 😅

@devnoname120
Copy link
Collaborator

@tejassharma96 You can try this: #92

@tejassharma96
Copy link
Author

neat, will give it a try

@tejassharma96
Copy link
Author

this definitely builds now, but I haven't been able to get it to work after exporting DYLD_INSERT_LIBRARIES as per the readme. is there a different thing I should be doing for arm?

@devnoname120
Copy link
Collaborator

@tejassharma96 For me the following works. I have it in my ~/.zshrc:

export DYLD_INSERT_LIBRARIES="/Users/paul/devnoname120/stderred/build/libstderred.dylib${DYLD_INSERT_LIBRARIES:+:$DYLD_INSERT_LIBRARIES}"

What command did you try it with?

@tejassharma96
Copy link
Author

first I tried it with the alias:

alias stderred="DYLD_INSERT_LIBRARIES=/Users/tejass/Test/stderred/build/libstderred.dylib${DYLD_INSERT_LIBRARIES:+:$DYLD_INSERT_LIBRARIES}"
stderred cat jsdkj
cat: jsdkj: No such file or directory

but the output was just white

then I tried

export DYLD_INSERT_LIBRARIES=/Users/tejass/Test/stderred/build/libstderred.dylib${DYLD_INSERT_LIBRARIES:+:$DYLD_INSERT_LIBRARIES}
stderred cat jsdkj
cat: jsdkj: No such file or directory

but again the output was white. I'll try putting it in my zshrc and starting a new shell

@tejassharma96
Copy link
Author

no luck 🤷

it's probably a bad interaction with something else in my shell environment, I have several customizations...
either way, it certainly builds for me now and if it works for you then the issue must be something local to me. hopefully the maintainer merges your PR 🙏

@ku1ik ku1ik closed this as completed in 9249f63 Feb 14, 2025
@ku1ik ku1ik closed this as completed in #92 Feb 14, 2025
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

Successfully merging a pull request may close this issue.

2 participants