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.

Unable to load shared library nironcompress (Macbook Pro Intel, Azure Function)

See original GitHub issue

Version: 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

  1. Create the example from the getting started section
  2. Run it inside an Azure Function on MacOSX

Thank you for any help on this!

Issue Analytics

  • State:open
  • Created 9 months ago
  • Reactions:1
  • Comments:35 (16 by maintainers)

github_iconTop GitHub Comments

1reaction
josdewegercommented, Jan 19, 2023

@aloneguid is doing all the work here, so kudo’s to him!

1reaction
cajuncodingcommented, Jan 19, 2023

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! 🙏

Read more comments on GitHub >

github_iconTop 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 >

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