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

AWS Lambda Error Unable to load shared library 'DlibDotNetNativeDnn' or one of its dependencies #241

Open
zwalten opened this issue Aug 7, 2024 · 0 comments

Comments

@zwalten
Copy link

zwalten commented Aug 7, 2024

Getting the following error after deploying to AWS Lambda. It works fine when running in Visual Studio using the Mock Lambda Test Tool on Windows 11

System.TypeInitializationException: The type initializer for 'DlibDotNet.NativeMethods' threw an exception.
---> System.DllNotFoundException: Unable to load shared library 'DlibDotNetNativeDnn' or one of its dependencies. In order to help diagnose loading problems, consider setting the LD_DEBUG environment variable: libDlibDotNetNativeDnn: cannot open shared object file: No such file or directory
at DlibDotNet.NativeMethods..cctor()
--- End of inner exception stack trace ---
at DlibDotNet.NativeMethods.matrix_new4(MatrixElementType matrixElementType, UInt32 templateRows, UInt32 templateColumns, IntPtr& ret)
at DlibDotNet.Matrix`1.CreateTemplateParameterizeMatrix(UInt32 templateRows, UInt32 templateColumns)
at FaceRecognitionDotNet.FaceRecognition.LoadFaceEncoding(Double[] encoding)

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

1 participant