configure fails to detect sqlite3 on Mac OS X
The configure script fails to detect sqlite3 (an probably also mysql) on Mac OS X.
I figured out configure.in just looks for '.so'-files, but the extension for dynamic libraries on Apple's OS is 'dylib'.
In my attached patch I replaced the hard-coded extension. It will be substituted to 'dylib' on Mac OS and 'so' on all other platforms.
#1 Updated by Yoann VANDOORSELAERE almost 13 years ago
- Status changed from New to Assigned
The patch look good!
Could you confirm that it work for [[MySQL]] detection, and bring no regression on this side?
Additionally, could you provide me your full name so that I can give you credit in the [[ChangeLog]]?
#3 Updated by almost 13 years ago
I've ran 2 test with a stable [[MySQL]]-5-Version and with Mysql Version 6 on Mac OS X.
Typically they install into /usr/local/mysql (symlink to /usr/local/mysql-VERSION)
running ./configure --with-mysql=PATH mysql_config will be detected successfully und building works fine.
The configure.in script also contains checks for headers and libraries. I don't know under which circumstances this is required.
But it won't work on Mac OS X because headers and libs are in /usr/local/mysql/include and /usr/local/mysql/lib and these directories are not checked by configure.in.
I think, this is a general problem with not-unified-OSes like Mac OS X.