SymbolLookup.libraryLookup does not lookup java.library.path

XMLWordPrintable

    • Type: Bug
    • Resolution: Not an Issue
    • Priority: P3
    • None
    • Affects Version/s: 21
    • Component/s: core-libs
    • None

      Library lookup is only working with LD_LIBRARY_PATH. Command line option -Djava.library.path=<lib> isn't working.

      SymbolLookup.libraryLookup("libXYZ.so", Arena.ofAuto());
      On using java command line -Djava.library.path=<libpath>, throws cannot open library (IllegalArgumentException).
      With the LD_LIBRARY_PATH=<libpath>, above call succeeds.

            Assignee:
            Unassigned
            Reporter:
            Prashanthram Gundarlahally
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: