Carter Schonwald <[email protected]> writes: > Hey All, > when i build hdbc-mysql and then try to run some example code, i get the > following error message: > > Loading package HDBC-mysql-0.6.3 ... can't load .so/.DLL for: mysqlclient > (dlopen(libmysqlclient.dylib, 9): no suitable image found. Did find: > /usr/local/lib/libmysqlclient.dylib: mach-o, but wrong architecture) > > does this mean that it won't build on OS X snow leopard?
GHC on OSX is 32-bit, so you need to build a 32-bit or universal mysql library. The linker is probably complaining because your libmysqlclient is 64-bit. G -- Gregory Collins <[email protected]> _______________________________________________ Haskell-Cafe mailing list [email protected] http://www.haskell.org/mailman/listinfo/haskell-cafe
