gjoseph / BarbaryWatchService

An implementation of Java 7’s WatchService for OS X
41 stars 10 forks source link

libCarbon.dylib fails to load on MacOS Big Sur #13

Closed chancerussell closed 2 years ago

chancerussell commented 4 years ago

When calling WatchableFile.register on a system running the first beta of MacOS Big Sur, the following exception is thrown:

java.lang.UnsatisfiedLinkError: Unable to load library 'Carbon': dlopen(libCarbon.dylib, 9): image not found
Exception in thread "main" java.lang.NoClassDefFoundError: Could not initialize class com.barbarysoftware.jna.CarbonAPI

This looks to affect other libraries using Carbon for file watching as well

Per that thread, it looks like the JNA folks are aware of the issue .

dbwiddis commented 4 years ago

FYI, JNA 5.6.0 has been released.

gjoseph commented 2 years ago

Hi @dbwiddis @chancerussell sorry for the slow response -- as you may have gathered, I haven't had capacity to maintain this project in a long time. I'm finally officially retiring it. See README for possible alternatives, if you're still needing this. ✌️