Unable to load shared library nironcompress (Macbook Pro Intel, Azure Function)
See original GitHub issueVersion: Parquet.Net v4.1.2 Runtime Version: .NET 6 OS: MacOSX (Intel)
Expected behavior
Expected Parquet.NET to load all necessary dependencies
Actual behavior
I get the following error when running the function locally:
System.Private.CoreLib: Exception while executing function: MyFunctionName. IronCompress: Unable to load shared library 'nironcompress' or one of its dependencies. In order to help diagnose loading problems, consider setting the DYLD_PRINT_LIBRARIES environment variable: dlopen(libnironcompress, 0x0001): tried: 'libnironcompress' (no such file), '/System/Volumes/Preboot/Cryptexes/OSlibnironcompress' (no such file), '/usr/lib/libnironcompress' (no such file, not in dyld cache), 'libnironcompress' (no such file), '/usr/local/lib/libnironcompress' (no such file), '/usr/lib/libnironcompress' (no such file, not in dyld cache).
Steps to reproduce the behavior
- Create the example from the getting started section
- Run it inside an Azure Function on MacOSX
Thank you for any help on this!
Issue Analytics
- State:
- Created 9 months ago
- Reactions:1
- Comments:35 (16 by maintainers)
Top Results From Across the Web
Unable to load shared library - MacOS x64 · Issue #2193
Using Microsoft.Data.Sqlite in azure functions project with HTTP trigger. When attempting to connect to Database receiving following error:.
Read more >Azure Function App using SQLite M1 Macbook
Azure Function App using SQLite M1 Macbook - Unable to load shared library 'e_sqlite3' or one of its dependencies.
Read more >How to develop python azure function my Mac with chip ...
Develop Environment: Mac with chip Apple M1 Pro. OS Version: Ventura 13.4. Tool: VScode. Is there a way for me to develop the...
Read more >Work with Azure Functions Core Tools
Learn how to code and test Azure Functions from the command prompt or terminal on your local computer before you run them on...
Read more >Develop and run Azure Functions locally
Learn how to code and test Azure Functions on your local computer before you run them on Azure Functions.
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
@aloneguid is doing all the work here, so kudo’s to him!
Yep I encountered this afree updating to new versions also. I use Parquet.Net exclusively in serverless background processes that run as Azure Functions.
I’ll try checking the bitness of my Function App as noted by @rustyswayne and report back if that resolves it…
@josdeweger Thanks for posting this issue and all the details in the thread! Saved me a lot of time trying to sort out what this error was all about! 🙏