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

Error: package or namespace load failed for ‘jointprof’ in dyn.load(file, DLLpath = DLLpath, ...): #49

Open
phauser opened this issue Oct 28, 2021 · 3 comments

Comments

@phauser
Copy link

phauser commented Oct 28, 2021

Error: package or namespace load failed for ‘jointprof’ in dyn.load(file, DLLpath = DLLpath, ...):
unable to load shared object '/Library/Frameworks/R.framework/Versions/4.0/Resources/library/00LOCK-jointprof/00new/jointprof/libs/jointprof.so':
dlopen(/Library/Frameworks/R.framework/Versions/4.0/Resources/library/00LOCK-jointprof/00new/jointprof/libs/jointprof.so, 6): Symbol not found: __Z24GetStackTraceWithContextPPviiPKv
Referenced from: /Library/Frameworks/R.framework/Versions/4.0/Resources/library/00LOCK-jointprof/00new/jointprof/libs/jointprof.so
Expected in: flat namespace
in /Library/Frameworks/R.framework/Versions/4.0/Resources/library/00LOCK-jointprof/00new/jointprof/libs/jointprof.so
Error: loading failed
Execution halted
ERROR: loading failed

  • removing ‘/Library/Frameworks/R.framework/Versions/4.0/Resources/library/jointprof’
    Warning message:
    In i.p(...) :
    installation of package ‘/var/folders/mq/303j9hds3sd14mdf7d50tb7r0000gn/T//RtmpuSikjS/file2bd27243e666/jointprof_0.0.1.9001.tar.gz’ had non-zero exit status
@krlmlr
Copy link
Member

krlmlr commented Oct 29, 2021

Thanks. We need to make use of the new ProfilerGetStackTrace() from gperftools/gperftools#1175. Would you like to help with a PR?

@phauser
Copy link
Author

phauser commented Oct 29, 2021

What's a PR? Sorry, I'm coding-challenged outside of RStudio.

@kchalkowski
Copy link

Hey, I'm having this same issue when trying to install jointprof. Has a workaround been created? Another notable part of the error is that I'm also getting a warning that says "dylib (/usr/local/lib/libprofiler.dylib) was built for newer macOS version (12.0) than being linked (10.13)". Oddly, I do have a newer mac osx version (12.5.1 Monterey), so not sure why I'm getting this warning. I've tried resetting the -mmacosx-version-min=10.13 to 12.0 with ./configure but it didn't change the flag when trying to install the package in R.

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

3 participants