Not able to load native c++ Library in Linux Dockerized .net core application. RRS feed

  • Question

  • Hi,

    I am running ASP.net core dockerized application and added native C++ dll and getting below error:

    DllNotFoundException: Unable to load shared library 'libdl' or one of its dependencies. In order to help diagnose loading problems, consider setting the LD_DEBUG environment variable: liblibdl: cannot open shared object file: No such file or directory

    Please let me know about this issue?

    Tuesday, July 2, 2019 9:57 AM

All replies

  • Hi Rajeev Singh Chib, 

    Thank you for posting here.

    Based on your question, your issue is more related to ASP.NET Core. Therefore, it will be more appropriate to ask your question in ASP.NET Core Forums.

    The CLR Forum discuss and ask questions about .NET Framework Base Classes (BCL) such as Collections, I/O, Regigistry, Globalization, Reflection. Also discuss all the other Microsoft libraries that are built on or extend the .NET Framework.

    Thank you for your understanding.

    Best Regards,

    Xingyu Zhao

    MSDN Community Support
    Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.

    Wednesday, July 3, 2019 9:16 AM