Skip to content
This repository was archived by the owner on Nov 1, 2020. It is now read-only.
This repository was archived by the owner on Nov 1, 2020. It is now read-only.

Error compilling console app with System.Data.SqlClient on Linux #7860

Closed
@josephmoresena

Description

@josephmoresena

I'm getting the following error when I'm trying to compile a simple console app which connects to a Sql Server database in Ubuntu 19.10.

/usr/bin/ld: obj/Debug/netcoreapp3.0/linux-x64/native/Proj.o: in functionSystem_Data_SqlClient_Interop_NetSecurityNative__ImportPrincipalName':
/__w/1/s/src/System.Data.Common/src/System/Data/Common/BooleanStorage.cs:180: undefined reference to NetSecurityNative_ImportPrincipalName' /usr/bin/ld: obj/Debug/netcoreapp3.0/linux-x64/native/Proj.o: in function System_Data_SqlClient_Interop_NetSecurityNative__InitSecContext_0':
/__w/1/s/src/System.Data.Common/src/System/Data/Common/ByteStorage.cs:162: undefined reference to NetSecurityNative_InitSecContextEx'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions