Fork me on GitHub
#boot
<
2021-11-18
Ian Fernandez17:11:53

I'm having this error when I run boot in a project

Ian Fernandez17:11:06

java.lang.UnsatisfiedLinkError: /Users/ianffcs/Library/Caches/JNA/temp/jna5437242980504134370.tmp: dlopen(/Users/ianffcs/Library/Caches/JNA/temp/jna5437242980504134370.tmp, 1): no suitable image found.  Did find:
                                        /Users/ianffcs/Library/Caches/JNA/temp/jna5437242980504134370.tmp: no matching architecture in universal wrapper
                                        /Users/ianffcs/Library/Caches/JNA/temp/jna5437242980504134370.tmp: no matching architecture in universal wrapper
    clojure.lang.ExceptionInfo: /Users/ianffcs/Library/Caches/JNA/temp/jna5437242980504134370.tmp: dlopen(/Users/ianffcs/Library/Caches/JNA/temp/jna5437242980504134370.tmp, 1): no suitable image found.  Did find:
                                        /Users/ianffcs/Library/Caches/JNA/temp/jna5437242980504134370.tmp: no matching architecture in universal wrapper
                                        /Users/ianffcs/Library/Caches/JNA/temp/jna5437242980504134370.tmp: no matching architecture in universal wrapper
    line: 7

Ian Fernandez17:11:12

it's for macbook m1

Ian Fernandez17:11:25

anyone knows what's happening?

Ian Fernandez18:11:33

I think the error is in watch-dirs

Ian Fernandez18:11:55

boot -v repl
registering src [:create :modify :delete]
                                                        boot.App.main                           App.java:  500
                                                     boot.App.runBoot                           App.java:  407
          org.projectodd.shimdandy.impl.ClojureRuntimeShimImpl.invoke        ClojureRuntimeShimImpl.java:  145
          org.projectodd.shimdandy.impl.ClojureRuntimeShimImpl.invoke        ClojureRuntimeShimImpl.java:  154
                                              clojure.lang.Var.invoke                           Var.java:  396
                                                      boot.main/-main                           main.clj:  216
                                                   boot.main/-main/fn                           main.clj:  216
                                             clojure.core/load-string                           core.clj: 4055
                                             clojure.core/load-reader                           core.clj: 4053
                                           clojure.lang.Compiler.load                      Compiler.java: 7461
                                           clojure.lang.Compiler.load                      Compiler.java: 7514
                                           clojure.lang.Compiler.eval                      Compiler.java: 7062
                                            boot.user$eval3418.invoke                                   :    8
                                      boot.user$eval3418.invokeStatic                                   :    8
                                           clojure.lang.RestFn.invoke                        RestFn.java:  619
                                                   boot.core/set-env!                           core.clj:  861
                                                   boot.core/set-env!                           core.clj:  876
                                           clojure.lang.RestFn.invoke                        RestFn.java:  529
                                                   clojure.core/swap!                           core.clj: 2337
                                                   clojure.core/swap!                           core.clj: 2347
                                               clojure.lang.Atom.swap                          Atom.java:   83
                                      clojure.lang.ARef.notifyWatches                          ARef.java:   81
                                                   boot.core/init!/fn                           core.clj:  777
                                                boot.core/configure!*                           core.clj:  311
                                          clojure.lang.MultiFn.invoke                       MultiFn.java:  243
                                                boot.core/eval1052/fn                           core.clj:  798
                                             boot.core/set-user-dirs!                           core.clj:  196
                                           clojure.lang.RestFn.invoke                        RestFn.java:  464
                                                 boot.core/watch-dirs                           core.clj:  729
                                                 boot.core/watch-dirs                           core.clj:  744
                          clojure.lang.Reflector.invokeInstanceMethod                     Reflector.java:   28
                          clojure.lang.Reflector.invokeMatchingMethod                     Reflector.java:   93
                                      java.lang.reflect.Method.invoke                        Method.java:  498
                      sun.reflect.DelegatingMethodAccessorImpl.invoke  DelegatingMethodAccessorImpl.java:   43
                          sun.reflect.NativeMethodAccessorImpl.invoke      NativeMethodAccessorImpl.java:   62
                         sun.reflect.NativeMethodAccessorImpl.invoke0       NativeMethodAccessorImpl.java     
          org.projectodd.shimdandy.impl.ClojureRuntimeShimImpl.invoke        ClojureRuntimeShimImpl.java:  145
          org.projectodd.shimdandy.impl.ClojureRuntimeShimImpl.invoke        ClojureRuntimeShimImpl.java:  154
                                              clojure.lang.Var.invoke                           Var.java:  396
                                           clojure.lang.RestFn.invoke                        RestFn.java:  464
                                            boot.watcher/make-watcher                        watcher.clj:  124
                                            boot.watcher/make-watcher                        watcher.clj:  127
                                                 boot.watcher/service                        watcher.clj:   96
                                           boot.watcher/service/doreg                        watcher.clj:   95
                                      boot.watcher/register-recursive                        watcher.clj:   64
                                            boot.watcher/eval759/fn/G                        watcher.clj:   25
                                              boot.watcher/eval799/fn                        watcher.clj:   52
              com.barbarysoftware.watchservice.WatchableFile.register                 WatchableFile.java:   43
              com.barbarysoftware.watchservice.WatchableFile.register                 WatchableFile.java:   34
com.barbarysoftware.watchservice.MacOSXListeningWatchService.register   MacOSXListeningWatchService.java:   30
                       com.barbarysoftware.jna.CFStringRef.toCFString                   CFStringRef.java:   10
                           com.barbarysoftware.jna.CarbonAPI.<clinit>                     CarbonAPI.java:    6
                                          com.sun.jna.Native.<clinit>                        Native.java:  195
                         com.sun.jna.Native.loadNativeDispatchLibrary                        Native.java:  988
            com.sun.jna.Native.loadNativeDispatchLibraryFromClasspath                        Native.java: 1012
                                                java.lang.System.load                        System.java: 1088
                                              java.lang.Runtime.load0                       Runtime.java:  810
                                    java.lang.ClassLoader.loadLibrary                   ClassLoader.java: 1817
                                   java.lang.ClassLoader.loadLibrary0                   ClassLoader.java: 1934
                             java.lang.ClassLoader$NativeLibrary.load                    ClassLoader.java     
java.lang.UnsatisfiedLinkError: /Users/ianffcs/Library/Caches/JNA/temp/jna2051941488710427540.tmp: dlopen(/Users/ianffcs/Library/Caches/JNA/temp/jna2051941488710427540.tmp, 1): no suitable image found.  Did find:
                                        /Users/ianffcs/Library/Caches/JNA/temp/jna2051941488710427540.tmp: no matching architecture in universal wrapper
                                        /Users/ianffcs/Library/Caches/JNA/temp/jna2051941488710427540.tmp: no matching architecture in universal wrapper
    clojure.lang.ExceptionInfo: /Users/ianffcs/Library/Caches/JNA/temp/jna2051941488710427540.tmp: dlopen(/Users/ianffcs/Library/Caches/JNA/temp/jna2051941488710427540.tmp, 1): no suitable image found.  Did find:
                                        /Users/ianffcs/Library/Caches/JNA/temp/jna2051941488710427540.tmp: no matching architecture in universal wrapper
                                        /Users/ianffcs/Library/Caches/JNA/temp/jna2051941488710427540.tmp: no matching architecture in universal wrapper
    line: 8