System.loadLibrary and CLinker.lookup exception

Jack Andrews effbiae at gmail.com
Tue Apr 26 11:41:04 UTC 2022


On Tue, 26 Apr 2022 at 21:36, Sundararajan Athijegannathan <
sundararajan.athijegannathan at oracle.com> wrote:

> systemCLinker() cannot see arbitrary symbols. It is meant only for C
> runtime library functions. You're loading your library "k" using
> System.loadLibrary and so only loader lookup can look at symbols from it.
>

that makes sense. but why are there two ways to lookup a symbol? surely
that just introduces unneeded complexity?

python's FFI doesn't need 2 different symbol resolvers.

best,
jack


More information about the panama-dev mailing list