LibCarbon failure on MacOS Big Sur
See original GitHub issuePlay Version
2.8.2
API
Scala
Operating System
MacOS Big Sur Developer Beta Seed 1
JDK
JDK 11
Library Dependencies
Expected Behavior
sbt run
Actual Behavior
sbt runfails to run with below exception
[error] java.lang.UnsatisfiedLinkError: Unable to load library 'Carbon':
[error] dlopen(libCarbon.dylib, 9): image not found
[error] dlopen(libCarbon.dylib, 9): image not found
[error] at com.sun.jna.NativeLibrary.loadLibrary(NativeLibrary.java:302)
[error] at com.sun.jna.NativeLibrary.getInstance(NativeLibrary.java:455)
[error] at com.sun.jna.Library$Handler.<init>(Library.java:192)
[error] at com.sun.jna.Native.loadLibrary(Native.java:646)
[error] at com.sun.jna.Native.loadLibrary(Native.java:630)
[error] at io.methvin.watchservice.jna.CarbonAPI.<clinit>(CarbonAPI.java:20)
[error] at io.methvin.watchservice.jna.CFStringRef.toCFString(CFStringRef.java:23)
[error] at io.methvin.watchservice.MacOSXListeningWatchService.register(MacOSXListeningWatchService.java:128)
[error] at io.methvin.watchservice.WatchablePath.register(WatchablePath.java:50)
[error] at io.methvin.watcher.DirectoryWatcher.register(DirectoryWatcher.java:341)
[error] at io.methvin.watcher.DirectoryWatcher.registerAll(DirectoryWatcher.java:315)
[error] at io.methvin.watcher.DirectoryWatcher.<init>(DirectoryWatcher.java:176)
[error] at io.methvin.watcher.DirectoryWatcher$Builder.build(DirectoryWatcher.java:117)
[error] at play.dev.filewatch.DefaultFileWatchService.watch(DefaultFileWatchService.scala:38)
[error] at play.dev.filewatch.FileWatchService$$anon$1.watch(FileWatchService.scala:87)
[error] at play.runsupport.Reloader.<init>(Reloader.scala:443)
[error] at play.runsupport.Reloader$.reloader$lzycompute$1(Reloader.scala:283)
[error] at play.runsupport.Reloader$.play$runsupport$Reloader$$reloader$1(Reloader.scala:275)
[error] at play.runsupport.Reloader$.startDevMode(Reloader.scala:311)
[error] at play.sbt.run.PlayRun$.devModeServer$lzycompute$1(PlayRun.scala:98)
[error] at play.sbt.run.PlayRun$.devModeServer$1(PlayRun.scala:81)
[error] at play.sbt.run.PlayRun$.$anonfun$playRunTask$3(PlayRun.scala:105)
[error] at play.sbt.run.PlayRun$.$anonfun$playRunTask$3$adapted(PlayRun.scala:67)
[error] at scala.Function1.$anonfun$compose$1(Function1.scala:49)
Reproducible Test Case
Issue Analytics
- State:
- Created 3 years ago
- Comments:12 (3 by maintainers)
Top Results From Across the Web
Missing librairies in /usr/lib on Big Sur? - Apple Developer
So, I've a question, if a program made for a previous version of OSX is trying to use /usr/lib/libSystem.B.dylib it will fail, won't...
Read more >macOS 11 Big Sur, 12 Monterey and Ventura
This article covers how to troubleshoot Sophos Home issues on macOS 11 through 13. TROUBLESHOOTING Post-installation (or upgrade) issues on Big Sur, ...
Read more >How to Fix 'Computer Account Creation Failed' During macOS ...
These are instructions on how to fix the 'Computer account creation failed' error when installing macOS Big Sur.
Read more >Compatibility with macOS Big Sur (macOS 11) (Intel-based)
* For information on support for Mac computers using the M1 chip, check here. Legend. Yes: Compatible, Compatible with macOS Big Sur. Limited:...
Read more >Troubleshoot Slack notifications on macOS Big Sur
Tip: To check if you're using macOS Big Sur, click the Apple icon in the top left corner of your screen, then select...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

You need to upgrade to sbt 1.6.2
FYI, JNA 5.6.0 has been released.