Comments on: MySQL 5.0.x binary package has no shared library support http://switch.richard5.net/2006/05/20/mysql-50x-binary-package-has-no-shared-library-support/ How to build your Mac into a internet server using open source software Tue, 17 Jun 2008 18:25:42 +0000 hourly 1 http://wordpress.org/?v=3.2.1 By: Jeff Stubbs http://switch.richard5.net/2006/05/20/mysql-50x-binary-package-has-no-shared-library-support/comment-page-1/#comment-708 Jeff Stubbs Sun, 21 May 2006 04:25:54 +0000 http://switch.richard5.net/2006/05/20/mysql-50x-binary-package-has-no-shared-library-support/#comment-708 The "./configure" line pulled from the mysqlbug file, as mentioned by the above hint, modified only by deleting the "disable-shared" option, will build shared/static libraries on a ppc mac. It will pass "make test" by patching two of the test scripts as mentioned by this mysql commit list: http://lists.mysql.com/commits/6247 Didn't start the server yet (too late), but the only oddity I noticed was that include & lib files were buried one level deeper. That is, lib files were at "/opt/local/mysql/lib/mysql" instead of "/opt/local/mysql/lib". I set --prefix=/opt/local/mysql but it still built in that manner. [Builiding in /opt/local to avoid the binary install] Hope this helps with intel build. The “./configure” line pulled from the mysqlbug file, as mentioned by the above hint, modified only by deleting the “disable-shared” option, will build shared/static libraries on a ppc mac. It will pass “make test” by patching two of the test scripts as mentioned by this mysql commit list:

http://lists.mysql.com/commits/6247

Didn’t start the server yet (too late), but the only oddity I noticed was that include & lib files were buried one level deeper. That is, lib files were at “/opt/local/mysql/lib/mysql” instead of “/opt/local/mysql/lib”. I set –prefix=/opt/local/mysql but it still built in that manner.

[Builiding in /opt/local to avoid the binary install]

Hope this helps with intel build.

]]>
By: Jeff Stubbs http://switch.richard5.net/2006/05/20/mysql-50x-binary-package-has-no-shared-library-support/comment-page-1/#comment-698 Jeff Stubbs Sat, 20 May 2006 20:52:26 +0000 http://switch.richard5.net/2006/05/20/mysql-50x-binary-package-has-no-shared-library-support/#comment-698 Look at this thread for some pointers: http://forums.mysql.com/read.php?117,57498,83024 WIth a little digging, you can get the original "./configure" line" for both ppc and i386 binary builds. Might be as simple as deleting the "disable-shared" option to produce shared libraries. Output from "./configure --help" shows that both static and shared are produced by default. Look at this thread for some pointers:

http://forums.mysql.com/read.php?117,57498,83024

WIth a little digging, you can get the original “./configure” line” for both ppc and i386 binary builds. Might be as simple as deleting the “disable-shared” option to produce shared libraries. Output from “./configure –help” shows that both static and shared are produced by default.

]]>