In my akka project while I'm trying to build I am getting this error also I downloaded all libraries
Uncaught error from thread [PersistentActors-akka.persistence.dispatchers.default-plugin-dispatcher-5]: Could not load library. Reasons: [no leveldbjni64-1.8 in java.library.path, no leveldbjni-1.8 in java.library.path, no leveldbjni in java.library.path, /private/var/folders/52/md0sb9l50k3b8rxw4sclh7kh0000gn/T/libleveldbjni-64-1-498021637280856383.8: dlopen(/private/var/folders/52/md0sb9l50k3b8rxw4sclh7kh0000gn/T/libleveldbjni-64-1-498021637280856383.8, 1): no suitable image found. Did find:
/private/var/folders/52/md0sb9l50k3b8rxw4sclh7kh0000gn/T/libleveldbjni-64-1-498021637280856383.8: no matching architecture in universal wrapper
Could you help me so on windows I fixed this problem by downloading Microsoft Visual C++ 2010 Redistributable Package but on mac I am out of ideas
my code
class SimplePersistentActor extends PersistentActor with ActorLogging {
override def persistenceId: String = "simple-persistence"
override def receiveCommand: Receive = {
case message => log.info(s"Received: $message")
}
override def receiveRecover: Receive = {
case event => log.info(s"Recovered: $event")
}
}
val system = ActorSystem("Playground")
val simpleActor = system.actorOf(Props[SimplePersistentActor], "simplePersistentActor")
simpleActor ! "I love Akka!"
question from:
https://stackoverflow.com/questions/65901134/hi-i-have-wierd-problem-on-mac-could-not-load-library-reasons-no-leveldbjni64 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…