[Mysql-cocoa-users] Re: static linking and MySQL
Brought to you by:
sergecohen
From: Serge C. <co...@em...> - 2002-03-05 10:21:39
|
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi;=0D =0D first, it would be great if we continue this discussion on the mailing =0D= list (for browsable archiving reasons).=0D =0D I guess what you want is to embed in a application the libmysql (embeded = =0D db)?=0D For the moment I remind to have managed once to compile SMySQL classes =0D= with static libmysqlclient, but did not manage to repoduce that since =0D= then.=0D =0D I can propose you an other solution: keep dynamic linking but put the =0D= library in the application bundle (maybe in Frameworks, or create a =0D Library?). I know that the recommended way to use a Framework with an =0D= app. maybe one can do it with library as well.=0D =0D About the emebeded system now. You saw it's a new feature of MySQL 4. =0D= which is still alpha. I was waiting a bit (I have my PhD in Structural =0D= Biology to finish...) before supporting it. I did not understood you =0D were really waiting for it. I've tried once the installation (using the =0D= same patch ... as for previous version), and that was straight forward.=0D= =0D I'll try to give you definitive answers for in a couple of days. (try =0D= static link again, putting the lib in the app bundle -one as to change =0D= the library used : otool -L libmysqlclient.dylib... -, and try to make a = =0D correct install of mysql4.)=0D =0D Serge.=0D =0D =0D =0D Le mardi 5 mars 2002, =C3=A0 03:12 , Dan Guisinger a =C3=A9crit :=0D =0D > Have you figured this out yet?=0D >=0D > I've been pulling my hair out, and I don't even want the MySQL client. = =0D > I want MySQL Embedded and both are driving me crazy.=0D >=0D > If you need any help, I'll help out.=0D > I'm looking to create a framework for MySQL Embedded Server 4.0.1.=0D >=0D > My current plans are to open source the embedded server framework =0D > although the product I am putting it into isn't open source. MySQL AB = =0D > seems a little aggressive these days and I fear linking directly into =0D= > our product would be putting us on their radar.=0D >=0D > -Dan=0D >=0D >=0D - ----------------------------------------------------=0D Serge Cohen=0D =0D GPG Key ID: 1024D/69B1D346=0D - ----------------------------------------------------=0D -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (Darwin) Comment: For info see http://www.gnupg.org iD8DBQE8hJxtMygj1Wmx00YRAtAKAKCgNi+XCCxw05zfwu1Q7qRG+WszwgCfclkV DyQzIvmxtdtmqmCyfZPRZPA=3D =3DjsSL -----END PGP SIGNATURE----- |