-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
PCM file not found #9697
Comments
As far as I can tell, this is related to the following snippet from here.
The absolute path to my library contains a hidden file ($HOME/.local), so when the path is iterated through it skips over any directory starting with a period character. If I remove the first continue statement above, it seems to work fine. Tim |
Wow, well done, Tim, thanks so much for your help with debugging this! I'll check what this code is meant to do. |
path elements starting with "." should not be ignored, only "./" itself. Fixes issue root-project#9697.
That's #9911 ! |
path elements starting with "." should not be ignored, only "./" itself. Fixes issue #9697.
Merged, thanks for reporting. Do you need this in the upcoming 6.26 or in 6.24, or is it enough to fix this in master and the future 6.28? |
It's not urgent, I can wait for 6.28. Thanks! |
Thanks! |
path elements starting with "." should not be ignored, only "./" itself. Fixes issue root-project#9697. (cherry picked from commit 37a396c)
[x] Checked for duplicates
Describe the bug
Error message
Error in <TCling::LoadPCM>: ROOT PCM <root_build_directory/bin/library_rdict.pcm> file does not exist
is printed when a dynamic library is loaded in the ROOT prompt, even when the appropriate *_rdict.pcm file exists in the same directory as the library.
Expected behavior
ROOT should search both the $LD_LIBRARY_PATH and the directory where the library is located for the *_rdict.pcm file.
To Reproduce
Load a dynamic library with
gROOT->ProcessLine(".L path_to_library.dylib")
or equivalent
Setup
The text was updated successfully, but these errors were encountered: