question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Apple Silicon Support

See original GitHub issue

As of v6.27.3.24603, rocksdb nuget package does not include osx-arm64 native binaries. I was able to install apple silicon binaries of RocksDB (and it’s dependenies) via homebrew. However, homebrew installs apple silicon libraries into /opt/homebrew/lib (instead of /usr/local/lib) which is not on the library load path. I was able to work around for now by creating a symlink from /usr/local/lib/librocksdb.dylib to /opt/homebrew/lib/librocksdb.dylib. However, I would appreciate a more automatic solution.

I’m not a mac dev, so I’m not sure what it would take to build rocksdb for apple silicon and include it in the rocksdb package. That seems like it would be the best solution, but I’m not sure if this requires a single “universal” native binary that works with intel + apple silicon or if it requires separate native binaries for each. Again, not a mac dev.

Another alternative would be to add /opt/homebrew/lib to the basePaths collection in PosixImporter.Import<T>. That was a trivial change that worked when I tested it locally. but I wasn’t sure if that approach fits with the project goals, so I didn’t open a PR with that solution.

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:22 (13 by maintainers)

github_iconTop GitHub Comments

5reactions
theolivenbaumcommented, Jan 19, 2022

Hi @devhawk - this is definitely in my pipeline - I recently got an M1 for work to be able to figure out what’s the best way to target our app to it (and with this also rocksdb). But I can’t promise any dates yet.

Nevertheless, we can easily add the /opt/homebrew/lib path to the list. I’ll do it now and you should have a new build soon!

4reactions
theolivenbaumcommented, Nov 23, 2022

@rubo that is a great find, I’ll investigate a bit here then!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Mac computers with Apple silicon
Contact Apple Support. Need more help? Save time by starting your support request online and we'll connect you to an expert. Get started ......
Read more >
Is Apple Silicon ready?
The Complete Guide to MacOS Apps Optimized for Apple Silicon Macs and the M1/M2 Processors.
Read more >
Apple Silicon and Apple M2 and M1 Ultra app and game ...
Does It ARM? Apps that are reported to support Apple Silicon. 3345 listed, ✓ 54.5% Native, ✳️ 11.2% Rosetta, 32% need info, 2.3%...
Read more >
M1 apps: Which apps are compatible with M1 Macs?
1 of NordVPN, announced on 16 August 2021, adds support for Apple Silicon. Note that it's a universal app that supports Intel architectures...
Read more >
How to Tell Which Mac Apps Are Optimized for Apple Silicon
Following the launch of Macs powered by Apple silicon, ... an up-to-date database of apps indicating native ‌M1‌ support, Rosetta 2 only, ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found