Page MenuHomePhabricator

C#: Fix class registration when running with dotnet core
Open, HighPublic

Description

Current function registration code uses dlsym(RTLD_DEFAULT, ...). While it works on Mono (which dlopen's with RTLD_GLOBAL), it fails in dotnet core which uses RTLD_LOCAL (dlopen's default).

We should change the registration code to use the library handles when dlsym'ing the function pointers.

lauromoura triaged this task as High priority.
woohyun added a subscriber: woohyun.Thu, Dec 6, 6:29 PM

@lauromoura

Could you share the progress of this work ?