PerfectlySoft / Perfect-MySQL

A stand-alone Swift wrapper around the MySQL client library, enabling access to MySQL servers.
https://www.perfect.org
Apache License 2.0
127 stars 62 forks source link

Wont compile on Big Sur / Xcode 12.4 #59

Open pkasson opened 3 years ago

pkasson commented 3 years ago

Looking for a cross OS MySQL client - this looked promising !

Did get it to build and worked on Ubuntu, but will not build on Big Sur.

Did a fresh install of MySQL per the docs (5.7) and then added https://github.com/PerfectlySoft/Perfect-MySQL to Xcode packages in a new project - errors:

MySQL.swift -

cannot find mysql_server_init in scope ... followed by 231 related errors.

The doc states editing /usr/local/lib/pkgconfig/mysqlclient.pc, but that file does not exist. Clearly, some local dependency at the OS level it appears, does not exist.