Reproduction steps:
1. Open the attached "IN-155585" project
2. In the menu bar, navigate to File > Build Profiles and make sure "Linux" is the active platform
3. Click "Build" and save the Player as "AbsolutePathPInvoke" in the project's "Build" folder
4. Open a console in the "Build" folder and run "./AbsolutePathPInvoke.x86_64 -batchmode -nographics -logFile - | grep "absolute path""
5. Observe the line printed in the console
Actual result: The line names "Unable to load dynamic library" with the Player folder path followed by "//tmp/in155585_missing.so"
Expected result: The line names "Unable to load dynamic library '/tmp/in155585_missing.so'"
Reproducible with: 6000.5.0a2, 6000.6.5f1, 6000.7.0b3, 7000.0.0a5
Not reproducible with: 6000.0.84f1, 6000.3.26f1, 6000.5.0a1
Reproducible environment: Ubuntu 24.04.5 LTS
Not reproducible environment: Windows 11 (Reporter)
Notes:
- When the library exists at the absolute path but fails to load, for example because of a missing dependency, the error names the Player folder path with "No such file or directory" instead of the real reason
- A library that exists at the absolute path and has no load problem still loads