<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body style="overflow-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;"><blockquote type="cite">Linker.defaultLookup returns a lookup which might contain "common" symbols -</blockquote><div><br></div>Thanks for the explanation.<div><br><div><br><blockquote type="cite"><div>On May 10, 2023, at 7:13 AM, Maurizio Cimadamore <maurizio.cimadamore@oracle.com> wrote:</div><br class="Apple-interchange-newline"><div><meta charset="UTF-8"><span style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; float: none; display: inline !important;">This seems to suggest that setting either LD_LIBRARY_PATH or DYLD_LIBRARY_PATH and then pass a library name _without slashes_ should work.<span class="Apple-converted-space"> </span></span></div></blockquote><br></div><div>export DYLD_LIBRARY_PATH=/Users/mjh/Documents/java/panama/mesa-23.0.1/os/lib</div><div><br></div><div>I’ve used these variables before and it worked. Not often. Possibly I’ve missed something. I’ll go back over it. Very possibly still something with the loadLibrary not specifying the library properly. </div><div><br></div><div><blockquote type="cite">Regarding your last point on chaining, I'm not sure what you mean by "more complex situation": if you have 5 libraries, you need a composite lookup that has 5 leaf lookups - I doesn't seem to change things much? (and, actually, I think keeping a 1-1 correspondence between leaf lookups and library helps?)</blockquote><br></div><div>Basically you’re saying you need a length 5 chain that needs to be searched for the leaf? Yes, ultimately you would at some point. Possibly you would be over working a lambda? I thought it might be more a convenience to the developer if they have a collection of Path’s they could specify them in one invocation of libraryLookup and the api would manage the necessary multiple SymbolLookup’s searching for the leaf. The developer can of course manage this themselves although again at some point maybe not with a lambda.</div><div><br></div><div>Thanks,</div><div>Mike</div><div><br></div><div><br></div><br></div></body></html>