Artifact 4abdb6b9a0c54d281547ae3e41ed0cf2b365efd326f45a12235aedf318b154c9:
- File README-Unix.txt — part of check-in [e0a73ac16d] at 2021-07-03 07:20:51 on branch trunk — Renamed the macOS README away from the old "Mac OS X" naming. (user: tangent size: 4247)
0000: 50 6c 61 74 66 6f 72 6d 20 56 61 72 69 61 74 69 Platform Variati 0010: 6f 6e 73 0d 0a 7e 7e 7e 7e 7e 7e 7e 7e 7e 7e 7e ons..~~~~~~~~~~~ 0020: 7e 7e 7e 7e 7e 7e 7e 7e 0d 0a 20 20 20 20 54 68 ~~~~~~~~.. Th 0030: 69 73 20 66 69 6c 65 20 6f 6e 6c 79 20 63 6f 76 is file only cov 0040: 65 72 73 20 64 65 74 61 69 6c 73 20 63 6f 6d 6d ers details comm 0050: 6f 6e 20 74 6f 20 61 6c 6c 20 55 6e 69 78 20 76 on to all Unix v 0060: 61 72 69 61 6e 74 73 0d 0a 20 20 20 20 73 75 70 ariants.. sup 0070: 70 6f 72 74 65 64 20 62 79 20 4d 79 53 51 4c 2b ported by MySQL+ 0080: 2b 2e 20 20 46 6f 72 20 70 6c 61 74 66 6f 72 6d +. For platform 0090: 2d 73 70 65 63 69 66 69 63 20 64 65 74 61 69 6c -specific detail 00a0: 73 2c 20 73 65 65 20 74 68 65 0d 0a 20 20 20 20 s, see the.. 00b0: 66 69 6c 65 20 61 70 70 72 6f 70 72 69 61 74 65 file appropriate 00c0: 20 74 6f 20 79 6f 75 72 20 4f 53 3a 0d 0a 0d 0a to your OS:.... 00d0: 20 20 20 20 20 20 20 20 52 45 41 44 4d 45 2d 43 README-C 00e0: 79 67 77 69 6e 2e 74 78 74 0d 0a 20 20 20 20 20 ygwin.txt.. 00f0: 20 20 20 52 45 41 44 4d 45 2d 4c 69 6e 75 78 2e README-Linux. 0100: 74 78 74 0d 0a 20 20 20 20 20 20 20 20 52 45 41 txt.. REA 0110: 44 4d 45 2d 6d 61 63 4f 53 2e 74 78 74 0d 0a 20 DME-macOS.txt.. 0120: 20 20 20 20 20 20 20 52 45 41 44 4d 45 2d 53 6f README-So 0130: 6c 61 72 69 73 2e 74 78 74 0d 0a 0d 0a 20 20 20 laris.txt.... 0140: 20 54 68 65 72 65 20 61 72 65 20 6e 6f 20 73 70 There are no sp 0150: 65 63 69 61 6c 20 69 6e 73 74 72 75 63 74 69 6f ecial instructio 0160: 6e 73 20 66 6f 72 20 61 6e 79 20 6f 74 68 65 72 ns for any other 0170: 20 55 6e 69 78 20 66 6c 61 76 6f 72 73 2e 0d 0a Unix flavors... 0180: 0d 0a 0d 0a 42 75 69 6c 64 69 6e 67 20 74 68 65 ....Building the 0190: 20 4c 69 62 72 61 72 79 20 61 6e 64 20 45 78 61 Library and Exa 01a0: 6d 70 6c 65 20 50 72 6f 67 72 61 6d 73 0d 0a 7e mple Programs..~ 01b0: 7e 7e 7e 7e 7e 7e 7e 7e 7e 7e 7e 7e 7e 7e 7e 7e ~~~~~~~~~~~~~~~~ 01c0: 7e 7e 7e 7e 7e 7e 7e 7e 7e 7e 7e 7e 7e 7e 7e 7e ~~~~~~~~~~~~~~~~ 01d0: 7e 7e 7e 7e 7e 7e 7e 7e 0d 0a 20 20 20 20 4d 79 ~~~~~~~~.. My 01e0: 53 51 4c 2b 2b 20 75 73 65 73 20 47 4e 55 20 61 SQL++ uses GNU a 01f0: 75 74 6f 63 6f 6e 66 2c 20 73 6f 20 79 6f 75 20 utoconf, so you 0200: 63 61 6e 20 62 75 69 6c 64 20 69 74 20 77 69 74 can build it wit 0210: 68 20 74 68 65 20 73 74 61 6e 64 61 72 64 0d 0a h the standard.. 0220: 20 20 20 20 63 6f 6d 6d 61 6e 64 73 3a 0d 0a 0d commands:... 0230: 0a 20 20 20 20 24 20 2e 2f 63 6f 6e 66 69 67 75 . $ ./configu 0240: 72 65 0d 0a 20 20 20 20 24 20 6d 61 6b 65 0d 0a re.. $ make.. 0250: 20 20 20 20 24 20 73 75 0d 0a 20 20 20 20 23 20 $ su.. # 0260: 6d 61 6b 65 20 69 6e 73 74 61 6c 6c 0d 0a 0d 0a make install.... 0270: 0d 0a 43 6f 6e 66 69 67 75 72 65 20 4f 70 74 69 ..Configure Opti 0280: 6f 6e 73 0d 0a 7e 7e 7e 7e 7e 7e 7e 7e 7e 7e 7e ons..~~~~~~~~~~~ 0290: 7e 7e 7e 7e 7e 7e 0d 0a 20 20 20 20 54 68 65 20 ~~~~~~.. The 02a0: 63 6f 6e 66 69 67 75 72 65 20 73 63 72 69 70 74 configure script 02b0: 20 74 61 6b 65 73 20 73 65 76 65 72 61 6c 20 69 takes several i 02c0: 6e 74 65 72 65 73 74 69 6e 67 20 6f 70 74 69 6f nteresting optio 02d0: 6e 73 2e 20 53 61 79 3a 0d 0a 0d 0a 20 20 20 20 ns. Say:.... 02e0: 20 20 20 20 24 20 2e 2f 63 6f 6e 66 69 67 75 72 $ ./configur 02f0: 65 20 2d 2d 68 65 6c 70 0d 0a 0d 0a 20 20 20 20 e --help.... 0300: 74 6f 20 67 65 74 20 61 20 6c 69 73 74 2e 20 20 to get a list. 0310: 53 6f 6d 65 20 6f 66 20 74 68 65 20 6d 6f 72 65 Some of the more 0320: 20 69 6e 74 65 72 65 73 74 69 6e 67 20 66 6c 61 interesting fla 0330: 67 73 20 61 72 65 3a 0d 0a 0d 0a 20 20 20 20 2d gs are:.... - 0340: 2d 70 72 65 66 69 78 3a 0d 0a 0d 0a 20 20 20 20 -prefix:.... 0350: 20 20 20 20 49 66 20 79 6f 75 20 77 69 73 68 20 If you wish 0360: 74 6f 20 69 6e 73 74 61 6c 6c 20 6d 79 73 71 6c to install mysql 0370: 2b 2b 20 69 6e 20 61 20 72 6f 6f 74 20 64 69 72 ++ in a root dir 0380: 65 63 74 6f 72 79 20 6f 74 68 65 72 20 74 68 61 ectory other tha 0390: 6e 0d 0a 20 20 20 20 20 20 20 20 2f 75 73 72 2f n.. /usr/ 03a0: 6c 6f 63 61 6c 2c 20 72 75 6e 20 63 6f 6e 66 69 local, run confi 03b0: 67 75 72 65 20 77 69 74 68 20 2d 2d 70 72 65 66 gure with --pref 03c0: 69 78 3d 2f 73 6f 6d 65 2f 64 69 72 2f 6e 61 6d ix=/some/dir/nam 03d0: 65 0d 0a 0d 0a 20 20 20 20 2d 2d 77 69 74 68 2d e.... --with- 03e0: 6d 79 73 71 6c 2a 3a 0d 0a 0d 0a 20 20 20 20 20 mysql*:.... 03f0: 20 20 20 49 66 20 79 6f 75 20 69 6e 73 74 61 6c If you instal 0400: 6c 65 64 20 4d 79 53 51 4c 20 69 6e 20 61 6e 20 led MySQL in an 0410: 61 74 79 70 69 63 61 6c 20 6c 6f 63 61 74 69 6f atypical locatio 0420: 6e 2c 20 74 68 65 20 63 6f 6e 66 69 67 75 72 65 n, the configure 0430: 0d 0a 20 20 20 20 20 20 20 20 73 63 72 69 70 74 .. script 0440: 20 77 69 6c 6c 20 6e 6f 74 20 62 65 20 61 62 6c will not be abl 0450: 65 20 74 6f 20 66 69 6e 64 20 74 68 65 20 6c 69 e to find the li 0460: 62 72 61 72 79 20 61 6e 64 20 68 65 61 64 65 72 brary and header 0470: 0d 0a 20 20 20 20 20 20 20 20 66 69 6c 65 73 20 .. files 0480: 77 69 74 68 6f 75 74 20 68 65 6c 70 2e 20 20 54 without help. T 0490: 68 65 20 73 69 6d 70 6c 65 73 74 20 77 61 79 20 he simplest way 04a0: 74 6f 20 63 6c 75 65 20 63 6f 6e 66 69 67 75 72 to clue configur 04b0: 65 20 69 6e 74 6f 0d 0a 20 20 20 20 20 20 20 20 e into.. 04c0: 77 68 65 72 65 20 4d 79 53 51 4c 20 69 73 20 69 where MySQL is i 04d0: 6e 73 74 61 6c 6c 65 64 20 69 73 20 77 69 74 68 nstalled is with 04e0: 20 74 68 65 20 2d 2d 77 69 74 68 2d 6d 79 73 71 the --with-mysq 04f0: 6c 20 6f 70 74 69 6f 6e 2e 0d 0a 20 20 20 20 20 l option... 0500: 20 20 20 54 72 79 20 73 6f 6d 65 74 68 69 6e 67 Try something 0510: 20 6c 69 6b 65 20 22 2d 2d 77 69 74 68 2d 6d 79 like "--with-my 0520: 73 71 6c 3d 2f 75 73 72 2f 6c 6f 63 61 6c 2f 6d sql=/usr/local/m 0530: 79 73 71 6c 22 2c 20 66 6f 72 0d 0a 20 20 20 20 ysql", for.. 0540: 20 20 20 20 69 6e 73 74 61 6e 63 65 2e 20 20 54 instance. T 0550: 68 65 20 63 6f 6e 66 69 67 75 72 65 20 73 63 72 he configure scr 0560: 69 70 74 20 77 69 6c 6c 20 74 68 65 6e 20 74 72 ipt will then tr 0570: 79 20 74 6f 20 67 75 65 73 73 20 77 68 69 63 68 y to guess which 0580: 0d 0a 20 20 20 20 20 20 20 20 73 75 62 64 69 72 .. subdir 0590: 65 63 74 6f 72 69 65 73 20 75 6e 64 65 72 20 74 ectories under t 05a0: 68 65 20 67 69 76 65 6e 20 64 69 72 65 63 74 6f he given directo 05b0: 72 79 20 63 6f 6e 74 61 69 6e 20 74 68 65 20 6c ry contain the l 05c0: 69 62 72 61 72 79 0d 0a 20 20 20 20 20 20 20 20 ibrary.. 05d0: 61 6e 64 20 69 6e 63 6c 75 64 65 20 66 69 6c 65 and include file 05e0: 73 2e 0d 0a 0d 0a 20 20 20 20 20 20 20 20 49 66 s..... If 05f0: 20 74 68 61 74 20 64 6f 65 73 6e 27 74 20 77 6f that doesn't wo 0600: 72 6b 2c 20 69 74 27 73 20 62 65 63 61 75 73 65 rk, it's because 0610: 20 74 68 65 20 6c 69 62 72 61 72 79 20 61 6e 64 the library and 0620: 20 68 65 61 64 65 72 0d 0a 20 20 20 20 20 20 20 header.. 0630: 20 66 69 6c 65 73 20 61 72 65 6e 27 74 20 69 6e files aren't in 0640: 20 74 79 70 69 63 61 6c 20 6c 6f 63 61 74 69 6f typical locatio 0650: 6e 73 20 75 6e 64 65 72 20 74 68 65 20 64 69 72 ns under the dir 0660: 65 63 74 6f 72 79 20 79 6f 75 20 67 61 76 65 0d ectory you gave. 0670: 0a 20 20 20 20 20 20 20 20 66 6f 72 20 63 6f 6e . for con 0680: 66 69 67 75 72 65 20 74 6f 20 66 69 6e 64 20 74 figure to find t 0690: 68 65 6d 2e 20 20 53 6f 2c 20 79 6f 75 20 6e 65 hem. So, you ne 06a0: 65 64 20 74 6f 20 73 70 65 63 69 66 79 20 74 68 ed to specify th 06b0: 65 6d 0d 0a 20 20 20 20 20 20 20 20 73 65 70 61 em.. sepa 06c0: 72 61 74 65 6c 79 20 77 69 74 68 20 2d 2d 77 69 rately with --wi 06d0: 74 68 2d 6d 79 73 71 6c 2d 69 6e 63 6c 75 64 65 th-mysql-include 06e0: 20 61 6e 64 20 2d 2d 77 69 74 68 2d 6d 79 73 71 and --with-mysq 06f0: 6c 2d 6c 69 62 0d 0a 20 20 20 20 20 20 20 20 69 l-lib.. i 0700: 6e 73 74 65 61 64 2e 20 20 41 73 20 77 69 74 68 nstead. As with 0710: 20 2d 2d 77 69 74 68 2d 6d 79 73 71 6c 2c 20 63 --with-mysql, c 0720: 6f 6e 66 69 67 75 72 65 20 63 61 6e 20 6f 66 74 onfigure can oft 0730: 65 6e 20 67 75 65 73 73 0d 0a 20 20 20 20 20 20 en guess.. 0740: 20 20 77 68 69 63 68 20 73 75 62 64 69 72 65 63 which subdirec 0750: 74 6f 72 79 20 75 6e 64 65 72 20 74 68 65 20 67 tory under the g 0760: 69 76 65 6e 20 64 69 72 65 63 74 6f 72 79 20 63 iven directory c 0770: 6f 6e 74 61 69 6e 73 20 74 68 65 0d 0a 20 20 20 ontains the.. 0780: 20 20 20 20 20 6e 65 65 64 65 64 20 66 69 6c 65 needed file 0790: 73 2c 20 73 6f 20 79 6f 75 20 64 6f 6e 27 74 20 s, so you don't 07a0: 6e 65 63 65 73 73 61 72 69 6c 79 20 68 61 76 65 necessarily have 07b0: 20 74 6f 20 67 69 76 65 20 74 68 65 20 66 75 6c to give the ful 07c0: 6c 0d 0a 20 20 20 20 20 20 20 20 70 61 74 68 20 l.. path 07d0: 74 6f 20 74 68 65 73 65 20 66 69 6c 65 73 2e 0d to these files.. 07e0: 0a 20 20 20 20 0d 0a 20 20 20 20 2d 2d 77 69 74 . .. --wit 07f0: 68 2d 66 69 65 6c 64 2d 6c 69 6d 69 74 3a 0d 0a h-field-limit:.. 0800: 0d 0a 20 20 20 20 20 20 20 20 54 68 69 73 20 6c .. This l 0810: 65 74 73 20 79 6f 75 20 69 6e 63 72 65 61 73 65 ets you increase 0820: 20 74 68 65 20 6d 61 78 69 6d 75 6d 20 66 69 65 the maximum fie 0830: 6c 64 20 6c 69 6d 69 74 20 66 6f 72 20 74 65 6d ld limit for tem 0840: 70 6c 61 74 65 0d 0a 20 20 20 20 20 20 20 20 71 plate.. q 0850: 75 65 72 69 65 73 20 61 6e 64 20 53 53 51 4c 53 ueries and SSQLS 0860: 65 73 2e 20 20 42 79 20 64 65 66 61 75 6c 74 2c es. By default, 0870: 20 62 6f 74 68 20 61 72 65 20 6c 69 6d 69 74 65 both are limite 0880: 64 20 74 6f 20 32 35 0d 0a 20 20 20 20 20 20 20 d to 25.. 0890: 20 66 69 65 6c 64 73 2e 20 20 53 65 65 20 63 68 fields. See ch 08a0: 61 70 74 65 72 20 38 2e 32 20 69 6e 20 74 68 65 apter 8.2 in the 08b0: 20 75 73 65 72 20 6d 61 6e 75 61 6c 20 66 6f 72 user manual for 08c0: 20 64 65 74 61 69 6c 73 3a 0d 0a 0d 0a 20 20 20 details:.... 08d0: 20 20 20 20 20 68 74 74 70 3a 2f 2f 74 61 6e 67 http://tang 08e0: 65 6e 74 73 6f 66 74 2e 6e 65 74 2f 6d 79 73 71 entsoft.net/mysq 08f0: 6c 2b 2b 2f 64 6f 63 2f 68 74 6d 6c 2f 75 73 65 l++/doc/html/use 0900: 72 6d 61 6e 2f 63 6f 6e 66 69 67 75 72 61 74 69 rman/configurati 0910: 6f 6e 2e 68 74 6d 6c 0d 0a 0d 0a 20 20 20 20 2d on.html.... - 0920: 2d 65 6e 61 62 6c 65 2d 74 68 72 65 61 64 2d 63 -enable-thread-c 0930: 68 65 63 6b 3a 0d 0a 0d 0a 20 20 20 20 20 20 20 heck:.... 0940: 20 42 75 69 6c 64 73 20 4d 79 53 51 4c 2b 2b 20 Builds MySQL++ 0950: 77 69 74 68 20 74 68 72 65 61 64 69 6e 67 20 73 with threading s 0960: 75 70 70 6f 72 74 2c 20 69 66 20 70 6f 73 73 69 upport, if possi 0970: 62 6c 65 2e 0d 0a 20 20 20 20 20 20 20 20 0d 0a ble... .. 0980: 20 20 20 20 20 20 20 20 54 68 69 73 20 6f 70 74 This opt 0990: 69 6f 6e 20 73 69 6d 70 6c 79 20 74 75 72 6e 73 ion simply turns 09a0: 20 6f 6e 20 74 77 6f 20 74 65 73 74 73 3a 20 66 on two tests: f 09b0: 69 72 73 74 2c 20 74 68 61 74 20 79 6f 75 72 0d irst, that your. 09c0: 0a 20 20 20 20 20 20 20 20 73 79 73 74 65 6d 20 . system 09d0: 75 73 65 73 20 61 20 63 6f 6d 70 61 74 69 62 6c uses a compatibl 09e0: 65 20 74 68 72 65 61 64 69 6e 67 20 6c 69 62 72 e threading libr 09f0: 61 72 79 3b 20 61 6e 64 20 73 65 63 6f 6e 64 2c ary; and second, 0a00: 0d 0a 20 20 20 20 20 20 20 20 74 68 61 74 20 74 .. that t 0a10: 68 65 20 74 68 72 65 61 64 2d 73 61 66 65 20 76 he thread-safe v 0a20: 65 72 73 69 6f 6e 20 6f 66 20 74 68 65 20 4d 79 ersion of the My 0a30: 53 51 4c 20 43 20 41 50 49 20 6c 69 62 72 61 72 SQL C API librar 0a40: 79 0d 0a 20 20 20 20 20 20 20 20 28 6c 69 62 6d y.. (libm 0a50: 79 73 71 6c 63 6c 69 65 6e 74 5f 72 29 20 69 73 ysqlclient_r) is 0a60: 20 69 6e 73 74 61 6c 6c 65 64 20 61 6e 64 20 77 installed and w 0a70: 6f 72 6b 69 6e 67 2e 20 20 49 66 20 62 6f 74 68 orking. If both 0a80: 20 6f 66 0d 0a 20 20 20 20 20 20 20 20 74 68 65 of.. the 0a90: 73 65 20 61 72 65 20 74 72 75 65 2c 20 79 6f 75 se are true, you 0aa0: 20 67 65 74 20 61 20 74 68 72 65 61 64 2d 61 77 get a thread-aw 0ab0: 61 72 65 20 76 65 72 73 69 6f 6e 20 6f 66 20 4d are version of M 0ac0: 79 53 51 4c 2b 2b 2e 0d 0a 20 20 20 20 20 20 20 ySQL++... 0ad0: 20 22 54 68 72 65 61 64 2d 61 77 61 72 65 22 20 "Thread-aware" 0ae0: 6d 65 61 6e 73 20 74 68 61 74 20 74 68 65 20 6c means that the l 0af0: 69 62 72 61 72 79 20 64 6f 65 73 20 6d 61 6b 65 ibrary does make 0b00: 20 61 6e 20 65 66 66 6f 72 74 20 74 6f 0d 0a 20 an effort to.. 0b10: 20 20 20 20 20 20 20 70 72 65 76 65 6e 74 20 70 prevent p 0b20: 72 6f 62 6c 65 6d 73 2c 20 62 75 74 20 77 65 20 roblems, but we 0b30: 64 6f 6e 27 74 20 67 75 61 72 61 6e 74 65 65 20 don't guarantee 0b40: 74 68 61 74 20 61 6c 6c 20 70 6f 73 73 69 62 6c that all possibl 0b50: 65 0d 0a 20 20 20 20 20 20 20 20 75 73 65 73 20 e.. uses 0b60: 6f 66 20 4d 79 53 51 4c 2b 2b 20 61 72 65 20 74 of MySQL++ are t 0b70: 68 72 65 61 64 2d 73 61 66 65 2e 0d 0a 0d 0a 20 hread-safe..... 0b80: 20 20 20 20 20 20 20 4e 6f 74 65 20 74 68 61 74 Note that 0b90: 20 74 68 69 73 20 69 73 20 61 20 73 75 67 67 65 this is a sugge 0ba0: 73 74 69 6f 6e 2c 20 6e 6f 74 20 61 20 63 6f 6d stion, not a com 0bb0: 6d 61 6e 64 2e 20 20 49 66 20 77 65 20 63 61 6e mand. If we can 0bc0: 27 74 0d 0a 20 20 20 20 20 20 20 20 66 69 67 75 't.. figu 0bd0: 72 65 20 6f 75 74 20 74 68 65 20 73 79 73 74 65 re out the syste 0be0: 6d 27 73 20 74 68 72 65 61 64 69 6e 67 20 6d 6f m's threading mo 0bf0: 64 65 6c 20 6f 72 20 63 61 6e 27 74 20 66 69 6e del or can't fin 0c00: 64 20 74 68 65 0d 0a 20 20 20 20 20 20 20 20 74 d the.. t 0c10: 68 72 65 61 64 2d 61 77 61 72 65 20 62 75 69 6c hread-aware buil 0c20: 64 20 6f 66 20 74 68 65 20 43 20 41 50 49 20 6c d of the C API l 0c30: 69 62 72 61 72 79 2c 20 63 6f 6e 66 69 67 75 72 ibrary, configur 0c40: 65 20 77 6f 6e 27 74 20 66 61 69 6c 2e 0d 0a 20 e won't fail... 0c50: 20 20 20 20 20 20 20 49 74 20 6a 75 73 74 20 72 It just r 0c60: 65 76 65 72 74 73 20 74 6f 20 74 68 65 20 73 74 everts to the st 0c70: 61 6e 64 61 72 64 20 73 69 6e 67 6c 65 2d 74 68 andard single-th 0c80: 72 65 61 64 20 62 75 69 6c 64 2e 0d 0a 0d 0a 20 read build..... 0c90: 20 20 20 20 20 20 20 53 65 65 20 74 68 65 20 63 See the c 0ca0: 68 61 70 74 65 72 20 6f 6e 20 74 68 72 65 61 64 hapter on thread 0cb0: 69 6e 67 20 69 6e 20 74 68 65 20 75 73 65 72 20 ing in the user 0cc0: 6d 61 6e 75 61 6c 20 66 6f 72 20 6d 6f 72 65 0d manual for more. 0cd0: 0a 20 20 20 20 20 20 20 20 64 65 74 61 69 6c 73 . details 0ce0: 20 61 6e 64 20 61 64 76 69 63 65 20 6f 6e 20 63 and advice on c 0cf0: 72 65 61 74 69 6e 67 20 74 68 72 65 61 64 2d 73 reating thread-s 0d00: 61 66 65 20 70 72 6f 67 72 61 6d 73 20 77 69 74 afe programs wit 0d10: 68 0d 0a 20 20 20 20 20 20 20 20 4d 79 53 51 4c h.. MySQL 0d20: 2b 2b 2e 0d 0a 0d 0a 0d 0a 42 75 69 6c 64 69 6e ++.......Buildin 0d30: 67 20 61 20 53 74 61 74 69 63 20 4c 69 62 72 61 g a Static Libra 0d40: 72 79 0d 0a 7e 7e 7e 7e 7e 7e 7e 7e 7e 7e 7e 7e ry..~~~~~~~~~~~~ 0d50: 7e 7e 7e 7e 7e 7e 7e 7e 7e 7e 7e 7e 7e 0d 0a 20 ~~~~~~~~~~~~~.. 0d60: 20 20 20 41 73 20 73 68 69 70 70 65 64 2c 20 4d As shipped, M 0d70: 79 53 51 4c 2b 2b 20 6f 6e 6c 79 20 62 75 69 6c ySQL++ only buil 0d80: 64 73 20 61 20 73 68 61 72 65 64 20 6c 69 62 72 ds a shared libr 0d90: 61 72 79 2e 20 20 49 74 27 73 20 70 6f 73 73 69 ary. It's possi 0da0: 62 6c 65 20 74 6f 0d 0a 20 20 20 20 63 68 61 6e ble to.. chan 0db0: 67 65 20 74 68 69 6e 67 73 20 73 6f 20 79 6f 75 ge things so you 0dc0: 20 67 65 74 20 61 20 73 74 61 74 69 63 20 6c 69 get a static li 0dd0: 62 72 61 72 79 20 69 6e 73 74 65 61 64 2e 0d 0a brary instead... 0de0: 0d 0a 20 20 20 20 42 65 66 6f 72 65 20 77 65 20 .. Before we 0df0: 67 65 74 20 74 6f 20 22 68 6f 77 2c 22 20 62 65 get to "how," be 0e00: 77 61 72 65 20 74 68 61 74 20 6c 69 6b 69 6e 67 ware that liking 0e10: 20 73 74 61 74 69 63 61 6c 6c 79 20 74 6f 20 4d statically to M 0e20: 79 53 51 4c 2b 2b 20 68 61 73 0d 0a 20 20 20 20 ySQL++ has.. 0e30: 6c 65 67 61 6c 20 63 6f 6e 73 65 71 75 65 6e 63 legal consequenc 0e40: 65 73 20 74 68 61 74 20 6d 61 79 20 6d 61 74 74 es that may matt 0e50: 65 72 20 74 6f 20 79 6f 75 2c 20 64 75 65 20 74 er to you, due t 0e60: 6f 20 74 68 65 20 6c 69 62 72 61 72 79 27 73 0d o the library's. 0e70: 0a 20 20 20 20 6c 69 63 65 6e 73 65 2c 20 74 68 . license, th 0e80: 65 20 47 4e 55 20 4c 47 50 4c 2e 20 20 46 61 6d e GNU LGPL. Fam 0e90: 69 6c 69 61 72 69 7a 65 20 79 6f 75 72 73 65 6c iliarize yoursel 0ea0: 66 20 77 69 74 68 20 74 68 65 20 6c 69 63 65 6e f with the licen 0eb0: 73 65 2c 20 61 6e 64 0d 0a 20 20 20 20 63 6f 6e se, and.. con 0ec0: 73 69 64 65 72 20 67 65 74 74 69 6e 67 20 6c 65 sider getting le 0ed0: 67 61 6c 20 63 6f 75 6e 73 65 6c 20 62 65 66 6f gal counsel befo 0ee0: 72 65 20 70 72 6f 63 65 65 64 69 6e 67 2e 20 20 re proceeding. 0ef0: 41 6c 73 6f 2c 20 73 65 65 20 74 68 65 0d 0a 20 Also, see the.. 0f00: 20 20 20 4d 79 53 51 4c 2b 2b 20 46 41 51 3a 20 MySQL++ FAQ: 0f10: 68 74 74 70 3a 2f 2f 74 61 6e 67 65 6e 74 73 6f http://tangentso 0f20: 66 74 2e 6e 65 74 2f 6d 79 73 71 6c 2b 2b 2f 23 ft.net/mysql++/# 0f30: 66 61 71 20 20 54 68 65 72 65 20 69 73 20 6d 6f faq There is mo 0f40: 72 65 20 6f 6e 0d 0a 20 20 20 20 74 68 69 73 20 re on.. this 0f50: 74 6f 70 69 63 20 74 68 65 72 65 2e 0d 0a 0d 0a topic there..... 0f60: 20 20 20 20 54 68 65 20 6e 65 63 65 73 73 61 72 The necessar 0f70: 79 20 63 68 61 6e 67 65 73 20 61 72 65 20 61 6c y changes are al 0f80: 6c 20 69 6e 20 6d 79 73 71 6c 2b 2b 2e 62 6b 6c l in mysql++.bkl 0f90: 3a 0d 0a 0d 0a 20 20 20 20 20 20 20 20 2d 20 43 :.... - C 0fa0: 68 61 6e 67 65 20 74 68 65 20 3c 64 6c 6c 3e 20 hange the <dll> 0fb0: 74 61 67 20 74 6f 20 3c 6c 69 62 3e 2e 20 20 28 tag to <lib>. ( 0fc0: 52 65 6d 65 6d 62 65 72 20 74 68 65 20 63 6c 6f Remember the clo 0fd0: 73 69 6e 67 20 74 61 67 21 29 0d 0a 0d 0a 20 20 sing tag!).... 0fe0: 20 20 20 20 20 20 2d 20 52 65 6d 6f 76 65 20 74 - Remove t 0ff0: 68 65 20 3c 64 6c 6c 6e 61 6d 65 3e 20 74 61 67 he <dllname> tag 1000: 0d 0a 0d 0a 20 20 20 20 20 20 20 20 2d 20 52 65 .... - Re 1010: 6d 6f 76 65 20 74 68 65 20 3c 73 6f 5f 76 65 72 move the <so_ver 1020: 73 69 6f 6e 3e 20 74 61 67 0d 0a 0d 0a 20 20 20 sion> tag.... 1030: 20 54 68 65 6e 2c 20 72 65 2d 62 6f 6f 74 73 74 Then, re-bootst 1040: 72 61 70 20 74 68 65 20 6c 69 62 72 61 72 79 2e rap the library. 1050: 20 20 53 65 65 20 48 41 43 4b 45 52 53 2e 74 78 See HACKERS.tx 1060: 74 20 69 66 20 79 6f 75 20 6e 65 65 64 20 66 75 t if you need fu 1070: 72 74 68 65 72 0d 0a 20 20 20 20 69 6e 73 74 72 rther.. instr 1080: 75 63 74 69 6f 6e 20 6f 6e 20 64 6f 69 6e 67 20 uction on doing 1090: 74 68 61 74 2e 0d 0a that...