Paul,
let me guess. There is an older mysql.h somewhere other than /usr/local/mysql/include/
Indeed there is. In fact, there may be a few, as would be normal on these systems; different versions of not only MySQL, but of any number of tools, used in different ways for different objectives, or to test different variables. This is very common in our testing of multiple versions of OpenSSL, for example, and works flawlessly...
But what's relevant in this case, I should think, is that the specific version of MySQL to which we point, using configure,
--with-mysql=/usr/local/mysql/bin/mysql_config \
...is indeed >= 4.1, as indicated by this note:
# /usr/local/mysql/bin/mysql_config --version 5.0.51
In further testing, we were able to achieve the MySQL integration by 'manhandling' the configure script - shouldn't have to do this! - but cannot get the correct version of PostgreSQL recognized:
# ldd /usr/local/lib/libzdb.so libpq.so.4 => /usr/lib/libpq.so.4 -- OR, Depending on configuration: ----
libpq.so.5 => (file not found) libsqlite3.so.0 => /usr/local/lib/libsqlite3.so.0 libmysqlclient.so.15 => /usr/local/mysql/lib/mysql/libmysqlclient.so.15
even though we're pointing to an instance of PostgreSQL in an entirely different location.
--with-postgresql=/usr/local/postgres/9b4/bin/pg_config
Are you maintaining the libzdb package, too? What do you think the answer is?
Lou
----- Original Message ----- From: "Paul J Stevens" paul@nfg.nl To: "This is the libzdb general mailing list" libzdb-general@tildeslash.com Sent: Wednesday, August 11, 2010 2:26:39 PM Subject: Re: Configure/compile issues on Solaris SPARC
Me again :-)
Lou, let me guess. There is an older mysql.h somewhere other than /usr/local/mysql/include/
On 08/11/2010 06:57 PM, Lou Picciano wrote:
# nm /usr/local/mysql/lib/mysql/libmysqlclient.so | grep mysql_init 000300f0 T mysql_init
)
Some pertinent output from configure:
...