RollingGoron/mysql-cocoa-framework

Dynamically links against mysql. How to statically link it ?

Opened this issue · 0 comments

One of the differences between MCPKit and your version of SMySQL is that 
MCPKit was statically compiled against mysql so you didn't have to have mysql 
installed to use it. Yours is dynamically linked and when I run it I get: 

dyld: Library not loaded: /opt/mysql/lib/mysql/libmysqlclient.15.dylib
  Referenced from: /Users/pawz/Documents/applications/SQL 
Query/build/Debug/SQL 
Query.app/Contents/MacOS/../Frameworks/SMySQL_bundled.framework/Vers
ions/A/SMySQL_bundled
  Reason: image not found

How can I take your source and make mysqlclient statically linked ?

Original issue reported on code.google.com by pawzl...@gmail.com on 17 Jan 2010 at 9:11