For this to use you will need to have either transport-native-kqueue or transport-native-epoll on the classpath and load it via Epoll.ensureAvailability() or KQueue.ensureAvailability().
> On 28. Oct 2020, at 12:51, Tim Fox <[email protected]> wrote: > > Hi folks, > > I want to use the class io.netty.channel.unix.FileDescriptor in my own > program, and I'm getting an UnsatisfiedLinkError at runtime when using it. > Presumably this is because the native library has not been loaded. > > What's the correct way of loading the Native lib? I notice Netty contains a > NativeLibraryLoader class - which looks in various places for the lib, but I > couldn't get that to work. > > -- > You received this message because you are subscribed to the Google Groups > "Netty discussions" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected] > <mailto:[email protected]>. > To view this discussion on the web visit > https://groups.google.com/d/msgid/netty/956fc574-b8d9-4c9f-b93f-978324ac276dn%40googlegroups.com > > <https://groups.google.com/d/msgid/netty/956fc574-b8d9-4c9f-b93f-978324ac276dn%40googlegroups.com?utm_medium=email&utm_source=footer>. -- You received this message because you are subscribed to the Google Groups "Netty discussions" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/netty/ABF14791-3173-4BFE-AFCB-198F8580B91A%40googlemail.com.
