Skip to content

Instantly share code, notes, and snippets.

@cono
Created January 23, 2019 16:52
Show Gist options
  • Save cono/180795a34179ce56c1919ed71b803eac to your computer and use it in GitHub Desktop.
Save cono/180795a34179ce56c1919ed71b803eac to your computer and use it in GitHub Desktop.
# perl6 -MNativeCall -e 'constant LIB = ( "mysqlclient" ); sub mysql_get_client_version(--> int32) is native(LIB) { * }; say mysql_get_client_version'
60111
# perl6 -MNativeCall -e 'constant LIB = sub { "mysqlclient" }; sub mysql_get_client_version(--> int32) is native(LIB) { * }; say mysql_get_client_version'
Cannot locate native library 'mysqlclient': mysqlclient: cannot open shared object file: No such file or directory
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment