What I'm referring to is this sort of hoop-jumping: https://frostillic.us/blog/posts/2016/2/27/C28A45748198EB1385257F6600791862
Specifically, the way libnotes works on macOS and Linux, it's obligatory to have several environment variables prepped ahead of time in order to successfully load the library - I guess related to the use of
@executable_path references. While this is practical sometimes, it's a massive impediment in other situations, such as trying to get
maven-surefire-plugin working, especially with macOS releases from the last four years: https://stackoverflow.com/questions/42747213/can-i-set-dyld-library-path-with-maven-surefire-plugin . It ends up being a pretty-consistent thorn in my side.
What I'd like is to be able to point to a dynamic library by path (libnotes or a combined variant), load it, and call NotesInitExtended, all without worrying about whether specific paths have been set up in the environment ahead of time.