Skip to content

Uncaught exception running odbc test app #17

Closed

Description

@rrottier

I am running OSX 10.13.4 (17E202) with the latest microsoft odbc. Using both lts 9.21 and 10.10, when I run:
stack exec odbc 'DRIVER={ODBC Driver 17 for SQL Server};SERVER=172.16.191.157;Uid=username;Pwd=password'

I get the following error:
libc++abi.dylib: terminating with uncaught exception of type std::runtime_error: collate_byname::collate_byname failed to construct for C/en_AU.UTF-8/C/C/C/C

Activity

  1. rrottier commented on May 24, 2018

    @rrottier
    Author

    Does not happen with driver 13.1

  2. chrisdone commented on Jul 2, 2018

    @chrisdone
    Contributor

    Looks like this was explored thoroughly in microsoft/homebrew-mssql-release#18

    Culprit is the driver itself, not this Haskell binding to it. Thanks for reporting.

    I'll add a note in the README about it so that OS X users can avoid this issue with driver v17.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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