Thank you, bliako, for your suggestions. Unfortunately, strace is not available on my Mac. I wasn't able to coax any additional debug information. I also tried setting the $dl_debug flag.
I did modify the Rmath.pm file to use the DynaLoader module instead of XSLoader, sort of a reverse migration. The result was the same, even when pushing the exact .dylib folder path onto @DynaLoader::dl_library_path. When I add code to the .bs file, it is executed, so I used that to modify @DynaLoader::dl_library_path.
The default values for @DynaLoader::dl_library_path are '/usr/lib' and '/usr/local/lib'. The library loads correctly from either of those locations. I was able to load the library from other locations using the dl_load_file() function.
In reply to Re^2: XSLoader/DynaLoader Can't Locate Library
by wbirkett
in thread XSLoader/DynaLoader Can't Locate Library
by wbirkett
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |