Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

There are some problems with RockDB on the M1 chip of the mac #459

Closed
mailes opened this issue Nov 22, 2022 · 3 comments
Closed

There are some problems with RockDB on the M1 chip of the mac #459

mailes opened this issue Nov 22, 2022 · 3 comments

Comments

@mailes
Copy link

mailes commented Nov 22, 2022

There are some problems with RockDB on the M1 chip of the mac. The previous intel chip runs well. I don't know why. Did the author encounter this problem?

WX20221122-210012@2x

@mailes
Copy link
Author

mailes commented Nov 22, 2022

System.TypeInitializationException: "The type initializer for 'RocksDbSharp.Native' threw an exception." ---> NativeImport.NativeLoadException: "Unable to locate rocksdb native library, either install it, or use RocksDbNative nuget package\nSearched:\n/Users/mqh/Desktop/Git/Ferrite/Ferrite/bin/Debug/net7.0/runtimes/osx-arm64/native/librocksdb-7.7.3.dylib: (NativeLoadException) dlopen: dlopen(/Users/mqh/Desktop/Git/Ferrite/Ferrite/bin/Debug/net7.0/runtimes/osx-arm64/native/librocksdb-7.7.3.dylib, 0x0002): tried: '/Users/mqh/Desktop/Git/Ferrite/Ferrite/bin/Debug/net7.0/runtimes/osx-arm64/native/librocksdb-7.7.3.dylib' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/Users/mqh/Desktop/Git/Ferrite/Ferrite/bin/Debug/net7.0/runtimes/osx-arm64/native/librocksdb-7.7.3.dylib' (no such file), '/Users/mqh/Desktop/Git/Ferrite/Ferrite/bin/Debug/net7.0/runtimes/osx-arm64/native/librocksdb-7.7.3.dylib' (no such file)\n/Users/mqh/Desktop/Git/Ferrite/Ferrite/bin/Debug/net7.0/runtimes/osx-arm64/native/librocksdb-7.7.dylib: (NativeLoadException) dlopen: dlopen(/Users/mqh/Desktop/Git/Ferrite/Ferrite/bin/Debug/net7.0/runtimes/osx-arm64/native/librocksdb-7.7.dylib, 0x0002): tried: '/Users/mqh/Desktop/Git/Ferrite/Ferrite/bin/Debug/net7.0/runtimes/osx-arm64/native/librocksdb-7.7.dylib' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/Users/mqh/Desktop/Git/Ferrite/Ferrite/bin/Debug/net7.0/runtimes/osx-arm64/native/librocksdb-7.7.dylib' (no such file), '/Users/mqh/Desktop/Git/Ferrite/Ferrite/bin/Debug/net7.0/runtimes/osx-arm64/native/librocksdb-7.7.dylib' (no such file)\n/Users/mqh/Desktop/Git/Ferrite/Ferrite/bin/Debug/net7.0/runtimes/osx-arm64/native/librocksdb-7.dylib: (NativeLoadException) dlopen: dlopen(/Users/mqh/Desktop/Git/Ferrite/Ferrite/bin/Debug/net7.0/runtimes/osx-arm64/native/librocksdb-7.dylib, 0x0002): tried: '/Users/mqh/Desktop/Git/Ferrite/Ferrite/bin/Debug/net7.0/runtimes/osx-arm64/native/librocksdb-7.dylib' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/Users/mqh/Desktop/Git/Ferrite/Ferrite/bin/Debug/net7.0/runtimes/osx-arm64/native/librocksdb-7.dylib' (no such file), '/Users/mqh/Desktop/Git/Ferrite/Ferrite/bin/Debug/net7.0/runtimes/osx-arm64/native/librocksdb-7.dylib' (no such file)\n/Users/mqh/Desktop/Git/Ferrite/Ferrite/bin/Debug/net7.0/runtimes/osx-arm64/native/librocksdb.dylib: (NativeLoadException) dlopen: dlopen(/Users/mqh/Desktop/Git/Ferrite/Ferrite/bin/Debug/net7.0/runtimes/osx-arm64/native/librocksdb.dylib, 0x0002): tried: '/Users/mqh/Desktop/Git/Ferrite/Ferrite/bin/Debug/net7.0/runtimes/osx-arm64/native/librocksdb.dylib' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/Users/mqh/Desktop/Git/Ferrite/Ferrite/bin/Debug/net7.0/runtimes/osx-arm64/native/librocksdb.dylib' (no such file), '/Users/mqh/Desktop/Git/Ferrite/Ferrite/bin/Debug/net7.0/runtimes/osx-arm64/native/librocksdb.dylib' (no such file)\n/Users/mqh/Desktop/Git/Ferrite/Ferrite/bin/Debug/net7.0/native/arm64/librocksdb-7.7.3.dylib: (NativeLoadException) dlopen: dlopen(/Users/mqh/Desktop/Git/Ferrite/Ferrite/bin/Debug/net7.0/native/arm64/librocksdb-7.7.3.dylib, 0x0002): tried: '/Users/mqh/Desktop/Git/Ferrite/Ferrite/bin/Debug/net7.0/native/arm64/librocksdb-7.7.3.dylib' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/Users/mqh/Desktop/Git/Ferrite/Ferrite/bin/Debug/net7.0/native/arm64/librocksdb-7.7.3.dylib' (no such file), '/Users/mqh/Desktop/Git/Ferrite/Ferrite/bin/Debug/net7.0/native/arm64/librocksdb-7.7.3.dylib' (no such file)\n/Users/mqh/Desktop/Git/Ferrite/Ferrite/bin/Debug/net7.0/native/arm64/librocksdb-7.7.dylib: (NativeLoadException) dlopen: dlopen(/Users/mqh/Desktop/Git/Ferrite/Ferrite/bin/Debug/net7.0/native/arm64/librocksdb-7.7.dylib, 0x0002): tried: '/Users/mqh/Desktop/Git/Ferrite/Ferrite/bin/Debug/net7.0/native/arm64/librocksdb-7.7.dylib' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/Users/mqh/Desktop/Git/Ferrite/Ferrite/bin/Debug/net7.0/native/arm64/librocksdb-7.7.dylib' (no such file), '/Users/mqh/Desktop/Git/Ferrite/Ferrite/bin/Debug/net7.0/native/arm64/librocksdb-7.7.dylib' (no such file)\n/Users/mqh/Desktop/Git/Ferrite/Ferrite/bin/Debug/net7.0/native/arm64/librocksdb-7.dylib: (NativeLoadException) dlopen: dlopen(/Users/mqh/Desktop/Git/Ferrite/Ferrite/bin/Debug/net7.0/native/arm64/librocksdb-7.dylib, 0x0002): tried: '/Users/mqh/Desktop/Git/Ferrite/Ferrite/bin/Debug/net7.0/native/arm64/librocksdb-7.dylib' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/Users/mqh/Desktop/Git/Ferrite/Ferrite/bin/Debug/net7.0/native/arm64/librocksdb-7.dylib' (no such file), '/Users/mqh/Desktop/Git/Ferrite/Ferrite/bin/Debug/net7.0/native/arm64/librocksdb-7.dylib' (no such file)\n/Users/mqh/Desktop/Git/Ferrite/Ferrite/bin/Debug/net7.0/native/arm64/librocksdb.dylib: (NativeLoadException) dlopen: dlopen(/Users/mqh/Desktop/Git/Ferrite/Ferrite/bin/Debug/net7.0/native/arm64/librocksdb.dylib, 0x0002): tried: '/Users/mqh/Desktop/Git/Ferrite/Ferrite/bin/Debug/net7.0/native/arm64/librocksdb.dylib' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/Users/mqh/Desktop/Git/Ferrite/Ferrite/bin/Debug/net7.0/native/arm64/librocksdb.dylib' (no such file), '/Users/mqh/Desktop/Git/Ferrite/Ferrite/bin/Debug/net7.0/native/arm64/librocksdb.dylib' (no such file)\n/Users/mqh/Desktop/Git/Ferrite/Ferrite/bin/Debug/net7.0/native/librocksdb-7.7.3.dylib: (NativeLoadException) dlopen: dlopen(/Users/mqh/Desktop/Git/Ferrite/Ferrite/bin/Debug/net7.0/native/librocksdb-7.7.3.dylib, 0x0002): tried: '/Users/mqh/Desktop/Git/Ferrite/Ferrite/bin/Debug/net7.0/native/librocksdb-7.7.3.dylib' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/Users/mqh/Desktop/Git/Ferrite/Ferrite/bin/Debug/net7.0/native/librocksdb-7.7.3.dylib' (no such file), '/Users/mqh/Desktop/Git/Ferrite/Ferrite/bin/Debug/net7.0/native/librocksdb-7.7.3.dylib' (no such file)\n/Users/mqh/Desktop/Git/Ferrite/Ferrite/bin/Debug/net7.0/native/librocksdb-7.7.dylib: (NativeLoadException) dlopen: dlopen(/Users/mqh/Desktop/Git/Ferrite/Ferrite/bin/Debug/net7.0/native/librocksdb-7.7.dylib, 0x0002): tried: '/Users/mqh/Desktop/Git/Ferrite/Ferrite/bin/Debug/net7.0/native/librocksdb-7.7.dylib' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/Users/mqh/Desktop/Git/Ferrite/Ferrite/bin/Debug/net7.0/native/librocksdb-7.7.dylib' (no such file), '/Users/mqh/Desktop/Git/Ferrite/Ferrite/bin/Debug/net7.0/native/librocksdb-7.7.dylib' (no such file)\n/Users/mqh/Desktop/Git/Ferrite/Ferrite/bin/Debug/net7.0/native/librocksdb-7.dylib: (NativeLoadException) dlopen: dlopen(/Users/mqh/Desktop/Git/Ferrite/Ferrite/bin/Debug/net7.0/native/librocksdb-7.dylib, 0x0002): tried: '/Users/mqh/Desktop/Git/Ferrite/Ferrite/bin/Debug/net7.0/native/librocksdb-7.dylib' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/Users/mqh/Desktop/Git/Ferrite/Ferrite/bin/Debug/net7.0/native/librocksdb-7.dylib' (no such file), '/Users/mqh/Desktop/Git/Ferrite/Ferrite/bin/Debug/net7.0/native/librocksdb-7.dylib' (no such file)\n/Users/mqh/Desktop/Git/Ferrite/Ferrite/bin/Debug/net7.0/native/librocksdb.dylib: (NativeLoadException) dlopen: dlopen(/Users/mqh/Desktop/Git/Ferrite/Ferrite/bin/Debug/net7.0/native/librocksdb.dylib, 0x0002): tried: '/Users/mqh/Desktop/Git/Ferrite/Ferrite/bin/Debug/net7.0/native/librocksdb.dylib' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/Users/mqh/Desktop/Git/Ferrite/Ferrite/bin/Debug/net7.0/native/librocksdb.dylib' (no such file), '/Users/mqh/Desktop/Git/Ferrite/Ferrite/bin/Debug/net7.0/native/librocksdb.dylib' (no such file)\n/Users/mqh/Desktop/Git/Ferrite/Ferrite/bin/Debug/net7.0/arm64/librocksdb-7.7.3.dylib: (NativeLoadException) dlopen: dlopen(/Users/mqh/Desktop/Git/Ferrite/Ferrite/bin/Debug/net7.0/arm64/librocksdb-7.7.3.dylib, 0x0002): tried: '/Users/mqh/Desktop/Git/Ferrite/Ferrite/bin/Debug/net7.0/arm64/librocksdb-7.7.3.dylib' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/Users/mqh/Desktop/Git/Ferrite/Ferrite/bin/Debug/net7.0/arm64/librocksdb-7.7.3.dylib' (no such file), '/Users/mqh/Desktop/Git/Ferrite/Ferrite/bin/Debug/net7.0/arm64/librocksdb-7.7.3.dylib' (no such file)\n/Users/mqh/Desktop/Git/Ferrite/Ferrite/bin/Debug/net7.0/arm64/librocksdb-7.7.dylib: (NativeLoadException) dlopen: dlopen(/Users/mqh/Desktop/Git/Ferrite/Ferrite/bin/Debug/net7.0/arm64/librocksdb-7.7.dylib, 0x0002): tried: '/Users/mqh/Desktop/Git/Ferrite/Ferrite/bin/Debug/net7.0/arm64/librocksdb-7.7.dylib' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/Users/mqh/Desktop/Git/Ferrite/Ferrite/bin/Debug/net7.0/arm64/librocksdb-7.7.dylib' (no such file), '/Users/mqh/Desktop/Git/Ferrite/Ferrite/bin/Debug/net7.0/arm64/librocksdb-7.7.dylib' (no such file)\n/Users/mqh/Desktop/Git/Ferrite/Ferrite/bin/Debug/net7.0/arm64/librocksdb-7.dylib: (NativeLoadException) dlopen: dlopen(/Users/mqh/Desktop/Git/Ferrite/Ferrite/bin/Debug/net7.0/arm64/librocksdb-7.dylib, 0x0002): tried: '/Users/mqh/Desktop/Git/Ferrite/Ferrite/bin/Debug/net7.0/arm64/librocksdb-7.dylib' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/Users/mqh/Desktop/Git/Ferrite/Ferrite/bin/Debug/net7.0/arm64/librocksdb-7.dylib' (no such file), '/Users/mqh/Desktop/Git/Ferrite/Ferrite/bin/Debug/net7.0/arm64/librocksdb-7.dylib' (no such file)\n/Users/mqh/Desktop/Git/Ferrite/Ferrite/bin/Debug/net7.0/arm64/librocksdb.dylib: (NativeLoadException) dlopen: dlopen(/Users/mqh/Desktop/Git/Ferrite/Ferrite/bin/Debug/net7.0/arm64/librocksdb.dylib, 0x0002): tried: '/Users/mqh/Desktop/Git/Ferrite/Ferrite/bin/Debug/net7.0/arm64/librocksdb.dylib' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/Users/mqh/Desktop/Git/Ferrite/Ferrite/bin/Debug/net7.0/arm64/librocksdb.dylib' (no such file), '/Users/mqh/Desktop/Git/Ferrite/Ferrite/bin/Debug/net7.0/arm64/librocksdb.dylib' (no such file)\n/Users/mqh/Desktop/Git/Ferrite/Ferrite/bin/Debug/net7.0/librocksdb-7.7.3.dylib: (NativeLoadException) dlopen: dlopen(/Users/mqh/Desktop/Git/Ferrite/Ferrite/bin/Debug/net7.0/librocksdb-7.7.3.dylib, 0x0002): tried: '/Users/mqh/Desktop/Git/Ferrite/Ferrite/bin/Debug/net7.0/librocksdb-7.7.3.dylib' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/Users/mqh/Desktop/Git/Ferrite/Ferrite/bin/Debug/net7.0/librocksdb-7.7.3.dylib' (no such file), '/Users/mqh/Desktop/Git/Ferrite/Ferrite/bin/Debug/net7.0/librocksdb-7.7.3.dylib' (no such file)\n/Users/mqh/Desktop/Git/Ferrite/Ferrite/bin/Debug/net7.0/librocksdb-7.7.dylib: (NativeLoadException) dlopen: dlopen(/Users/mqh/Desktop/Git/Ferrite/Ferrite/bin/Debug/net7.0/librocksdb-7.7.dylib, 0x0002): tried: '/Users/mqh/Desktop/Git/Ferrite/Ferrite/bin/Debug/net7.0/librocksdb-7.7.dylib' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/Users/mqh/Desktop/Git/Ferrite/Ferrite/bin/Debug/net7.0/librocksdb-7.7.dylib' (no such file), '/Users/mqh/Desktop/Git/Ferrite/Ferrite/bin/Debug/net7.0/librocksdb-7.7.dylib' (no such file)\n/Users/mqh/Desktop/Git/Ferrite/Ferrite/bin/Debug/net7.0/librocksdb-7.dylib: (NativeLoadException) dlopen: dlopen(/Users/mqh/Desktop/Git/Ferrite/Ferrite/bin/Debug/net7.0/librocksdb-7.dylib, 0x0002): tried: '/Users/mqh/Desktop/Git/Ferrite/Ferrite/bin/Debug/net7.0/librocksdb-7.dylib' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/Users/mqh/Desktop/Git/Ferrite/Ferrite/bin/Debug/net7.0/librocksdb-7.dylib' (no such file), '/Users/mqh/Desktop/Git/Ferrite/Ferrite/bin/Debug/net7.0/librocksdb-7.dylib' (no such file)\n/Users/mqh/Desktop/Git/Ferrite/Ferrite/bin/Debug/net7.0/librocksdb.dylib: (NativeLoadException) dlopen: dlopen(/Users/mqh/Desktop/Git/Ferrite/Ferrite/bin/Debug/net7.0/librocksdb.dylib, 0x0002): tried: '/Users/mqh/Desktop/Git/Ferrite/Ferrite/bin/Debug/net7.0/librocksdb.dylib' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/Users/mqh/Desktop/Git/Ferrite/Ferrite/bin/Debug/net7.0/librocksdb.dylib' (no such file), '/Users/mqh/Desktop/Git/Ferrite/Ferrite/bin/Debug/net7.0/librocksdb.dylib' (no such file)\nlibrocksdb-7.7.3.dylib: (NativeLoadException) dlopen: dlopen(librocksdb-7.7.3.dylib, 0x0002): tried: 'librocksdb-7.7.3.dylib' (no such file), '/System/Volumes/Preboot/Cryptexes/OSlibrocksdb-7.7.3.dylib' (no such file), '/usr/lib/librocksdb-7.7.3.dylib' (no such file, not in dyld cache), 'librocksdb-7.7.3.dylib' (no such file)\nlibrocksdb-7.7.dylib: (NativeLoadException) dlopen: dlopen(librocksdb-7.7.dylib, 0x0002): tried: 'librocksdb-7.7.dylib' (no such file), '/System/Volumes/Preboot/Cryptexes/OSlibrocksdb-7.7.dylib' (no such file), '/usr/lib/librocksdb-7.7.dylib' (no such file, not in dyld cache), 'librocksdb-7.7.dylib' (no such file)\nlibrocksdb-7.dylib: (NativeLoadException) dlopen: dlopen(librocksdb-7.dylib, 0x0002): tried: 'librocksdb-7.dylib' (no such file), '/System/Volumes/Preboot/Cryptexes/OSlibrocksdb-7.dylib' (no such file), '/usr/lib/librocksdb-7.dylib' (no such file, not in dyld cache), 'librocksdb-7.dylib' (no such file)\nlibrocksdb.dylib: (NativeLoadException) dlopen: dlopen(librocksdb.dylib, 0x0002): tried: 'librocksdb.dylib' (no such file), '/System/Volumes/Preboot/Cryptexes/OSlibrocksdb.dylib' (no such file), '/usr/lib/librocksdb.dylib' (no such file, not in dyld cache), 'librocksdb.dylib' (no such file)\n/opt/homebrew/lib/runtimes/osx-arm64/native/librocksdb-7.7.3.dylib: (NativeLoadException) dlopen: dlopen(/opt/homebrew/lib/runtimes/osx-arm64/native/librocksdb-7.7.3.dylib, 0x0002): tried: '/opt/homebrew/lib/runtimes/osx-arm64/native/librocksdb-7.7.3.dylib' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/opt/homebrew/lib/runtimes/osx-arm64/native/librocksdb-7.7.3.dylib' (no such file), '/opt/homebrew/lib/runtimes/osx-arm64/native/librocksdb-7.7.3.dylib' (no such file)\n/opt/homebrew/lib/runtimes/osx-arm64/native/librocksdb-7.7.dylib: (NativeLoadException) dlopen: dlopen(/opt/homebrew/lib/runtimes/osx-arm64/native/librocksdb-7.7.dylib, 0x0002): tried: '/opt/homebrew/lib/runtimes/osx-arm64/native/librocksdb-7.7.dylib' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/opt/homebrew/lib/runtimes/osx-arm64/native/librocksdb-7.7.dylib' (no such file), '/opt/homebrew/lib/runtimes/osx-arm64/native/librocksdb-7.7.dylib' (no such file)\n/opt/homebrew/lib/runtimes/osx-arm64/native/librocksdb-7.dylib: (NativeLoadException) dlopen: dlopen(/opt/homebrew/lib/runtimes/osx-arm64/native/librocksdb-7.dylib, 0x0002): tried: '/opt/homebrew/lib/runtimes/osx-arm64/native/librocksdb-7.dylib' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/opt/homebrew/lib/runtimes/osx-arm64/native/librocksdb-7.dylib' (no such file), '/opt/homebrew/lib/runtimes/osx-arm64/native/librocksdb-7.dylib' (no such file)\n/opt/homebrew/lib/runtimes/osx-arm64/native/librocksdb.dylib: (NativeLoadException) dlopen: dlopen(/opt/homebrew/lib/runtimes/osx-arm64/native/librocksdb.dylib, 0x0002): tried: '/opt/homebrew/lib/runtimes/osx-arm64/native/librocksdb.dylib' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/opt/homebrew/lib/runtimes/osx-arm64/native/librocksdb.dylib' (no such file), '/opt/homebrew/lib/runtimes/osx-arm64/native/librocksdb.dylib' (no such file)\n/opt/homebrew/lib/native/arm64/librocksdb-7.7.3.dylib: (NativeLoadException) dlopen: dlopen(/opt/homebrew/lib/native/arm64/librocksdb-7.7.3.dylib, 0x0002): tried: '/opt/homebrew/lib/native/arm64/librocksdb-7.7.3.dylib' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/opt/homebrew/lib/native/arm64/librocksdb-7.7.3.dylib' (no such file), '/opt/homebrew/lib/native/arm64/librocksdb-7.7.3.dylib' (no such file)\n/opt/homebrew/lib/native/arm64/librocksdb-7.7.dylib: (NativeLoadException) dlopen: dlopen(/opt/homebrew/lib/native/arm64/librocksdb-7.7.dylib, 0x0002): tried: '/opt/homebrew/lib/native/arm64/librocksdb-7.7.dylib' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/opt/homebrew/lib/native/arm64/librocksdb-7.7.dylib' (no such file), '/opt/homebrew/lib/native/arm64/librocksdb-7.7.dylib' (no such file)\n/opt/homebrew/lib/native/arm64/librocksdb-7.dylib: (NativeLoadException) dlopen: dlopen(/opt/homebrew/lib/native/arm64/librocksdb-7.dylib, 0x0002): tried: '/opt/homebrew/lib/native/arm64/librocksdb-7.dylib' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/opt/homebrew/lib/native/arm64/librocksdb-7.dylib' (no such file), '/opt/homebrew/lib/native/arm64/librocksdb-7.dylib' (no such file)\n/opt/homebrew/lib/native/arm64/librocksdb.dylib: (NativeLoadException) dlopen: dlopen(/opt/homebrew/lib/native/arm64/librocksdb.dylib, 0x0002): tried: '/opt/homebrew/lib/native/arm64/librocksdb.dylib' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/opt/homebrew/lib/native/arm64/librocksdb.dylib' (no such file), '/opt/homebrew/lib/native/arm64/librocksdb.dylib' (no such file)\n/opt/homebrew/lib/native/librocksdb-7.7.3.dylib: (NativeLoadException) dlopen: dlopen(/opt/homebrew/lib/native/librocksdb-7.7.3.dylib, 0x0002): tried: '/opt/homebrew/lib/native/librocksdb-7.7.3.dylib' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/opt/homebrew/lib/native/librocksdb-7.7.3.dylib' (no such file), '/opt/homebrew/lib/native/librocksdb-7.7.3.dylib' (no such file)\n/opt/homebrew/lib/native/librocksdb-7.7.dylib: (NativeLoadException) dlopen: dlopen(/opt/homebrew/lib/native/librocksdb-7.7.dylib, 0x0002): tried: '/opt/homebrew/lib/native/librocksdb-7.7.dylib' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/opt/homebrew/lib/native/librocksdb-7.7.dylib' (no such file), '/opt/homebrew/lib/native/librocksdb-7.7.dylib' (no such file)\n/opt/homebrew/lib/native/librocksdb-7.dylib: (NativeLoadException) dlopen: dlopen(/opt/homebrew/lib/native/librocksdb-7.dylib, 0x0002): tried: '/opt/homebrew/lib/native/librocksdb-7.dylib' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/opt/homebrew/lib/native/librocksdb-7.dylib' (no such file), '/opt/homebrew/lib/native/librocksdb-7.dylib' (no such file)\n/opt/homebrew/lib/native/librocksdb.dylib: (NativeLoadException) dlopen: dlopen(/opt/homebrew/lib/native/librocksdb.dylib, 0x0002): tried: '/opt/homebrew/lib/native/librocksdb.dylib' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/opt/homebrew/lib/native/librocksdb.dylib' (no such file), '/opt/homebrew/lib/native/librocksdb.dylib' (no such file)\n/opt/homebrew/lib/arm64/librocksdb-7.7.3.dylib: (NativeLoadException) dlopen: dlopen(/opt/homebrew/lib/arm64/librocksdb-7.7.3.dylib, 0x0002): tried: '/opt/homebrew/lib/arm64/librocksdb-7.7.3.dylib' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/opt/homebrew/lib/arm64/librocksdb-7.7.3.dylib' (no such file), '/opt/homebrew/lib/arm64/librocksdb-7.7.3.dylib' (no such file)\n/opt/homebrew/lib/arm64/librocksdb-7.7.dylib: (NativeLoadException) dlopen: dlopen(/opt/homebrew/lib/arm64/librocksdb-7.7.dylib, 0x0002): tried: '/opt/homebrew/lib/arm64/librocksdb-7.7.dylib' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/opt/homebrew/lib/arm64/librocksdb-7.7.dylib' (no such file), '/opt/homebrew/lib/arm64/librocksdb-7.7.dylib' (no such file)\n/opt/homebrew/lib/arm64/librocksdb-7.dylib: (NativeLoadException) dlopen: dlopen(/opt/homebrew/lib/arm64/librocksdb-7.dylib, 0x0002): tried: '/opt/homebrew/lib/arm64/librocksdb-7.dylib' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/opt/homebrew/lib/arm64/librocksdb-7.dylib' (no such file), '/opt/homebrew/lib/arm64/librocksdb-7.dylib' (no such file)\n/opt/homebrew/lib/arm64/librocksdb.dylib: (NativeLoadException) dlopen: dlopen(/opt/homebrew/lib/arm64/librocksdb.dylib, 0x0002): tried: '/opt/homebrew/lib/arm64/librocksdb.dylib' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/opt/homebrew/lib/arm64/librocksdb.dylib' (no such file), '/opt/homebrew/lib/arm64/librocksdb.dylib' (no such file)\n/opt/homebrew/lib/librocksdb-7.7.3.dylib: (NativeLoadException) dlopen: dlopen(/opt/homebrew/lib/librocksdb-7.7.3.dylib, 0x0002): tried: '/opt/homebrew/lib/librocksdb-7.7.3.dylib' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/opt/homebrew/lib/librocksdb-7.7.3.dylib' (no such file), '/opt/homebrew/lib/librocksdb-7.7.3.dylib' (no such file)\n/opt/homebrew/lib/librocksdb-7.7.dylib: (NativeLoadException) dlopen: dlopen(/opt/homebrew/lib/librocksdb-7.7.dylib, 0x0002): tried: '/opt/homebrew/lib/librocksdb-7.7.dylib' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/opt/homebrew/lib/librocksdb-7.7.dylib' (no such file), '/opt/homebrew/lib/librocksdb-7.7.dylib' (no such file)\n/opt/homebrew/lib/librocksdb-7.dylib: (NativeLoadException) dlopen: dlopen(/opt/homebrew/lib/librocksdb-7.dylib, 0x0002): tried: '/opt/homebrew/lib/librocksdb-7.dylib' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/opt/homebrew/lib/librocksdb-7.dylib' (no such file), '/opt/homebrew/lib/librocksdb-7.dylib' (no such file)\n/opt/homebrew/lib/librocksdb.dylib: (NativeLoadException) dlopen: dlopen(/opt/homebrew/lib/librocksdb.dylib, 0x0002): tried: '/opt/homebrew/lib/librocksdb.dylib' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/opt/homebrew/lib/librocksdb.dylib' (no such file), '/opt/homebrew/lib/librocksdb.dylib' (no such file)\nlibrocksdb-7.7.3.dylib: (NativeLoadException) dlopen: dlopen(librocksdb-7.7.3.dylib, 0x0002): tried: 'librocksdb-7.7.3.dylib' (no such file), '/System/Volumes/Preboot/Cryptexes/OSlibrocksdb-7.7.3.dylib' (no such file), '/usr/lib/librocksdb-7.7.3.dylib' (no such file, not in dyld cache), 'librocksdb-7.7.3.dylib' (no such file)\nlibrocksdb-7.7.dylib: (NativeLoadException) dlopen: dlopen(librocksdb-7.7.dylib, 0x0002): tried: 'librocksdb-7.7.dylib' (no such file), '/System/Volumes/Preboot/Cryptexes/OSlibrocksdb-7.7.dylib' (no such file), '/usr/lib/librocksdb-7.7.dylib' (no such file, not in dyld cache), 'librocksdb-7.7.dylib' (no such file)\nlibrocksdb-7.dylib: (NativeLoadException) dlopen: dlopen(librocksdb-7.dylib, 0x0002): tried: 'librocksdb-7.dylib' (no such file), '/System/Volumes/Preboot/Cryptexes/OSlibrocksdb-7.dylib' (no such file), '/usr/lib/librocksdb-7.dylib' (no such file, not in dyld cache), 'librocksdb-7.dylib' (no such file)\nlibrocksdb.dylib: (NativeLoadException) dlopen: dlopen(librocksdb.dylib, 0x0002): tried: 'librocksdb.dylib' (no such file), '/System/Volumes/Preboot/Cryptexes/OSlibrocksdb.dylib' (no such file), '/usr/lib/librocksdb.dylib' (no such file, not in dyld cache), 'librocksdb.dylib' (no such file)"
at at NativeImport.Importers.Import[T](INativeLibImporter importer, String libName, String version, Boolean suppressUnload)\n at NativeImport.Auto.Import[T](String name, String version, Boolean suppressUnload)\n at RocksDbSharp.Native..cctor()
--- End of inner exception stack trace ---
at RocksDbSharp.OptionsHandle..ctor()\n at RocksDbSharp.Options`1..ctor()\n at RocksDbSharp.DbOptions..ctor()\n at Ferrite.Data.Repositories.RocksDBContext..ctor(String path) in /Users/mqh/Desktop/Git/Ferrite/Ferrite.Data/Repositories/RocksDBContext.cs:line 35\n at Ferrite.Data.Repositories.LocalUnitOfWork..ctor() in /Users/mqh/Desktop/Git/Ferrite/Ferrite.Data/Repositories/LocalUnitOfWork.cs:27

@mailes
Copy link
Author

mailes commented Nov 22, 2022

rockdb 7.7.3 --error
rockdb 7.5.3 --error

@aykutalparslan
Copy link
Owner

I believe it will be a better course of action to file a bug report at the original project repo rocksdb-sharp by of course reproducing it first.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants