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

Add LibPath for shared library initialization #1

Open
bpbecker opened this issue Jan 26, 2023 · 0 comments
Open

Add LibPath for shared library initialization #1

bpbecker opened this issue Jan 26, 2023 · 0 comments

Comments

@bpbecker
Copy link
Contributor

Currently you need to put the shared libraries in one of a few specific places, some of which require administrator access. We should add an optional LibPath variable to the Math namespace. If specified, this is where Math will look first for the shared libraries.

Ideally I'd like to see the following search hierarchy implemented:

  • LibPath, if non-empty
  • the directory with the dyalog executable
  • the current directory
  • the Windows\System directory (Windows only)
  • the Windows\ directory (Windows only)
  • a directory in the operating system's PATH
  • the directory where Math.dyalog was loaded from (if available)
  • the directory of the current workspace (if applicable)
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

1 participant