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

Automatically clean_dll() if architecture changes? #226

Open
hadley opened this issue Sep 20, 2022 · 0 comments
Open

Automatically clean_dll() if architecture changes? #226

hadley opened this issue Sep 20, 2022 · 0 comments
Labels
feature a feature request or enhancement

Comments

@hadley
Copy link
Member

hadley commented Sep 20, 2022

i.e. can we automatically detect this situation?

Error in dyn.load(dll_copy_file) : 
  unable to load shared object '/tmp/Rtmpqo4q9b/pkgload1454961696d44/purrr.so':
  dlopen(/tmp/Rtmpqo4q9b/pkgload1454961696d44/purrr.so, 0x0006): tried: '/tmp/Rtmpqo4q9b/pkgload1454961696d44/purrr.so' (mach-o file, but is an incompatible architecture (have (x86_64), need (arm64e))), '/private/tmp/Rtmpqo4q9b/pkgload1454961696d44/purrr.so' (mach-o file, but is an incompatible architecture (have (x86_64), need (arm64e)))
Calls: suppressPackageStartupMessages ... <Anonymous> -> load_dll -> library.dynam2 -> dyn.load
Execution halted
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature a feature request or enhancement
Projects
None yet
Development

No branches or pull requests

2 participants