Opened 16 years ago

Closed 16 years ago

Last modified 15 years ago

#15462 closed defect (fixed)

rb-mysql 2.7.5_0 fails to build

Reported by: tyoshida@… Owned by: febeling@…
Priority: Normal Milestone:
Component: ports Version: 1.6.0
Keywords: rb-mysql Cc: roberto@…, febeling@…
Port:

Description

I'm upgrading to rb-mysql 2.7.5_0 from rb-mysql 2.7.3_1. I already have MySQL 5 installed and running via MacPorts as well.

sudo port -v upgrade rb-mysql  
--->  Fetching rb-mysql
--->  mysql-ruby-2.7.5.tar.gz doesn't seem to exist in /opt/local/var/macports/distfiles/ruby
--->  Attempting to fetch mysql-ruby-2.7.5.tar.gz from http://tmtm.org/downloads/mysql/ruby/
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 32479  100 32479    0     0  12564      0  0:00:02  0:00:02 --:--:-- 16345
--->  Verifying checksum(s) for rb-mysql
--->  Checksumming mysql-ruby-2.7.5.tar.gz
--->  Extracting rb-mysql
--->  Extracting mysql-ruby-2.7.5.tar.gz
--->  Configuring rb-mysql
checking for mysql_query() in -lmysqlclient... no
checking for main() in -lm... yes
checking for mysql_query() in -lmysqlclient... no
checking for main() in -lz... yes
checking for mysql_query() in -lmysqlclient... no
checking for main() in -lsocket... no
checking for mysql_query() in -lmysqlclient... no
checking for main() in -lnsl... no
checking for mysql_query() in -lmysqlclient... no
checking for main() in -lmygcc... no
checking for mysql_query() in -lmysqlclient... no
*** extconf.rb failed ***
Could not create Makefile due to some reason, probably lack of
necessary libraries and/or headers.  Check the mkmf.log file for more
details.  You may need configuration options.

Provided configuration options:
	--with-opt-dir
	--without-opt-dir
	--with-opt-include
	--without-opt-include=${opt-dir}/include
	--with-opt-lib
	--without-opt-lib=${opt-dir}/lib
	--with-make-prog
	--without-make-prog
	--srcdir=.
	--curdir
	--ruby=/opt/local/bin/ruby
	--with-mysql-config
	--without-mysql-config
	--with-mysql-dir
	--without-mysql-dir
	--with-mysql-include=${mysql-dir}/include
	--with-mysql-lib=${mysql-dir}/lib
	--with-mysqlclientlib
	--without-mysqlclientlib
	--with-mlib
	--without-mlib
	--with-mysqlclientlib
	--without-mysqlclientlib
	--with-zlib
	--without-zlib
	--with-mysqlclientlib
	--without-mysqlclientlib
	--with-socketlib
	--without-socketlib
	--with-mysqlclientlib
	--without-mysqlclientlib
	--with-nsllib
	--without-nsllib
	--with-mysqlclientlib
	--without-mysqlclientlib
	--with-mygcclib
	--without-mygcclib
	--with-mysqlclientlib
	--without-mysqlclientlib
Error: Target org.macports.configure returned: configure failure: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_ruby_rb-mysql/work/mysql-ruby-2.7.5" && /opt/local/bin/ruby -rvendor-specific extconf.rb --with-mysql-include=/opt/local/include/mysql5/mysql --with-mysql-lib=/opt/local/lib/mysql5/mysql " returned error 1
Command output: 	--curdir
	--ruby=/opt/local/bin/ruby
	--with-mysql-config
	--without-mysql-config
	--with-mysql-dir
	--without-mysql-dir
	--with-mysql-include=${mysql-dir}/include
	--with-mysql-lib=${mysql-dir}/lib
	--with-mysqlclientlib
	--without-mysqlclientlib
	--with-mlib
	--without-mlib
	--with-mysqlclientlib
	--without-mysqlclientlib
	--with-zlib
	--without-zlib
	--with-mysqlclientlib
	--without-mysqlclientlib
	--with-socketlib
	--without-socketlib
	--with-mysqlclientlib
	--without-mysqlclientlib
	--with-nsllib
	--without-nsllib
	--with-mysqlclientlib
	--without-mysqlclientlib
	--with-mygcclib
	--without-mygcclib
	--with-mysqlclientlib
	--without-mysqlclientlib

Warning: the following items did not execute (for rb-mysql): org.macports.destroot org.macports.configure org.macports.build
Error: Unable to upgrade port: 1

Change History (11)

comment:1 Changed 16 years ago by febeling@…

Owner: changed from macports-tickets@… to febeling@…
Status: newassigned

Could you post hardware, OS version, and mysql version, please?

comment:2 Changed 16 years ago by tyoshida@…

Hi,

Here's my machine spec and MySQL 5 version

MacBook Pro (Intel Core 2 Duo 2.4 GHz/4GB RAM) Mac OS X 10.5.3

MySQL 5 (MacPorts) mysql5 @5.0.51a_0+server (active)

comment:3 in reply to:  2 Changed 16 years ago by febeling@…

MacBook Pro (Intel Core 2 Duo 2.4 GHz/4GB RAM) Mac OS X 10.5.3

MySQL 5 (MacPorts) mysql5 @5.0.51a_0+server (active)

I just performed the build and install of mysql5 and rb-mysql on macbook+intel first under 10.5.2, then 10.5.3 (only other diffrence I could see), and it just works for me. Do you have any other local chnages to you macports setup?

comment:4 Changed 16 years ago by tyoshida@…

I don't think I have any modifications made to MacPorts setup. I checked my /usr/local to see if there are any strange stuff that might affect it but nothing. I tried the following instruction:

/opt/local/bin/ruby -rvendor-specific extconf.rb --with-mysql-config=/opt/local/bin/mysql_config5 
checking for mysql_ssl_set()... yes
checking for mysql.h... yes
creating Makefile

And this worked out fine (?). Is the above what's expected?

comment:5 Changed 16 years ago by tyoshida@…

I modified the Portfile to the following:

configure.args  	--with-mysql-config=${prefix}/bin/mysql_config5

And I was able to upgrade my old rb-mysql to the new version. Not sure why I needed to make this change though. Just for a reference, mysql_config5 print the following:

Usage: /opt/local/bin/mysql_config5 [OPTIONS]
Options:
        --cflags         [-I/opt/local/include/mysql5/mysql]
        --include        [-I/opt/local/include/mysql5/mysql]
        --libs           [-L/opt/local/lib -L/opt/local/lib/mysql5/mysql -lmysqlclient -L/opt/local/lib -lz -lm  -L/opt/local/lib -lssl -lcrypto]
        --libs_r         [-L/opt/local/lib -L/opt/local/lib/mysql5/mysql -lmysqlclient_r -L/opt/local/lib -lz -lm   -L/opt/local/lib -lssl -lcrypto]
        --socket         [/opt/local/var/run/mysql5/mysqld.sock]
        --port           [3306]
        --version        [5.0.51a]
        --libmysqld-libs [-L/opt/local/lib -L/opt/local/lib/mysql5/mysql -lmysqld -L/opt/local/lib -lz -lm     -L/opt/local/lib -lssl -lcrypto]

comment:6 Changed 16 years ago by matthew@…

I also had the same problem (still on 10.5.2) and independently arrived at a similar fix before coming here to report it and finding this ticket.

comment:7 Changed 16 years ago by febeling@…

So if this is a recurring problem, then I will switch over to use the config binary. I used it for rubygems installation of mysql sometimes, and since rb-mysql's extconf.rb and mysql both provide means to negotiate the details of the libraries to use, there is no point in reproducing them in the port file again. I change the portfile then to that approach. I would still like too understand what goes wrong in these two cases.

Could you post the mkmf.log file maybe, and the output from

  ls -la /opt/local/lib/libmys*

as well?

comment:8 Changed 16 years ago by febeling@…

Resolution: fixed
Status: assignedclosed

r37289 switches to use of mysq_config/mysql_config5.

comment:9 Changed 16 years ago by tyoshida@…

There are no output from:

ls -la /opt/local/lib/libmys* 

I don't have any files that begin with 'libmys' in the /opt/local/lib.

This is the content of mkmf.log file (when it failed to create Makefile).

find_library: checking for mysql_query() in -lmysqlclient... -------------------- no

"/usr/bin/gcc-4.0 -o conftest -I. -I/opt/local/lib/ruby/1.8/i686-darwin9.2.2 -I. -I/opt/local/include/mysql5/mysql -I/usr/local/include -I/opt/local/include -O2  -fno-common -pipe -fno-common conftest.c  -L\".\" -L\"/opt/local/lib\" -L\"/opt/local/lib/mysql5/mysql\" -L\"/usr/local/lib\" -L. -L/opt/local/lib     -lruby-static -lmysqlclient  -lpthread -ldl -lobjc  "
conftest.c: In function ‘t’:
conftest.c:3: error: ‘mysql_query’ undeclared (first use in this function)
conftest.c:3: error: (Each undeclared identifier is reported only once
conftest.c:3: error: for each function it appears in.)
checked program was:
/* begin */
1: /*top*/
2: int main() { return 0; }
3: int t() { void ((*volatile p)()); p = (void ((*)()))mysql_query; return 0; }
/* end */

"/usr/bin/gcc-4.0 -o conftest -I. -I/opt/local/lib/ruby/1.8/i686-darwin9.2.2 -I. -I/opt/local/include/mysql5/mysql -I/usr/local/include -I/opt/local/include -O2  -fno-common -pipe -fno-common conftest.c  -L\".\" -L\"/opt/local/lib\" -L\"/opt/local/lib/mysql5/mysql\" -L\"/usr/local/lib\" -L. -L/opt/local/lib     -lruby-static -lmysqlclient  -lpthread -ldl -lobjc  "
ld: library not found for -lmysqlclient
collect2: ld returned 1 exit status
checked program was:
/* begin */
1: /*top*/
2: int main() { return 0; }
3: int t() { mysql_query(); return 0; }
/* end */

"/usr/bin/gcc-4.0 -o conftest -I. -I/opt/local/lib/ruby/1.8/i686-darwin9.2.2 -I. -I/opt/local/include/mysql5/mysql -I/usr/local/include -I/opt/local/include -O2  -fno-common -pipe -fno-common conftest.c  -L\".\" -L\"/opt/local/lib\" -L\"/opt/local/lib/mysql5/mysql\" -L\"/usr/local/lib\" -L. -L/opt/local/lib     -lruby-static -lmysqlclient  -lpthread -ldl -lobjc  "
ld: library not found for -lmysqlclient
collect2: ld returned 1 exit status
checked program was:
/* begin */
1: int mysql_query();
2: /*top*/
3: int main() { return 0; }
4: int t() { mysql_query(); return 0; }
/* end */

"/usr/bin/gcc-4.0 -o conftest -I. -I/opt/local/lib/ruby/1.8/i686-darwin9.2.2 -I. -I/opt/local/include/mysql5/mysql -I/usr/local/include -I/opt/local/include -O2  -fno-common -pipe -fno-common conftest.c  -L\".\" -L\"/opt/local/lib\" -L\"/opt/local/lib/mysql5/mysql\" -L\"/usr/local/lib\" -L. -L/opt/local/lib     -lruby-static -lmysqlclient  -lpthread -ldl -lobjc  "
conftest.c: In function ‘t’:
conftest.c:3: error: ‘mysql_query’ undeclared (first use in this function)
conftest.c:3: error: (Each undeclared identifier is reported only once
conftest.c:3: error: for each function it appears in.)
checked program was:
/* begin */
1: /*top*/
2: int main() { return 0; }
3: int t() { void ((*volatile p)()); p = (void ((*)()))mysql_query; return 0; }
/* end */

"/usr/bin/gcc-4.0 -o conftest -I. -I/opt/local/lib/ruby/1.8/i686-darwin9.2.2 -I. -I/opt/local/include/mysql5/mysql -I/usr/local/include -I/opt/local/include -O2  -fno-common -pipe -fno-common conftest.c  -L\".\" -L\"/opt/local/lib\" -L\"/opt/local/lib/mysql5/mysql\" -L\"/usr/local/lib\" -L. -L/opt/local/lib     -lruby-static -lmysqlclient  -lpthread -ldl -lobjc  "
ld: library not found for -lmysqlclient
collect2: ld returned 1 exit status
checked program was:
/* begin */
1: /*top*/
2: int main() { return 0; }
3: int t() { mysql_query(); return 0; }
/* end */

"/usr/bin/gcc-4.0 -o conftest -I. -I/opt/local/lib/ruby/1.8/i686-darwin9.2.2 -I. -I/opt/local/include/mysql5/mysql -I/usr/local/include -I/opt/local/include -O2  -fno-common -pipe -fno-common conftest.c  -L\".\" -L\"/opt/local/lib\" -L\"/opt/local/lib/mysql5/mysql\" -L\"/usr/local/lib\" -L. -L/opt/local/lib     -lruby-static -lmysqlclient  -lpthread -ldl -lobjc  "
ld: library not found for -lmysqlclient
collect2: ld returned 1 exit status
checked program was:
/* begin */
1: int mysql_query();
2: /*top*/
3: int main() { return 0; }
4: int t() { mysql_query(); return 0; }
/* end */

"/usr/bin/gcc-4.0 -o conftest -I. -I/opt/local/lib/ruby/1.8/i686-darwin9.2.2 -I. -I/opt/local/include/mysql5/mysql -I/usr/local/include -I/opt/local/include -O2  -fno-common -pipe -fno-common conftest.c  -L\".\" -L\"/opt/local/lib\" -L\"/opt/local/lib/mysql5/mysql\" -L\"/usr/local/lib\" -L. -L/opt/local/lib     -lruby-static -lmysqlclient  -lpthread -ldl -lobjc  "
conftest.c: In function ‘t’:
conftest.c:3: error: ‘mysql_query’ undeclared (first use in this function)
conftest.c:3: error: (Each undeclared identifier is reported only once
conftest.c:3: error: for each function it appears in.)
checked program was:
/* begin */
1: /*top*/
2: int main() { return 0; }
3: int t() { void ((*volatile p)()); p = (void ((*)()))mysql_query; return 0; }
/* end */

"/usr/bin/gcc-4.0 -o conftest -I. -I/opt/local/lib/ruby/1.8/i686-darwin9.2.2 -I. -I/opt/local/include/mysql5/mysql -I/usr/local/include -I/opt/local/include -O2  -fno-common -pipe -fno-common conftest.c  -L\".\" -L\"/opt/local/lib\" -L\"/opt/local/lib/mysql5/mysql\" -L\"/usr/local/lib\" -L. -L/opt/local/lib     -lruby-static -lmysqlclient  -lpthread -ldl -lobjc  "
ld: library not found for -lmysqlclient
collect2: ld returned 1 exit status
checked program was:
/* begin */
1: /*top*/
2: int main() { return 0; }
3: int t() { mysql_query(); return 0; }
/* end */

"/usr/bin/gcc-4.0 -o conftest -I. -I/opt/local/lib/ruby/1.8/i686-darwin9.2.2 -I. -I/opt/local/include/mysql5/mysql -I/usr/local/include -I/opt/local/include -O2  -fno-common -pipe -fno-common conftest.c  -L\".\" -L\"/opt/local/lib\" -L\"/opt/local/lib/mysql5/mysql\" -L\"/usr/local/lib\" -L. -L/opt/local/lib     -lruby-static -lmysqlclient  -lpthread -ldl -lobjc  "
ld: library not found for -lmysqlclient
collect2: ld returned 1 exit status
checked program was:
/* begin */
1: int mysql_query();
2: /*top*/
3: int main() { return 0; }
4: int t() { mysql_query(); return 0; }
/* end */

"/usr/bin/gcc-4.0 -o conftest -I. -I/opt/local/lib/ruby/1.8/i686-darwin9.2.2 -I. -I/opt/local/include/mysql5/mysql -I/usr/local/include -I/opt/local/include -O2  -fno-common -pipe -fno-common conftest.c  -L\".\" -L\"/opt/local/lib\" -L\"/opt/local/lib/mysql5/mysql\" -L\"/usr/local/lib\" -L. -L/opt/local/lib     -lruby-static -lmysqlclient  -lpthread -ldl -lobjc  "
conftest.c: In function ‘t’:
conftest.c:3: error: ‘mysql_query’ undeclared (first use in this function)
conftest.c:3: error: (Each undeclared identifier is reported only once
conftest.c:3: error: for each function it appears in.)
checked program was:
/* begin */
1: /*top*/
2: int main() { return 0; }
3: int t() { void ((*volatile p)()); p = (void ((*)()))mysql_query; return 0; }
/* end */

"/usr/bin/gcc-4.0 -o conftest -I. -I/opt/local/lib/ruby/1.8/i686-darwin9.2.2 -I. -I/opt/local/include/mysql5/mysql -I/usr/local/include -I/opt/local/include -O2  -fno-common -pipe -fno-common conftest.c  -L\".\" -L\"/opt/local/lib\" -L\"/opt/local/lib/mysql5/mysql\" -L\"/usr/local/lib\" -L. -L/opt/local/lib     -lruby-static -lmysqlclient  -lpthread -ldl -lobjc  "
ld: library not found for -lmysqlclient
collect2: ld returned 1 exit status
checked program was:
/* begin */
1: /*top*/
2: int main() { return 0; }
3: int t() { mysql_query(); return 0; }
/* end */

"/usr/bin/gcc-4.0 -o conftest -I. -I/opt/local/lib/ruby/1.8/i686-darwin9.2.2 -I. -I/opt/local/include/mysql5/mysql -I/usr/local/include -I/opt/local/include -O2  -fno-common -pipe -fno-common conftest.c  -L\".\" -L\"/opt/local/lib\" -L\"/opt/local/lib/mysql5/mysql\" -L\"/usr/local/lib\" -L. -L/opt/local/lib     -lruby-static -lmysqlclient  -lpthread -ldl -lobjc  "
ld: library not found for -lmysqlclient
collect2: ld returned 1 exit status
checked program was:
/* begin */
1: int mysql_query();
2: /*top*/
3: int main() { return 0; }
4: int t() { mysql_query(); return 0; }
/* end */

"/usr/bin/gcc-4.0 -o conftest -I. -I/opt/local/lib/ruby/1.8/i686-darwin9.2.2 -I. -I/opt/local/include/mysql5/mysql -I/usr/local/include -I/opt/local/include -O2  -fno-common -pipe -fno-common conftest.c  -L\".\" -L\"/opt/local/lib\" -L\"/opt/local/lib/mysql5/mysql\" -L\"/usr/local/lib\" -L. -L/opt/local/lib     -lruby-static -lmysqlclient  -lpthread -ldl -lobjc  "
conftest.c: In function ‘t’:
conftest.c:3: error: ‘mysql_query’ undeclared (first use in this function)
conftest.c:3: error: (Each undeclared identifier is reported only once
conftest.c:3: error: for each function it appears in.)
checked program was:
/* begin */
1: /*top*/
2: int main() { return 0; }
3: int t() { void ((*volatile p)()); p = (void ((*)()))mysql_query; return 0; }
/* end */

"/usr/bin/gcc-4.0 -o conftest -I. -I/opt/local/lib/ruby/1.8/i686-darwin9.2.2 -I. -I/opt/local/include/mysql5/mysql -I/usr/local/include -I/opt/local/include -O2  -fno-common -pipe -fno-common conftest.c  -L\".\" -L\"/opt/local/lib\" -L\"/opt/local/lib/mysql5/mysql\" -L\"/usr/local/lib\" -L. -L/opt/local/lib     -lruby-static -lmysqlclient  -lpthread -ldl -lobjc  "
ld: library not found for -lmysqlclient
collect2: ld returned 1 exit status
checked program was:
/* begin */
1: /*top*/
2: int main() { return 0; }
3: int t() { mysql_query(); return 0; }
/* end */

"/usr/bin/gcc-4.0 -o conftest -I. -I/opt/local/lib/ruby/1.8/i686-darwin9.2.2 -I. -I/opt/local/include/mysql5/mysql -I/usr/local/include -I/opt/local/include -O2  -fno-common -pipe -fno-common conftest.c  -L\".\" -L\"/opt/local/lib\" -L\"/opt/local/lib/mysql5/mysql\" -L\"/usr/local/lib\" -L. -L/opt/local/lib     -lruby-static -lmysqlclient  -lpthread -ldl -lobjc  "
ld: library not found for -lmysqlclient
collect2: ld returned 1 exit status
checked program was:
/* begin */
1: int mysql_query();
2: /*top*/
3: int main() { return 0; }
4: int t() { mysql_query(); return 0; }
/* end */

"/usr/bin/gcc-4.0 -o conftest -I. -I/opt/local/lib/ruby/1.8/i686-darwin9.2.2 -I. -I/opt/local/include/mysql5/mysql -I/usr/local/include -I/opt/local/include -O2  -fno-common -pipe -fno-common conftest.c  -L\".\" -L\"/opt/local/lib\" -L\"/opt/local/lib/mysql5/mysql\" -L\"/usr/local/lib\" -L. -L/opt/local/lib     -lruby-static -lmysqlclient  -lpthread -ldl -lobjc  "
conftest.c: In function ‘t’:
conftest.c:3: error: ‘mysql_query’ undeclared (first use in this function)
conftest.c:3: error: (Each undeclared identifier is reported only once
conftest.c:3: error: for each function it appears in.)
checked program was:
/* begin */
1: /*top*/
2: int main() { return 0; }
3: int t() { void ((*volatile p)()); p = (void ((*)()))mysql_query; return 0; }
/* end */

"/usr/bin/gcc-4.0 -o conftest -I. -I/opt/local/lib/ruby/1.8/i686-darwin9.2.2 -I. -I/opt/local/include/mysql5/mysql -I/usr/local/include -I/opt/local/include -O2  -fno-common -pipe -fno-common conftest.c  -L\".\" -L\"/opt/local/lib\" -L\"/opt/local/lib/mysql5/mysql\" -L\"/usr/local/lib\" -L. -L/opt/local/lib     -lruby-static -lmysqlclient  -lpthread -ldl -lobjc  "
ld: library not found for -lmysqlclient
collect2: ld returned 1 exit status
checked program was:
/* begin */
1: /*top*/
2: int main() { return 0; }
3: int t() { mysql_query(); return 0; }
/* end */

"/usr/bin/gcc-4.0 -o conftest -I. -I/opt/local/lib/ruby/1.8/i686-darwin9.2.2 -I. -I/opt/local/include/mysql5/mysql -I/usr/local/include -I/opt/local/include -O2  -fno-common -pipe -fno-common conftest.c  -L\".\" -L\"/opt/local/lib\" -L\"/opt/local/lib/mysql5/mysql\" -L\"/usr/local/lib\" -L. -L/opt/local/lib     -lruby-static -lmysqlclient  -lpthread -ldl -lobjc  "
ld: library not found for -lmysqlclient
collect2: ld returned 1 exit status
checked program was:
/* begin */
1: int mysql_query();
2: /*top*/
3: int main() { return 0; }
4: int t() { mysql_query(); return 0; }
/* end */

"/usr/bin/gcc-4.0 -o conftest -I. -I/opt/local/lib/ruby/1.8/i686-darwin9.2.2 -I. -I/opt/local/include/mysql5/mysql -I/usr/local/include -I/opt/local/include -O2  -fno-common -pipe -fno-common conftest.c  -L\".\" -L\"/opt/local/lib\" -L\"/opt/local/lib/mysql5/mysql\" -L\"/usr/local/lib\" -L\"/usr/local/lib/mysql\" -L. -L/opt/local/lib     -lruby-static -lmysqlclient  -lpthread -ldl -lobjc  "
conftest.c: In function ‘t’:
conftest.c:3: error: ‘mysql_query’ undeclared (first use in this function)
conftest.c:3: error: (Each undeclared identifier is reported only once
conftest.c:3: error: for each function it appears in.)
checked program was:
/* begin */
1: /*top*/
2: int main() { return 0; }
3: int t() { void ((*volatile p)()); p = (void ((*)()))mysql_query; return 0; }
/* end */

"/usr/bin/gcc-4.0 -o conftest -I. -I/opt/local/lib/ruby/1.8/i686-darwin9.2.2 -I. -I/opt/local/include/mysql5/mysql -I/usr/local/include -I/opt/local/include -O2  -fno-common -pipe -fno-common conftest.c  -L\".\" -L\"/opt/local/lib\" -L\"/opt/local/lib/mysql5/mysql\" -L\"/usr/local/lib\" -L\"/usr/local/lib/mysql\" -L. -L/opt/local/lib     -lruby-static -lmysqlclient  -lpthread -ldl -lobjc  "
ld: library not found for -lmysqlclient
collect2: ld returned 1 exit status
checked program was:
/* begin */
1: /*top*/
2: int main() { return 0; }
3: int t() { mysql_query(); return 0; }
/* end */

"/usr/bin/gcc-4.0 -o conftest -I. -I/opt/local/lib/ruby/1.8/i686-darwin9.2.2 -I. -I/opt/local/include/mysql5/mysql -I/usr/local/include -I/opt/local/include -O2  -fno-common -pipe -fno-common conftest.c  -L\".\" -L\"/opt/local/lib\" -L\"/opt/local/lib/mysql5/mysql\" -L\"/usr/local/lib\" -L\"/usr/local/lib/mysql\" -L. -L/opt/local/lib     -lruby-static -lmysqlclient  -lpthread -ldl -lobjc  "
ld: library not found for -lmysqlclient
collect2: ld returned 1 exit status
checked program was:
/* begin */
1: int mysql_query();
2: /*top*/
3: int main() { return 0; }
4: int t() { mysql_query(); return 0; }
/* end */

--------------------

have_library: checking for main() in -lm... -------------------- yes

"/usr/bin/gcc-4.0 -o conftest -I. -I/opt/local/lib/ruby/1.8/i686-darwin9.2.2 -I. -I/opt/local/include/mysql5/mysql -I/usr/local/include -I/opt/local/include -O2  -fno-common -pipe -fno-common conftest.c  -L\".\" -L\"/opt/local/lib\" -L\"/opt/local/lib/mysql5/mysql\" -L\"/usr/local/lib\" -L. -L/opt/local/lib     -lruby-static -lm  -lpthread -ldl -lobjc  "
checked program was:
/* begin */
1: /*top*/
2: int main() { return 0; }
3: int t() { void ((*volatile p)()); p = (void ((*)()))main; return 0; }
/* end */

--------------------

find_library: checking for mysql_query() in -lmysqlclient... -------------------- no

"/usr/bin/gcc-4.0 -o conftest -I. -I/opt/local/lib/ruby/1.8/i686-darwin9.2.2 -I. -I/opt/local/include/mysql5/mysql -I/usr/local/include -I/opt/local/include -O2  -fno-common -pipe -fno-common conftest.c  -L\".\" -L\"/opt/local/lib\" -L\"/opt/local/lib/mysql5/mysql\" -L\"/usr/local/lib\" -L. -L/opt/local/lib    -lm  -lruby-static -lmysqlclient -lm  -lpthread -ldl -lobjc  "
conftest.c: In function ‘t’:
conftest.c:3: error: ‘mysql_query’ undeclared (first use in this function)
conftest.c:3: error: (Each undeclared identifier is reported only once
conftest.c:3: error: for each function it appears in.)
checked program was:
/* begin */
1: /*top*/
2: int main() { return 0; }
3: int t() { void ((*volatile p)()); p = (void ((*)()))mysql_query; return 0; }
/* end */

"/usr/bin/gcc-4.0 -o conftest -I. -I/opt/local/lib/ruby/1.8/i686-darwin9.2.2 -I. -I/opt/local/include/mysql5/mysql -I/usr/local/include -I/opt/local/include -O2  -fno-common -pipe -fno-common conftest.c  -L\".\" -L\"/opt/local/lib\" -L\"/opt/local/lib/mysql5/mysql\" -L\"/usr/local/lib\" -L. -L/opt/local/lib    -lm  -lruby-static -lmysqlclient -lm  -lpthread -ldl -lobjc  "
ld: library not found for -lmysqlclient
collect2: ld returned 1 exit status
checked program was:
/* begin */
1: /*top*/
2: int main() { return 0; }
3: int t() { mysql_query(); return 0; }
/* end */

"/usr/bin/gcc-4.0 -o conftest -I. -I/opt/local/lib/ruby/1.8/i686-darwin9.2.2 -I. -I/opt/local/include/mysql5/mysql -I/usr/local/include -I/opt/local/include -O2  -fno-common -pipe -fno-common conftest.c  -L\".\" -L\"/opt/local/lib\" -L\"/opt/local/lib/mysql5/mysql\" -L\"/usr/local/lib\" -L. -L/opt/local/lib    -lm  -lruby-static -lmysqlclient -lm  -lpthread -ldl -lobjc  "
ld: library not found for -lmysqlclient
collect2: ld returned 1 exit status
checked program was:
/* begin */
1: int mysql_query();
2: /*top*/
3: int main() { return 0; }
4: int t() { mysql_query(); return 0; }
/* end */

"/usr/bin/gcc-4.0 -o conftest -I. -I/opt/local/lib/ruby/1.8/i686-darwin9.2.2 -I. -I/opt/local/include/mysql5/mysql -I/usr/local/include -I/opt/local/include -O2  -fno-common -pipe -fno-common conftest.c  -L\".\" -L\"/opt/local/lib\" -L\"/opt/local/lib/mysql5/mysql\" -L\"/usr/local/lib\" -L. -L/opt/local/lib    -lm  -lruby-static -lmysqlclient -lm  -lpthread -ldl -lobjc  "
conftest.c: In function ‘t’:
conftest.c:3: error: ‘mysql_query’ undeclared (first use in this function)
conftest.c:3: error: (Each undeclared identifier is reported only once
conftest.c:3: error: for each function it appears in.)
checked program was:
/* begin */
1: /*top*/
2: int main() { return 0; }
3: int t() { void ((*volatile p)()); p = (void ((*)()))mysql_query; return 0; }
/* end */

"/usr/bin/gcc-4.0 -o conftest -I. -I/opt/local/lib/ruby/1.8/i686-darwin9.2.2 -I. -I/opt/local/include/mysql5/mysql -I/usr/local/include -I/opt/local/include -O2  -fno-common -pipe -fno-common conftest.c  -L\".\" -L\"/opt/local/lib\" -L\"/opt/local/lib/mysql5/mysql\" -L\"/usr/local/lib\" -L. -L/opt/local/lib    -lm  -lruby-static -lmysqlclient -lm  -lpthread -ldl -lobjc  "
ld: library not found for -lmysqlclient
collect2: ld returned 1 exit status
checked program was:
/* begin */
1: /*top*/
2: int main() { return 0; }
3: int t() { mysql_query(); return 0; }
/* end */

"/usr/bin/gcc-4.0 -o conftest -I. -I/opt/local/lib/ruby/1.8/i686-darwin9.2.2 -I. -I/opt/local/include/mysql5/mysql -I/usr/local/include -I/opt/local/include -O2  -fno-common -pipe -fno-common conftest.c  -L\".\" -L\"/opt/local/lib\" -L\"/opt/local/lib/mysql5/mysql\" -L\"/usr/local/lib\" -L. -L/opt/local/lib    -lm  -lruby-static -lmysqlclient -lm  -lpthread -ldl -lobjc  "
ld: library not found for -lmysqlclient
collect2: ld returned 1 exit status
checked program was:
/* begin */
1: int mysql_query();
2: /*top*/
3: int main() { return 0; }
4: int t() { mysql_query(); return 0; }
/* end */

"/usr/bin/gcc-4.0 -o conftest -I. -I/opt/local/lib/ruby/1.8/i686-darwin9.2.2 -I. -I/opt/local/include/mysql5/mysql -I/usr/local/include -I/opt/local/include -O2  -fno-common -pipe -fno-common conftest.c  -L\".\" -L\"/opt/local/lib\" -L\"/opt/local/lib/mysql5/mysql\" -L\"/usr/local/lib\" -L. -L/opt/local/lib    -lm  -lruby-static -lmysqlclient -lm  -lpthread -ldl -lobjc  "
conftest.c: In function ‘t’:
conftest.c:3: error: ‘mysql_query’ undeclared (first use in this function)
conftest.c:3: error: (Each undeclared identifier is reported only once
conftest.c:3: error: for each function it appears in.)
checked program was:
/* begin */
1: /*top*/
2: int main() { return 0; }
3: int t() { void ((*volatile p)()); p = (void ((*)()))mysql_query; return 0; }
/* end */

"/usr/bin/gcc-4.0 -o conftest -I. -I/opt/local/lib/ruby/1.8/i686-darwin9.2.2 -I. -I/opt/local/include/mysql5/mysql -I/usr/local/include -I/opt/local/include -O2  -fno-common -pipe -fno-common conftest.c  -L\".\" -L\"/opt/local/lib\" -L\"/opt/local/lib/mysql5/mysql\" -L\"/usr/local/lib\" -L. -L/opt/local/lib    -lm  -lruby-static -lmysqlclient -lm  -lpthread -ldl -lobjc  "
ld: library not found for -lmysqlclient
collect2: ld returned 1 exit status
checked program was:
/* begin */
1: /*top*/
2: int main() { return 0; }
3: int t() { mysql_query(); return 0; }
/* end */

"/usr/bin/gcc-4.0 -o conftest -I. -I/opt/local/lib/ruby/1.8/i686-darwin9.2.2 -I. -I/opt/local/include/mysql5/mysql -I/usr/local/include -I/opt/local/include -O2  -fno-common -pipe -fno-common conftest.c  -L\".\" -L\"/opt/local/lib\" -L\"/opt/local/lib/mysql5/mysql\" -L\"/usr/local/lib\" -L. -L/opt/local/lib    -lm  -lruby-static -lmysqlclient -lm  -lpthread -ldl -lobjc  "
ld: library not found for -lmysqlclient
collect2: ld returned 1 exit status
checked program was:
/* begin */
1: int mysql_query();
2: /*top*/
3: int main() { return 0; }
4: int t() { mysql_query(); return 0; }
/* end */

"/usr/bin/gcc-4.0 -o conftest -I. -I/opt/local/lib/ruby/1.8/i686-darwin9.2.2 -I. -I/opt/local/include/mysql5/mysql -I/usr/local/include -I/opt/local/include -O2  -fno-common -pipe -fno-common conftest.c  -L\".\" -L\"/opt/local/lib\" -L\"/opt/local/lib/mysql5/mysql\" -L\"/usr/local/lib\" -L. -L/opt/local/lib    -lm  -lruby-static -lmysqlclient -lm  -lpthread -ldl -lobjc  "
conftest.c: In function ‘t’:
conftest.c:3: error: ‘mysql_query’ undeclared (first use in this function)
conftest.c:3: error: (Each undeclared identifier is reported only once
conftest.c:3: error: for each function it appears in.)
checked program was:
/* begin */
1: /*top*/
2: int main() { return 0; }
3: int t() { void ((*volatile p)()); p = (void ((*)()))mysql_query; return 0; }
/* end */

"/usr/bin/gcc-4.0 -o conftest -I. -I/opt/local/lib/ruby/1.8/i686-darwin9.2.2 -I. -I/opt/local/include/mysql5/mysql -I/usr/local/include -I/opt/local/include -O2  -fno-common -pipe -fno-common conftest.c  -L\".\" -L\"/opt/local/lib\" -L\"/opt/local/lib/mysql5/mysql\" -L\"/usr/local/lib\" -L. -L/opt/local/lib    -lm  -lruby-static -lmysqlclient -lm  -lpthread -ldl -lobjc  "
ld: library not found for -lmysqlclient
collect2: ld returned 1 exit status
checked program was:
/* begin */
1: /*top*/
2: int main() { return 0; }
3: int t() { mysql_query(); return 0; }
/* end */

"/usr/bin/gcc-4.0 -o conftest -I. -I/opt/local/lib/ruby/1.8/i686-darwin9.2.2 -I. -I/opt/local/include/mysql5/mysql -I/usr/local/include -I/opt/local/include -O2  -fno-common -pipe -fno-common conftest.c  -L\".\" -L\"/opt/local/lib\" -L\"/opt/local/lib/mysql5/mysql\" -L\"/usr/local/lib\" -L. -L/opt/local/lib    -lm  -lruby-static -lmysqlclient -lm  -lpthread -ldl -lobjc  "
ld: library not found for -lmysqlclient
collect2: ld returned 1 exit status
checked program was:
/* begin */
1: int mysql_query();
2: /*top*/
3: int main() { return 0; }
4: int t() { mysql_query(); return 0; }
/* end */

"/usr/bin/gcc-4.0 -o conftest -I. -I/opt/local/lib/ruby/1.8/i686-darwin9.2.2 -I. -I/opt/local/include/mysql5/mysql -I/usr/local/include -I/opt/local/include -O2  -fno-common -pipe -fno-common conftest.c  -L\".\" -L\"/opt/local/lib\" -L\"/opt/local/lib/mysql5/mysql\" -L\"/usr/local/lib\" -L. -L/opt/local/lib    -lm  -lruby-static -lmysqlclient -lm  -lpthread -ldl -lobjc  "
conftest.c: In function ‘t’:
conftest.c:3: error: ‘mysql_query’ undeclared (first use in this function)
conftest.c:3: error: (Each undeclared identifier is reported only once
conftest.c:3: error: for each function it appears in.)
checked program was:
/* begin */
1: /*top*/
2: int main() { return 0; }
3: int t() { void ((*volatile p)()); p = (void ((*)()))mysql_query; return 0; }
/* end */

"/usr/bin/gcc-4.0 -o conftest -I. -I/opt/local/lib/ruby/1.8/i686-darwin9.2.2 -I. -I/opt/local/include/mysql5/mysql -I/usr/local/include -I/opt/local/include -O2  -fno-common -pipe -fno-common conftest.c  -L\".\" -L\"/opt/local/lib\" -L\"/opt/local/lib/mysql5/mysql\" -L\"/usr/local/lib\" -L. -L/opt/local/lib    -lm  -lruby-static -lmysqlclient -lm  -lpthread -ldl -lobjc  "
ld: library not found for -lmysqlclient
collect2: ld returned 1 exit status
checked program was:
/* begin */
1: /*top*/
2: int main() { return 0; }
3: int t() { mysql_query(); return 0; }
/* end */

"/usr/bin/gcc-4.0 -o conftest -I. -I/opt/local/lib/ruby/1.8/i686-darwin9.2.2 -I. -I/opt/local/include/mysql5/mysql -I/usr/local/include -I/opt/local/include -O2  -fno-common -pipe -fno-common conftest.c  -L\".\" -L\"/opt/local/lib\" -L\"/opt/local/lib/mysql5/mysql\" -L\"/usr/local/lib\" -L. -L/opt/local/lib    -lm  -lruby-static -lmysqlclient -lm  -lpthread -ldl -lobjc  "
ld: library not found for -lmysqlclient
collect2: ld returned 1 exit status
checked program was:
/* begin */
1: int mysql_query();
2: /*top*/
3: int main() { return 0; }
4: int t() { mysql_query(); return 0; }
/* end */

"/usr/bin/gcc-4.0 -o conftest -I. -I/opt/local/lib/ruby/1.8/i686-darwin9.2.2 -I. -I/opt/local/include/mysql5/mysql -I/usr/local/include -I/opt/local/include -O2  -fno-common -pipe -fno-common conftest.c  -L\".\" -L\"/opt/local/lib\" -L\"/opt/local/lib/mysql5/mysql\" -L\"/usr/local/lib\" -L. -L/opt/local/lib    -lm  -lruby-static -lmysqlclient -lm  -lpthread -ldl -lobjc  "
conftest.c: In function ‘t’:
conftest.c:3: error: ‘mysql_query’ undeclared (first use in this function)
conftest.c:3: error: (Each undeclared identifier is reported only once
conftest.c:3: error: for each function it appears in.)
checked program was:
/* begin */
1: /*top*/
2: int main() { return 0; }
3: int t() { void ((*volatile p)()); p = (void ((*)()))mysql_query; return 0; }
/* end */

"/usr/bin/gcc-4.0 -o conftest -I. -I/opt/local/lib/ruby/1.8/i686-darwin9.2.2 -I. -I/opt/local/include/mysql5/mysql -I/usr/local/include -I/opt/local/include -O2  -fno-common -pipe -fno-common conftest.c  -L\".\" -L\"/opt/local/lib\" -L\"/opt/local/lib/mysql5/mysql\" -L\"/usr/local/lib\" -L. -L/opt/local/lib    -lm  -lruby-static -lmysqlclient -lm  -lpthread -ldl -lobjc  "
ld: library not found for -lmysqlclient
collect2: ld returned 1 exit status
checked program was:
/* begin */
1: /*top*/
2: int main() { return 0; }
3: int t() { mysql_query(); return 0; }
/* end */

"/usr/bin/gcc-4.0 -o conftest -I. -I/opt/local/lib/ruby/1.8/i686-darwin9.2.2 -I. -I/opt/local/include/mysql5/mysql -I/usr/local/include -I/opt/local/include -O2  -fno-common -pipe -fno-common conftest.c  -L\".\" -L\"/opt/local/lib\" -L\"/opt/local/lib/mysql5/mysql\" -L\"/usr/local/lib\" -L. -L/opt/local/lib    -lm  -lruby-static -lmysqlclient -lm  -lpthread -ldl -lobjc  "
ld: library not found for -lmysqlclient
collect2: ld returned 1 exit status
checked program was:
/* begin */
1: int mysql_query();
2: /*top*/
3: int main() { return 0; }
4: int t() { mysql_query(); return 0; }
/* end */

"/usr/bin/gcc-4.0 -o conftest -I. -I/opt/local/lib/ruby/1.8/i686-darwin9.2.2 -I. -I/opt/local/include/mysql5/mysql -I/usr/local/include -I/opt/local/include -O2  -fno-common -pipe -fno-common conftest.c  -L\".\" -L\"/opt/local/lib\" -L\"/opt/local/lib/mysql5/mysql\" -L\"/usr/local/lib\" -L\"/usr/local/lib/mysql\" -L. -L/opt/local/lib    -lm  -lruby-static -lmysqlclient -lm  -lpthread -ldl -lobjc  "
conftest.c: In function ‘t’:
conftest.c:3: error: ‘mysql_query’ undeclared (first use in this function)
conftest.c:3: error: (Each undeclared identifier is reported only once
conftest.c:3: error: for each function it appears in.)
checked program was:
/* begin */
1: /*top*/
2: int main() { return 0; }
3: int t() { void ((*volatile p)()); p = (void ((*)()))mysql_query; return 0; }
/* end */

"/usr/bin/gcc-4.0 -o conftest -I. -I/opt/local/lib/ruby/1.8/i686-darwin9.2.2 -I. -I/opt/local/include/mysql5/mysql -I/usr/local/include -I/opt/local/include -O2  -fno-common -pipe -fno-common conftest.c  -L\".\" -L\"/opt/local/lib\" -L\"/opt/local/lib/mysql5/mysql\" -L\"/usr/local/lib\" -L\"/usr/local/lib/mysql\" -L. -L/opt/local/lib    -lm  -lruby-static -lmysqlclient -lm  -lpthread -ldl -lobjc  "
ld: library not found for -lmysqlclient
collect2: ld returned 1 exit status
checked program was:
/* begin */
1: /*top*/
2: int main() { return 0; }
3: int t() { mysql_query(); return 0; }
/* end */

"/usr/bin/gcc-4.0 -o conftest -I. -I/opt/local/lib/ruby/1.8/i686-darwin9.2.2 -I. -I/opt/local/include/mysql5/mysql -I/usr/local/include -I/opt/local/include -O2  -fno-common -pipe -fno-common conftest.c  -L\".\" -L\"/opt/local/lib\" -L\"/opt/local/lib/mysql5/mysql\" -L\"/usr/local/lib\" -L\"/usr/local/lib/mysql\" -L. -L/opt/local/lib    -lm  -lruby-static -lmysqlclient -lm  -lpthread -ldl -lobjc  "
ld: library not found for -lmysqlclient
collect2: ld returned 1 exit status
checked program was:
/* begin */
1: int mysql_query();
2: /*top*/
3: int main() { return 0; }
4: int t() { mysql_query(); return 0; }
/* end */

--------------------

have_library: checking for main() in -lz... -------------------- yes

"/usr/bin/gcc-4.0 -o conftest -I. -I/opt/local/lib/ruby/1.8/i686-darwin9.2.2 -I. -I/opt/local/include/mysql5/mysql -I/usr/local/include -I/opt/local/include -O2  -fno-common -pipe -fno-common conftest.c  -L\".\" -L\"/opt/local/lib\" -L\"/opt/local/lib/mysql5/mysql\" -L\"/usr/local/lib\" -L. -L/opt/local/lib    -lm  -lruby-static -lz -lm  -lpthread -ldl -lobjc  "
checked program was:
/* begin */
1: /*top*/
2: int main() { return 0; }
3: int t() { void ((*volatile p)()); p = (void ((*)()))main; return 0; }
/* end */

--------------------

find_library: checking for mysql_query() in -lmysqlclient... -------------------- no

"/usr/bin/gcc-4.0 -o conftest -I. -I/opt/local/lib/ruby/1.8/i686-darwin9.2.2 -I. -I/opt/local/include/mysql5/mysql -I/usr/local/include -I/opt/local/include -O2  -fno-common -pipe -fno-common conftest.c  -L\".\" -L\"/opt/local/lib\" -L\"/opt/local/lib/mysql5/mysql\" -L\"/usr/local/lib\" -L. -L/opt/local/lib    -lz -lm  -lruby-static -lmysqlclient -lz -lm  -lpthread -ldl -lobjc  "
conftest.c: In function ‘t’:
conftest.c:3: error: ‘mysql_query’ undeclared (first use in this function)
conftest.c:3: error: (Each undeclared identifier is reported only once
conftest.c:3: error: for each function it appears in.)
checked program was:
/* begin */
1: /*top*/
2: int main() { return 0; }
3: int t() { void ((*volatile p)()); p = (void ((*)()))mysql_query; return 0; }
/* end */

"/usr/bin/gcc-4.0 -o conftest -I. -I/opt/local/lib/ruby/1.8/i686-darwin9.2.2 -I. -I/opt/local/include/mysql5/mysql -I/usr/local/include -I/opt/local/include -O2  -fno-common -pipe -fno-common conftest.c  -L\".\" -L\"/opt/local/lib\" -L\"/opt/local/lib/mysql5/mysql\" -L\"/usr/local/lib\" -L. -L/opt/local/lib    -lz -lm  -lruby-static -lmysqlclient -lz -lm  -lpthread -ldl -lobjc  "
ld: library not found for -lmysqlclient
collect2: ld returned 1 exit status
checked program was:
/* begin */
1: /*top*/
2: int main() { return 0; }
3: int t() { mysql_query(); return 0; }
/* end */

"/usr/bin/gcc-4.0 -o conftest -I. -I/opt/local/lib/ruby/1.8/i686-darwin9.2.2 -I. -I/opt/local/include/mysql5/mysql -I/usr/local/include -I/opt/local/include -O2  -fno-common -pipe -fno-common conftest.c  -L\".\" -L\"/opt/local/lib\" -L\"/opt/local/lib/mysql5/mysql\" -L\"/usr/local/lib\" -L. -L/opt/local/lib    -lz -lm  -lruby-static -lmysqlclient -lz -lm  -lpthread -ldl -lobjc  "
ld: library not found for -lmysqlclient
collect2: ld returned 1 exit status
checked program was:
/* begin */
1: int mysql_query();
2: /*top*/
3: int main() { return 0; }
4: int t() { mysql_query(); return 0; }
/* end */

"/usr/bin/gcc-4.0 -o conftest -I. -I/opt/local/lib/ruby/1.8/i686-darwin9.2.2 -I. -I/opt/local/include/mysql5/mysql -I/usr/local/include -I/opt/local/include -O2  -fno-common -pipe -fno-common conftest.c  -L\".\" -L\"/opt/local/lib\" -L\"/opt/local/lib/mysql5/mysql\" -L\"/usr/local/lib\" -L. -L/opt/local/lib    -lz -lm  -lruby-static -lmysqlclient -lz -lm  -lpthread -ldl -lobjc  "
conftest.c: In function ‘t’:
conftest.c:3: error: ‘mysql_query’ undeclared (first use in this function)
conftest.c:3: error: (Each undeclared identifier is reported only once
conftest.c:3: error: for each function it appears in.)
checked program was:
/* begin */
1: /*top*/
2: int main() { return 0; }
3: int t() { void ((*volatile p)()); p = (void ((*)()))mysql_query; return 0; }
/* end */

"/usr/bin/gcc-4.0 -o conftest -I. -I/opt/local/lib/ruby/1.8/i686-darwin9.2.2 -I. -I/opt/local/include/mysql5/mysql -I/usr/local/include -I/opt/local/include -O2  -fno-common -pipe -fno-common conftest.c  -L\".\" -L\"/opt/local/lib\" -L\"/opt/local/lib/mysql5/mysql\" -L\"/usr/local/lib\" -L. -L/opt/local/lib    -lz -lm  -lruby-static -lmysqlclient -lz -lm  -lpthread -ldl -lobjc  "
ld: library not found for -lmysqlclient
collect2: ld returned 1 exit status
checked program was:
/* begin */
1: /*top*/
2: int main() { return 0; }
3: int t() { mysql_query(); return 0; }
/* end */

"/usr/bin/gcc-4.0 -o conftest -I. -I/opt/local/lib/ruby/1.8/i686-darwin9.2.2 -I. -I/opt/local/include/mysql5/mysql -I/usr/local/include -I/opt/local/include -O2  -fno-common -pipe -fno-common conftest.c  -L\".\" -L\"/opt/local/lib\" -L\"/opt/local/lib/mysql5/mysql\" -L\"/usr/local/lib\" -L. -L/opt/local/lib    -lz -lm  -lruby-static -lmysqlclient -lz -lm  -lpthread -ldl -lobjc  "
ld: library not found for -lmysqlclient
collect2: ld returned 1 exit status
checked program was:
/* begin */
1: int mysql_query();
2: /*top*/
3: int main() { return 0; }
4: int t() { mysql_query(); return 0; }
/* end */

"/usr/bin/gcc-4.0 -o conftest -I. -I/opt/local/lib/ruby/1.8/i686-darwin9.2.2 -I. -I/opt/local/include/mysql5/mysql -I/usr/local/include -I/opt/local/include -O2  -fno-common -pipe -fno-common conftest.c  -L\".\" -L\"/opt/local/lib\" -L\"/opt/local/lib/mysql5/mysql\" -L\"/usr/local/lib\" -L. -L/opt/local/lib    -lz -lm  -lruby-static -lmysqlclient -lz -lm  -lpthread -ldl -lobjc  "
conftest.c: In function ‘t’:
conftest.c:3: error: ‘mysql_query’ undeclared (first use in this function)
conftest.c:3: error: (Each undeclared identifier is reported only once
conftest.c:3: error: for each function it appears in.)
checked program was:
/* begin */
1: /*top*/
2: int main() { return 0; }
3: int t() { void ((*volatile p)()); p = (void ((*)()))mysql_query; return 0; }
/* end */

"/usr/bin/gcc-4.0 -o conftest -I. -I/opt/local/lib/ruby/1.8/i686-darwin9.2.2 -I. -I/opt/local/include/mysql5/mysql -I/usr/local/include -I/opt/local/include -O2  -fno-common -pipe -fno-common conftest.c  -L\".\" -L\"/opt/local/lib\" -L\"/opt/local/lib/mysql5/mysql\" -L\"/usr/local/lib\" -L. -L/opt/local/lib    -lz -lm  -lruby-static -lmysqlclient -lz -lm  -lpthread -ldl -lobjc  "
ld: library not found for -lmysqlclient
collect2: ld returned 1 exit status
checked program was:
/* begin */
1: /*top*/
2: int main() { return 0; }
3: int t() { mysql_query(); return 0; }
/* end */

"/usr/bin/gcc-4.0 -o conftest -I. -I/opt/local/lib/ruby/1.8/i686-darwin9.2.2 -I. -I/opt/local/include/mysql5/mysql -I/usr/local/include -I/opt/local/include -O2  -fno-common -pipe -fno-common conftest.c  -L\".\" -L\"/opt/local/lib\" -L\"/opt/local/lib/mysql5/mysql\" -L\"/usr/local/lib\" -L. -L/opt/local/lib    -lz -lm  -lruby-static -lmysqlclient -lz -lm  -lpthread -ldl -lobjc  "
ld: library not found for -lmysqlclient
collect2: ld returned 1 exit status
checked program was:
/* begin */
1: int mysql_query();
2: /*top*/
3: int main() { return 0; }
4: int t() { mysql_query(); return 0; }
/* end */

"/usr/bin/gcc-4.0 -o conftest -I. -I/opt/local/lib/ruby/1.8/i686-darwin9.2.2 -I. -I/opt/local/include/mysql5/mysql -I/usr/local/include -I/opt/local/include -O2  -fno-common -pipe -fno-common conftest.c  -L\".\" -L\"/opt/local/lib\" -L\"/opt/local/lib/mysql5/mysql\" -L\"/usr/local/lib\" -L. -L/opt/local/lib    -lz -lm  -lruby-static -lmysqlclient -lz -lm  -lpthread -ldl -lobjc  "
conftest.c: In function ‘t’:
conftest.c:3: error: ‘mysql_query’ undeclared (first use in this function)
conftest.c:3: error: (Each undeclared identifier is reported only once
conftest.c:3: error: for each function it appears in.)
checked program was:
/* begin */
1: /*top*/
2: int main() { return 0; }
3: int t() { void ((*volatile p)()); p = (void ((*)()))mysql_query; return 0; }
/* end */

"/usr/bin/gcc-4.0 -o conftest -I. -I/opt/local/lib/ruby/1.8/i686-darwin9.2.2 -I. -I/opt/local/include/mysql5/mysql -I/usr/local/include -I/opt/local/include -O2  -fno-common -pipe -fno-common conftest.c  -L\".\" -L\"/opt/local/lib\" -L\"/opt/local/lib/mysql5/mysql\" -L\"/usr/local/lib\" -L. -L/opt/local/lib    -lz -lm  -lruby-static -lmysqlclient -lz -lm  -lpthread -ldl -lobjc  "
ld: library not found for -lmysqlclient
collect2: ld returned 1 exit status
checked program was:
/* begin */
1: /*top*/
2: int main() { return 0; }
3: int t() { mysql_query(); return 0; }
/* end */

"/usr/bin/gcc-4.0 -o conftest -I. -I/opt/local/lib/ruby/1.8/i686-darwin9.2.2 -I. -I/opt/local/include/mysql5/mysql -I/usr/local/include -I/opt/local/include -O2  -fno-common -pipe -fno-common conftest.c  -L\".\" -L\"/opt/local/lib\" -L\"/opt/local/lib/mysql5/mysql\" -L\"/usr/local/lib\" -L. -L/opt/local/lib    -lz -lm  -lruby-static -lmysqlclient -lz -lm  -lpthread -ldl -lobjc  "
ld: library not found for -lmysqlclient
collect2: ld returned 1 exit status
checked program was:
/* begin */
1: int mysql_query();
2: /*top*/
3: int main() { return 0; }
4: int t() { mysql_query(); return 0; }
/* end */

"/usr/bin/gcc-4.0 -o conftest -I. -I/opt/local/lib/ruby/1.8/i686-darwin9.2.2 -I. -I/opt/local/include/mysql5/mysql -I/usr/local/include -I/opt/local/include -O2  -fno-common -pipe -fno-common conftest.c  -L\".\" -L\"/opt/local/lib\" -L\"/opt/local/lib/mysql5/mysql\" -L\"/usr/local/lib\" -L. -L/opt/local/lib    -lz -lm  -lruby-static -lmysqlclient -lz -lm  -lpthread -ldl -lobjc  "
conftest.c: In function ‘t’:
conftest.c:3: error: ‘mysql_query’ undeclared (first use in this function)
conftest.c:3: error: (Each undeclared identifier is reported only once
conftest.c:3: error: for each function it appears in.)
checked program was:
/* begin */
1: /*top*/
2: int main() { return 0; }
3: int t() { void ((*volatile p)()); p = (void ((*)()))mysql_query; return 0; }
/* end */

"/usr/bin/gcc-4.0 -o conftest -I. -I/opt/local/lib/ruby/1.8/i686-darwin9.2.2 -I. -I/opt/local/include/mysql5/mysql -I/usr/local/include -I/opt/local/include -O2  -fno-common -pipe -fno-common conftest.c  -L\".\" -L\"/opt/local/lib\" -L\"/opt/local/lib/mysql5/mysql\" -L\"/usr/local/lib\" -L. -L/opt/local/lib    -lz -lm  -lruby-static -lmysqlclient -lz -lm  -lpthread -ldl -lobjc  "
ld: library not found for -lmysqlclient
collect2: ld returned 1 exit status
checked program was:
/* begin */
1: /*top*/
2: int main() { return 0; }
3: int t() { mysql_query(); return 0; }
/* end */

"/usr/bin/gcc-4.0 -o conftest -I. -I/opt/local/lib/ruby/1.8/i686-darwin9.2.2 -I. -I/opt/local/include/mysql5/mysql -I/usr/local/include -I/opt/local/include -O2  -fno-common -pipe -fno-common conftest.c  -L\".\" -L\"/opt/local/lib\" -L\"/opt/local/lib/mysql5/mysql\" -L\"/usr/local/lib\" -L. -L/opt/local/lib    -lz -lm  -lruby-static -lmysqlclient -lz -lm  -lpthread -ldl -lobjc  "
ld: library not found for -lmysqlclient
collect2: ld returned 1 exit status
checked program was:
/* begin */
1: int mysql_query();
2: /*top*/
3: int main() { return 0; }
4: int t() { mysql_query(); return 0; }
/* end */

"/usr/bin/gcc-4.0 -o conftest -I. -I/opt/local/lib/ruby/1.8/i686-darwin9.2.2 -I. -I/opt/local/include/mysql5/mysql -I/usr/local/include -I/opt/local/include -O2  -fno-common -pipe -fno-common conftest.c  -L\".\" -L\"/opt/local/lib\" -L\"/opt/local/lib/mysql5/mysql\" -L\"/usr/local/lib\" -L. -L/opt/local/lib    -lz -lm  -lruby-static -lmysqlclient -lz -lm  -lpthread -ldl -lobjc  "
conftest.c: In function ‘t’:
conftest.c:3: error: ‘mysql_query’ undeclared (first use in this function)
conftest.c:3: error: (Each undeclared identifier is reported only once
conftest.c:3: error: for each function it appears in.)
checked program was:
/* begin */
1: /*top*/
2: int main() { return 0; }
3: int t() { void ((*volatile p)()); p = (void ((*)()))mysql_query; return 0; }
/* end */

"/usr/bin/gcc-4.0 -o conftest -I. -I/opt/local/lib/ruby/1.8/i686-darwin9.2.2 -I. -I/opt/local/include/mysql5/mysql -I/usr/local/include -I/opt/local/include -O2  -fno-common -pipe -fno-common conftest.c  -L\".\" -L\"/opt/local/lib\" -L\"/opt/local/lib/mysql5/mysql\" -L\"/usr/local/lib\" -L. -L/opt/local/lib    -lz -lm  -lruby-static -lmysqlclient -lz -lm  -lpthread -ldl -lobjc  "
ld: library not found for -lmysqlclient
collect2: ld returned 1 exit status
checked program was:
/* begin */
1: /*top*/
2: int main() { return 0; }
3: int t() { mysql_query(); return 0; }
/* end */

"/usr/bin/gcc-4.0 -o conftest -I. -I/opt/local/lib/ruby/1.8/i686-darwin9.2.2 -I. -I/opt/local/include/mysql5/mysql -I/usr/local/include -I/opt/local/include -O2  -fno-common -pipe -fno-common conftest.c  -L\".\" -L\"/opt/local/lib\" -L\"/opt/local/lib/mysql5/mysql\" -L\"/usr/local/lib\" -L. -L/opt/local/lib    -lz -lm  -lruby-static -lmysqlclient -lz -lm  -lpthread -ldl -lobjc  "
ld: library not found for -lmysqlclient
collect2: ld returned 1 exit status
checked program was:
/* begin */
1: int mysql_query();
2: /*top*/
3: int main() { return 0; }
4: int t() { mysql_query(); return 0; }
/* end */

"/usr/bin/gcc-4.0 -o conftest -I. -I/opt/local/lib/ruby/1.8/i686-darwin9.2.2 -I. -I/opt/local/include/mysql5/mysql -I/usr/local/include -I/opt/local/include -O2  -fno-common -pipe -fno-common conftest.c  -L\".\" -L\"/opt/local/lib\" -L\"/opt/local/lib/mysql5/mysql\" -L\"/usr/local/lib\" -L\"/usr/local/lib/mysql\" -L. -L/opt/local/lib    -lz -lm  -lruby-static -lmysqlclient -lz -lm  -lpthread -ldl -lobjc  "
conftest.c: In function ‘t’:
conftest.c:3: error: ‘mysql_query’ undeclared (first use in this function)
conftest.c:3: error: (Each undeclared identifier is reported only once
conftest.c:3: error: for each function it appears in.)
checked program was:
/* begin */
1: /*top*/
2: int main() { return 0; }
3: int t() { void ((*volatile p)()); p = (void ((*)()))mysql_query; return 0; }
/* end */

"/usr/bin/gcc-4.0 -o conftest -I. -I/opt/local/lib/ruby/1.8/i686-darwin9.2.2 -I. -I/opt/local/include/mysql5/mysql -I/usr/local/include -I/opt/local/include -O2  -fno-common -pipe -fno-common conftest.c  -L\".\" -L\"/opt/local/lib\" -L\"/opt/local/lib/mysql5/mysql\" -L\"/usr/local/lib\" -L\"/usr/local/lib/mysql\" -L. -L/opt/local/lib    -lz -lm  -lruby-static -lmysqlclient -lz -lm  -lpthread -ldl -lobjc  "
ld: library not found for -lmysqlclient
collect2: ld returned 1 exit status
checked program was:
/* begin */
1: /*top*/
2: int main() { return 0; }
3: int t() { mysql_query(); return 0; }
/* end */

"/usr/bin/gcc-4.0 -o conftest -I. -I/opt/local/lib/ruby/1.8/i686-darwin9.2.2 -I. -I/opt/local/include/mysql5/mysql -I/usr/local/include -I/opt/local/include -O2  -fno-common -pipe -fno-common conftest.c  -L\".\" -L\"/opt/local/lib\" -L\"/opt/local/lib/mysql5/mysql\" -L\"/usr/local/lib\" -L\"/usr/local/lib/mysql\" -L. -L/opt/local/lib    -lz -lm  -lruby-static -lmysqlclient -lz -lm  -lpthread -ldl -lobjc  "
ld: library not found for -lmysqlclient
collect2: ld returned 1 exit status
checked program was:
/* begin */
1: int mysql_query();
2: /*top*/
3: int main() { return 0; }
4: int t() { mysql_query(); return 0; }
/* end */

--------------------

have_library: checking for main() in -lsocket... -------------------- no

"/usr/bin/gcc-4.0 -o conftest -I. -I/opt/local/lib/ruby/1.8/i686-darwin9.2.2 -I. -I/opt/local/include/mysql5/mysql -I/usr/local/include -I/opt/local/include -O2  -fno-common -pipe -fno-common conftest.c  -L\".\" -L\"/opt/local/lib\" -L\"/opt/local/lib/mysql5/mysql\" -L\"/usr/local/lib\" -L. -L/opt/local/lib    -lz -lm  -lruby-static -lsocket -lz -lm  -lpthread -ldl -lobjc  "
ld: library not found for -lsocket
collect2: ld returned 1 exit status
checked program was:
/* begin */
1: /*top*/
2: int main() { return 0; }
3: int t() { void ((*volatile p)()); p = (void ((*)()))main; return 0; }
/* end */

"/usr/bin/gcc-4.0 -o conftest -I. -I/opt/local/lib/ruby/1.8/i686-darwin9.2.2 -I. -I/opt/local/include/mysql5/mysql -I/usr/local/include -I/opt/local/include -O2  -fno-common -pipe -fno-common conftest.c  -L\".\" -L\"/opt/local/lib\" -L\"/opt/local/lib/mysql5/mysql\" -L\"/usr/local/lib\" -L. -L/opt/local/lib    -lz -lm  -lruby-static -lsocket -lz -lm  -lpthread -ldl -lobjc  "
ld: library not found for -lsocket
collect2: ld returned 1 exit status
checked program was:
/* begin */
1: /*top*/
2: int main() { return 0; }
3: int t() { main(); return 0; }
/* end */

"/usr/bin/gcc-4.0 -o conftest -I. -I/opt/local/lib/ruby/1.8/i686-darwin9.2.2 -I. -I/opt/local/include/mysql5/mysql -I/usr/local/include -I/opt/local/include -O2  -fno-common -pipe -fno-common conftest.c  -L\".\" -L\"/opt/local/lib\" -L\"/opt/local/lib/mysql5/mysql\" -L\"/usr/local/lib\" -L. -L/opt/local/lib    -lz -lm  -lruby-static -lsocket -lz -lm  -lpthread -ldl -lobjc  "
ld: library not found for -lsocket
collect2: ld returned 1 exit status
checked program was:
/* begin */
1: int main();
2: /*top*/
3: int main() { return 0; }
4: int t() { main(); return 0; }
/* end */

--------------------

find_library: checking for mysql_query() in -lmysqlclient... -------------------- no

"/usr/bin/gcc-4.0 -o conftest -I. -I/opt/local/lib/ruby/1.8/i686-darwin9.2.2 -I. -I/opt/local/include/mysql5/mysql -I/usr/local/include -I/opt/local/include -O2  -fno-common -pipe -fno-common conftest.c  -L\".\" -L\"/opt/local/lib\" -L\"/opt/local/lib/mysql5/mysql\" -L\"/usr/local/lib\" -L. -L/opt/local/lib    -lz -lm  -lruby-static -lmysqlclient -lz -lm  -lpthread -ldl -lobjc  "
conftest.c: In function ‘t’:
conftest.c:3: error: ‘mysql_query’ undeclared (first use in this function)
conftest.c:3: error: (Each undeclared identifier is reported only once
conftest.c:3: error: for each function it appears in.)
checked program was:
/* begin */
1: /*top*/
2: int main() { return 0; }
3: int t() { void ((*volatile p)()); p = (void ((*)()))mysql_query; return 0; }
/* end */

"/usr/bin/gcc-4.0 -o conftest -I. -I/opt/local/lib/ruby/1.8/i686-darwin9.2.2 -I. -I/opt/local/include/mysql5/mysql -I/usr/local/include -I/opt/local/include -O2  -fno-common -pipe -fno-common conftest.c  -L\".\" -L\"/opt/local/lib\" -L\"/opt/local/lib/mysql5/mysql\" -L\"/usr/local/lib\" -L. -L/opt/local/lib    -lz -lm  -lruby-static -lmysqlclient -lz -lm  -lpthread -ldl -lobjc  "
ld: library not found for -lmysqlclient
collect2: ld returned 1 exit status
checked program was:
/* begin */
1: /*top*/
2: int main() { return 0; }
3: int t() { mysql_query(); return 0; }
/* end */

"/usr/bin/gcc-4.0 -o conftest -I. -I/opt/local/lib/ruby/1.8/i686-darwin9.2.2 -I. -I/opt/local/include/mysql5/mysql -I/usr/local/include -I/opt/local/include -O2  -fno-common -pipe -fno-common conftest.c  -L\".\" -L\"/opt/local/lib\" -L\"/opt/local/lib/mysql5/mysql\" -L\"/usr/local/lib\" -L. -L/opt/local/lib    -lz -lm  -lruby-static -lmysqlclient -lz -lm  -lpthread -ldl -lobjc  "
ld: library not found for -lmysqlclient
collect2: ld returned 1 exit status
checked program was:
/* begin */
1: int mysql_query();
2: /*top*/
3: int main() { return 0; }
4: int t() { mysql_query(); return 0; }
/* end */

"/usr/bin/gcc-4.0 -o conftest -I. -I/opt/local/lib/ruby/1.8/i686-darwin9.2.2 -I. -I/opt/local/include/mysql5/mysql -I/usr/local/include -I/opt/local/include -O2  -fno-common -pipe -fno-common conftest.c  -L\".\" -L\"/opt/local/lib\" -L\"/opt/local/lib/mysql5/mysql\" -L\"/usr/local/lib\" -L. -L/opt/local/lib    -lz -lm  -lruby-static -lmysqlclient -lz -lm  -lpthread -ldl -lobjc  "
conftest.c: In function ‘t’:
conftest.c:3: error: ‘mysql_query’ undeclared (first use in this function)
conftest.c:3: error: (Each undeclared identifier is reported only once
conftest.c:3: error: for each function it appears in.)
checked program was:
/* begin */
1: /*top*/
2: int main() { return 0; }
3: int t() { void ((*volatile p)()); p = (void ((*)()))mysql_query; return 0; }
/* end */

"/usr/bin/gcc-4.0 -o conftest -I. -I/opt/local/lib/ruby/1.8/i686-darwin9.2.2 -I. -I/opt/local/include/mysql5/mysql -I/usr/local/include -I/opt/local/include -O2  -fno-common -pipe -fno-common conftest.c  -L\".\" -L\"/opt/local/lib\" -L\"/opt/local/lib/mysql5/mysql\" -L\"/usr/local/lib\" -L. -L/opt/local/lib    -lz -lm  -lruby-static -lmysqlclient -lz -lm  -lpthread -ldl -lobjc  "
ld: library not found for -lmysqlclient
collect2: ld returned 1 exit status
checked program was:
/* begin */
1: /*top*/
2: int main() { return 0; }
3: int t() { mysql_query(); return 0; }
/* end */

"/usr/bin/gcc-4.0 -o conftest -I. -I/opt/local/lib/ruby/1.8/i686-darwin9.2.2 -I. -I/opt/local/include/mysql5/mysql -I/usr/local/include -I/opt/local/include -O2  -fno-common -pipe -fno-common conftest.c  -L\".\" -L\"/opt/local/lib\" -L\"/opt/local/lib/mysql5/mysql\" -L\"/usr/local/lib\" -L. -L/opt/local/lib    -lz -lm  -lruby-static -lmysqlclient -lz -lm  -lpthread -ldl -lobjc  "
ld: library not found for -lmysqlclient
collect2: ld returned 1 exit status
checked program was:
/* begin */
1: int mysql_query();
2: /*top*/
3: int main() { return 0; }
4: int t() { mysql_query(); return 0; }
/* end */

"/usr/bin/gcc-4.0 -o conftest -I. -I/opt/local/lib/ruby/1.8/i686-darwin9.2.2 -I. -I/opt/local/include/mysql5/mysql -I/usr/local/include -I/opt/local/include -O2  -fno-common -pipe -fno-common conftest.c  -L\".\" -L\"/opt/local/lib\" -L\"/opt/local/lib/mysql5/mysql\" -L\"/usr/local/lib\" -L. -L/opt/local/lib    -lz -lm  -lruby-static -lmysqlclient -lz -lm  -lpthread -ldl -lobjc  "
conftest.c: In function ‘t’:
conftest.c:3: error: ‘mysql_query’ undeclared (first use in this function)
conftest.c:3: error: (Each undeclared identifier is reported only once
conftest.c:3: error: for each function it appears in.)
checked program was:
/* begin */
1: /*top*/
2: int main() { return 0; }
3: int t() { void ((*volatile p)()); p = (void ((*)()))mysql_query; return 0; }
/* end */

"/usr/bin/gcc-4.0 -o conftest -I. -I/opt/local/lib/ruby/1.8/i686-darwin9.2.2 -I. -I/opt/local/include/mysql5/mysql -I/usr/local/include -I/opt/local/include -O2  -fno-common -pipe -fno-common conftest.c  -L\".\" -L\"/opt/local/lib\" -L\"/opt/local/lib/mysql5/mysql\" -L\"/usr/local/lib\" -L. -L/opt/local/lib    -lz -lm  -lruby-static -lmysqlclient -lz -lm  -lpthread -ldl -lobjc  "
ld: library not found for -lmysqlclient
collect2: ld returned 1 exit status
checked program was:
/* begin */
1: /*top*/
2: int main() { return 0; }
3: int t() { mysql_query(); return 0; }
/* end */

"/usr/bin/gcc-4.0 -o conftest -I. -I/opt/local/lib/ruby/1.8/i686-darwin9.2.2 -I. -I/opt/local/include/mysql5/mysql -I/usr/local/include -I/opt/local/include -O2  -fno-common -pipe -fno-common conftest.c  -L\".\" -L\"/opt/local/lib\" -L\"/opt/local/lib/mysql5/mysql\" -L\"/usr/local/lib\" -L. -L/opt/local/lib    -lz -lm  -lruby-static -lmysqlclient -lz -lm  -lpthread -ldl -lobjc  "
ld: library not found for -lmysqlclient
collect2: ld returned 1 exit status
checked program was:
/* begin */
1: int mysql_query();
2: /*top*/
3: int main() { return 0; }
4: int t() { mysql_query(); return 0; }
/* end */

"/usr/bin/gcc-4.0 -o conftest -I. -I/opt/local/lib/ruby/1.8/i686-darwin9.2.2 -I. -I/opt/local/include/mysql5/mysql -I/usr/local/include -I/opt/local/include -O2  -fno-common -pipe -fno-common conftest.c  -L\".\" -L\"/opt/local/lib\" -L\"/opt/local/lib/mysql5/mysql\" -L\"/usr/local/lib\" -L. -L/opt/local/lib    -lz -lm  -lruby-static -lmysqlclient -lz -lm  -lpthread -ldl -lobjc  "
conftest.c: In function ‘t’:
conftest.c:3: error: ‘mysql_query’ undeclared (first use in this function)
conftest.c:3: error: (Each undeclared identifier is reported only once
conftest.c:3: error: for each function it appears in.)
checked program was:
/* begin */
1: /*top*/
2: int main() { return 0; }
3: int t() { void ((*volatile p)()); p = (void ((*)()))mysql_query; return 0; }
/* end */

"/usr/bin/gcc-4.0 -o conftest -I. -I/opt/local/lib/ruby/1.8/i686-darwin9.2.2 -I. -I/opt/local/include/mysql5/mysql -I/usr/local/include -I/opt/local/include -O2  -fno-common -pipe -fno-common conftest.c  -L\".\" -L\"/opt/local/lib\" -L\"/opt/local/lib/mysql5/mysql\" -L\"/usr/local/lib\" -L. -L/opt/local/lib    -lz -lm  -lruby-static -lmysqlclient -lz -lm  -lpthread -ldl -lobjc  "
ld: library not found for -lmysqlclient
collect2: ld returned 1 exit status
checked program was:
/* begin */
1: /*top*/
2: int main() { return 0; }
3: int t() { mysql_query(); return 0; }
/* end */

"/usr/bin/gcc-4.0 -o conftest -I. -I/opt/local/lib/ruby/1.8/i686-darwin9.2.2 -I. -I/opt/local/include/mysql5/mysql -I/usr/local/include -I/opt/local/include -O2  -fno-common -pipe -fno-common conftest.c  -L\".\" -L\"/opt/local/lib\" -L\"/opt/local/lib/mysql5/mysql\" -L\"/usr/local/lib\" -L. -L/opt/local/lib    -lz -lm  -lruby-static -lmysqlclient -lz -lm  -lpthread -ldl -lobjc  "
ld: library not found for -lmysqlclient
collect2: ld returned 1 exit status
checked program was:
/* begin */
1: int mysql_query();
2: /*top*/
3: int main() { return 0; }
4: int t() { mysql_query(); return 0; }
/* end */

"/usr/bin/gcc-4.0 -o conftest -I. -I/opt/local/lib/ruby/1.8/i686-darwin9.2.2 -I. -I/opt/local/include/mysql5/mysql -I/usr/local/include -I/opt/local/include -O2  -fno-common -pipe -fno-common conftest.c  -L\".\" -L\"/opt/local/lib\" -L\"/opt/local/lib/mysql5/mysql\" -L\"/usr/local/lib\" -L. -L/opt/local/lib    -lz -lm  -lruby-static -lmysqlclient -lz -lm  -lpthread -ldl -lobjc  "
conftest.c: In function ‘t’:
conftest.c:3: error: ‘mysql_query’ undeclared (first use in this function)
conftest.c:3: error: (Each undeclared identifier is reported only once
conftest.c:3: error: for each function it appears in.)
checked program was:
/* begin */
1: /*top*/
2: int main() { return 0; }
3: int t() { void ((*volatile p)()); p = (void ((*)()))mysql_query; return 0; }
/* end */

"/usr/bin/gcc-4.0 -o conftest -I. -I/opt/local/lib/ruby/1.8/i686-darwin9.2.2 -I. -I/opt/local/include/mysql5/mysql -I/usr/local/include -I/opt/local/include -O2  -fno-common -pipe -fno-common conftest.c  -L\".\" -L\"/opt/local/lib\" -L\"/opt/local/lib/mysql5/mysql\" -L\"/usr/local/lib\" -L. -L/opt/local/lib    -lz -lm  -lruby-static -lmysqlclient -lz -lm  -lpthread -ldl -lobjc  "
ld: library not found for -lmysqlclient
collect2: ld returned 1 exit status
checked program was:
/* begin */
1: /*top*/
2: int main() { return 0; }
3: int t() { mysql_query(); return 0; }
/* end */

"/usr/bin/gcc-4.0 -o conftest -I. -I/opt/local/lib/ruby/1.8/i686-darwin9.2.2 -I. -I/opt/local/include/mysql5/mysql -I/usr/local/include -I/opt/local/include -O2  -fno-common -pipe -fno-common conftest.c  -L\".\" -L\"/opt/local/lib\" -L\"/opt/local/lib/mysql5/mysql\" -L\"/usr/local/lib\" -L. -L/opt/local/lib    -lz -lm  -lruby-static -lmysqlclient -lz -lm  -lpthread -ldl -lobjc  "
ld: library not found for -lmysqlclient
collect2: ld returned 1 exit status
checked program was:
/* begin */
1: int mysql_query();
2: /*top*/
3: int main() { return 0; }
4: int t() { mysql_query(); return 0; }
/* end */

"/usr/bin/gcc-4.0 -o conftest -I. -I/opt/local/lib/ruby/1.8/i686-darwin9.2.2 -I. -I/opt/local/include/mysql5/mysql -I/usr/local/include -I/opt/local/include -O2  -fno-common -pipe -fno-common conftest.c  -L\".\" -L\"/opt/local/lib\" -L\"/opt/local/lib/mysql5/mysql\" -L\"/usr/local/lib\" -L. -L/opt/local/lib    -lz -lm  -lruby-static -lmysqlclient -lz -lm  -lpthread -ldl -lobjc  "
conftest.c: In function ‘t’:
conftest.c:3: error: ‘mysql_query’ undeclared (first use in this function)
conftest.c:3: error: (Each undeclared identifier is reported only once
conftest.c:3: error: for each function it appears in.)
checked program was:
/* begin */
1: /*top*/
2: int main() { return 0; }
3: int t() { void ((*volatile p)()); p = (void ((*)()))mysql_query; return 0; }
/* end */

"/usr/bin/gcc-4.0 -o conftest -I. -I/opt/local/lib/ruby/1.8/i686-darwin9.2.2 -I. -I/opt/local/include/mysql5/mysql -I/usr/local/include -I/opt/local/include -O2  -fno-common -pipe -fno-common conftest.c  -L\".\" -L\"/opt/local/lib\" -L\"/opt/local/lib/mysql5/mysql\" -L\"/usr/local/lib\" -L. -L/opt/local/lib    -lz -lm  -lruby-static -lmysqlclient -lz -lm  -lpthread -ldl -lobjc  "
ld: library not found for -lmysqlclient
collect2: ld returned 1 exit status
checked program was:
/* begin */
1: /*top*/
2: int main() { return 0; }
3: int t() { mysql_query(); return 0; }
/* end */

"/usr/bin/gcc-4.0 -o conftest -I. -I/opt/local/lib/ruby/1.8/i686-darwin9.2.2 -I. -I/opt/local/include/mysql5/mysql -I/usr/local/include -I/opt/local/include -O2  -fno-common -pipe -fno-common conftest.c  -L\".\" -L\"/opt/local/lib\" -L\"/opt/local/lib/mysql5/mysql\" -L\"/usr/local/lib\" -L. -L/opt/local/lib    -lz -lm  -lruby-static -lmysqlclient -lz -lm  -lpthread -ldl -lobjc  "
ld: library not found for -lmysqlclient
collect2: ld returned 1 exit status
checked program was:
/* begin */
1: int mysql_query();
2: /*top*/
3: int main() { return 0; }
4: int t() { mysql_query(); return 0; }
/* end */

"/usr/bin/gcc-4.0 -o conftest -I. -I/opt/local/lib/ruby/1.8/i686-darwin9.2.2 -I. -I/opt/local/include/mysql5/mysql -I/usr/local/include -I/opt/local/include -O2  -fno-common -pipe -fno-common conftest.c  -L\".\" -L\"/opt/local/lib\" -L\"/opt/local/lib/mysql5/mysql\" -L\"/usr/local/lib\" -L\"/usr/local/lib/mysql\" -L. -L/opt/local/lib    -lz -lm  -lruby-static -lmysqlclient -lz -lm  -lpthread -ldl -lobjc  "
conftest.c: In function ‘t’:
conftest.c:3: error: ‘mysql_query’ undeclared (first use in this function)
conftest.c:3: error: (Each undeclared identifier is reported only once
conftest.c:3: error: for each function it appears in.)
checked program was:
/* begin */
1: /*top*/
2: int main() { return 0; }
3: int t() { void ((*volatile p)()); p = (void ((*)()))mysql_query; return 0; }
/* end */

"/usr/bin/gcc-4.0 -o conftest -I. -I/opt/local/lib/ruby/1.8/i686-darwin9.2.2 -I. -I/opt/local/include/mysql5/mysql -I/usr/local/include -I/opt/local/include -O2  -fno-common -pipe -fno-common conftest.c  -L\".\" -L\"/opt/local/lib\" -L\"/opt/local/lib/mysql5/mysql\" -L\"/usr/local/lib\" -L\"/usr/local/lib/mysql\" -L. -L/opt/local/lib    -lz -lm  -lruby-static -lmysqlclient -lz -lm  -lpthread -ldl -lobjc  "
ld: library not found for -lmysqlclient
collect2: ld returned 1 exit status
checked program was:
/* begin */
1: /*top*/
2: int main() { return 0; }
3: int t() { mysql_query(); return 0; }
/* end */

"/usr/bin/gcc-4.0 -o conftest -I. -I/opt/local/lib/ruby/1.8/i686-darwin9.2.2 -I. -I/opt/local/include/mysql5/mysql -I/usr/local/include -I/opt/local/include -O2  -fno-common -pipe -fno-common conftest.c  -L\".\" -L\"/opt/local/lib\" -L\"/opt/local/lib/mysql5/mysql\" -L\"/usr/local/lib\" -L\"/usr/local/lib/mysql\" -L. -L/opt/local/lib    -lz -lm  -lruby-static -lmysqlclient -lz -lm  -lpthread -ldl -lobjc  "
ld: library not found for -lmysqlclient
collect2: ld returned 1 exit status
checked program was:
/* begin */
1: int mysql_query();
2: /*top*/
3: int main() { return 0; }
4: int t() { mysql_query(); return 0; }
/* end */

--------------------

have_library: checking for main() in -lnsl... -------------------- no

"/usr/bin/gcc-4.0 -o conftest -I. -I/opt/local/lib/ruby/1.8/i686-darwin9.2.2 -I. -I/opt/local/include/mysql5/mysql -I/usr/local/include -I/opt/local/include -O2  -fno-common -pipe -fno-common conftest.c  -L\".\" -L\"/opt/local/lib\" -L\"/opt/local/lib/mysql5/mysql\" -L\"/usr/local/lib\" -L. -L/opt/local/lib    -lz -lm  -lruby-static -lnsl -lz -lm  -lpthread -ldl -lobjc  "
ld: library not found for -lnsl
collect2: ld returned 1 exit status
checked program was:
/* begin */
1: /*top*/
2: int main() { return 0; }
3: int t() { void ((*volatile p)()); p = (void ((*)()))main; return 0; }
/* end */

"/usr/bin/gcc-4.0 -o conftest -I. -I/opt/local/lib/ruby/1.8/i686-darwin9.2.2 -I. -I/opt/local/include/mysql5/mysql -I/usr/local/include -I/opt/local/include -O2  -fno-common -pipe -fno-common conftest.c  -L\".\" -L\"/opt/local/lib\" -L\"/opt/local/lib/mysql5/mysql\" -L\"/usr/local/lib\" -L. -L/opt/local/lib    -lz -lm  -lruby-static -lnsl -lz -lm  -lpthread -ldl -lobjc  "
ld: library not found for -lnsl
collect2: ld returned 1 exit status
checked program was:
/* begin */
1: /*top*/
2: int main() { return 0; }
3: int t() { main(); return 0; }
/* end */

"/usr/bin/gcc-4.0 -o conftest -I. -I/opt/local/lib/ruby/1.8/i686-darwin9.2.2 -I. -I/opt/local/include/mysql5/mysql -I/usr/local/include -I/opt/local/include -O2  -fno-common -pipe -fno-common conftest.c  -L\".\" -L\"/opt/local/lib\" -L\"/opt/local/lib/mysql5/mysql\" -L\"/usr/local/lib\" -L. -L/opt/local/lib    -lz -lm  -lruby-static -lnsl -lz -lm  -lpthread -ldl -lobjc  "
ld: library not found for -lnsl
collect2: ld returned 1 exit status
checked program was:
/* begin */
1: int main();
2: /*top*/
3: int main() { return 0; }
4: int t() { main(); return 0; }
/* end */

--------------------

find_library: checking for mysql_query() in -lmysqlclient... -------------------- no

"/usr/bin/gcc-4.0 -o conftest -I. -I/opt/local/lib/ruby/1.8/i686-darwin9.2.2 -I. -I/opt/local/include/mysql5/mysql -I/usr/local/include -I/opt/local/include -O2  -fno-common -pipe -fno-common conftest.c  -L\".\" -L\"/opt/local/lib\" -L\"/opt/local/lib/mysql5/mysql\" -L\"/usr/local/lib\" -L. -L/opt/local/lib    -lz -lm  -lruby-static -lmysqlclient -lz -lm  -lpthread -ldl -lobjc  "
conftest.c: In function ‘t’:
conftest.c:3: error: ‘mysql_query’ undeclared (first use in this function)
conftest.c:3: error: (Each undeclared identifier is reported only once
conftest.c:3: error: for each function it appears in.)
checked program was:
/* begin */
1: /*top*/
2: int main() { return 0; }
3: int t() { void ((*volatile p)()); p = (void ((*)()))mysql_query; return 0; }
/* end */

"/usr/bin/gcc-4.0 -o conftest -I. -I/opt/local/lib/ruby/1.8/i686-darwin9.2.2 -I. -I/opt/local/include/mysql5/mysql -I/usr/local/include -I/opt/local/include -O2  -fno-common -pipe -fno-common conftest.c  -L\".\" -L\"/opt/local/lib\" -L\"/opt/local/lib/mysql5/mysql\" -L\"/usr/local/lib\" -L. -L/opt/local/lib    -lz -lm  -lruby-static -lmysqlclient -lz -lm  -lpthread -ldl -lobjc  "
ld: library not found for -lmysqlclient
collect2: ld returned 1 exit status
checked program was:
/* begin */
1: /*top*/
2: int main() { return 0; }
3: int t() { mysql_query(); return 0; }
/* end */

"/usr/bin/gcc-4.0 -o conftest -I. -I/opt/local/lib/ruby/1.8/i686-darwin9.2.2 -I. -I/opt/local/include/mysql5/mysql -I/usr/local/include -I/opt/local/include -O2  -fno-common -pipe -fno-common conftest.c  -L\".\" -L\"/opt/local/lib\" -L\"/opt/local/lib/mysql5/mysql\" -L\"/usr/local/lib\" -L. -L/opt/local/lib    -lz -lm  -lruby-static -lmysqlclient -lz -lm  -lpthread -ldl -lobjc  "
ld: library not found for -lmysqlclient
collect2: ld returned 1 exit status
checked program was:
/* begin */
1: int mysql_query();
2: /*top*/
3: int main() { return 0; }
4: int t() { mysql_query(); return 0; }
/* end */

"/usr/bin/gcc-4.0 -o conftest -I. -I/opt/local/lib/ruby/1.8/i686-darwin9.2.2 -I. -I/opt/local/include/mysql5/mysql -I/usr/local/include -I/opt/local/include -O2  -fno-common -pipe -fno-common conftest.c  -L\".\" -L\"/opt/local/lib\" -L\"/opt/local/lib/mysql5/mysql\" -L\"/usr/local/lib\" -L. -L/opt/local/lib    -lz -lm  -lruby-static -lmysqlclient -lz -lm  -lpthread -ldl -lobjc  "
conftest.c: In function ‘t’:
conftest.c:3: error: ‘mysql_query’ undeclared (first use in this function)
conftest.c:3: error: (Each undeclared identifier is reported only once
conftest.c:3: error: for each function it appears in.)
checked program was:
/* begin */
1: /*top*/
2: int main() { return 0; }
3: int t() { void ((*volatile p)()); p = (void ((*)()))mysql_query; return 0; }
/* end */

"/usr/bin/gcc-4.0 -o conftest -I. -I/opt/local/lib/ruby/1.8/i686-darwin9.2.2 -I. -I/opt/local/include/mysql5/mysql -I/usr/local/include -I/opt/local/include -O2  -fno-common -pipe -fno-common conftest.c  -L\".\" -L\"/opt/local/lib\" -L\"/opt/local/lib/mysql5/mysql\" -L\"/usr/local/lib\" -L. -L/opt/local/lib    -lz -lm  -lruby-static -lmysqlclient -lz -lm  -lpthread -ldl -lobjc  "
ld: library not found for -lmysqlclient
collect2: ld returned 1 exit status
checked program was:
/* begin */
1: /*top*/
2: int main() { return 0; }
3: int t() { mysql_query(); return 0; }
/* end */

"/usr/bin/gcc-4.0 -o conftest -I. -I/opt/local/lib/ruby/1.8/i686-darwin9.2.2 -I. -I/opt/local/include/mysql5/mysql -I/usr/local/include -I/opt/local/include -O2  -fno-common -pipe -fno-common conftest.c  -L\".\" -L\"/opt/local/lib\" -L\"/opt/local/lib/mysql5/mysql\" -L\"/usr/local/lib\" -L. -L/opt/local/lib    -lz -lm  -lruby-static -lmysqlclient -lz -lm  -lpthread -ldl -lobjc  "
ld: library not found for -lmysqlclient
collect2: ld returned 1 exit status
checked program was:
/* begin */
1: int mysql_query();
2: /*top*/
3: int main() { return 0; }
4: int t() { mysql_query(); return 0; }
/* end */

"/usr/bin/gcc-4.0 -o conftest -I. -I/opt/local/lib/ruby/1.8/i686-darwin9.2.2 -I. -I/opt/local/include/mysql5/mysql -I/usr/local/include -I/opt/local/include -O2  -fno-common -pipe -fno-common conftest.c  -L\".\" -L\"/opt/local/lib\" -L\"/opt/local/lib/mysql5/mysql\" -L\"/usr/local/lib\" -L. -L/opt/local/lib    -lz -lm  -lruby-static -lmysqlclient -lz -lm  -lpthread -ldl -lobjc  "
conftest.c: In function ‘t’:
conftest.c:3: error: ‘mysql_query’ undeclared (first use in this function)
conftest.c:3: error: (Each undeclared identifier is reported only once
conftest.c:3: error: for each function it appears in.)
checked program was:
/* begin */
1: /*top*/
2: int main() { return 0; }
3: int t() { void ((*volatile p)()); p = (void ((*)()))mysql_query; return 0; }
/* end */

"/usr/bin/gcc-4.0 -o conftest -I. -I/opt/local/lib/ruby/1.8/i686-darwin9.2.2 -I. -I/opt/local/include/mysql5/mysql -I/usr/local/include -I/opt/local/include -O2  -fno-common -pipe -fno-common conftest.c  -L\".\" -L\"/opt/local/lib\" -L\"/opt/local/lib/mysql5/mysql\" -L\"/usr/local/lib\" -L. -L/opt/local/lib    -lz -lm  -lruby-static -lmysqlclient -lz -lm  -lpthread -ldl -lobjc  "
ld: library not found for -lmysqlclient
collect2: ld returned 1 exit status
checked program was:
/* begin */
1: /*top*/
2: int main() { return 0; }
3: int t() { mysql_query(); return 0; }
/* end */

"/usr/bin/gcc-4.0 -o conftest -I. -I/opt/local/lib/ruby/1.8/i686-darwin9.2.2 -I. -I/opt/local/include/mysql5/mysql -I/usr/local/include -I/opt/local/include -O2  -fno-common -pipe -fno-common conftest.c  -L\".\" -L\"/opt/local/lib\" -L\"/opt/local/lib/mysql5/mysql\" -L\"/usr/local/lib\" -L. -L/opt/local/lib    -lz -lm  -lruby-static -lmysqlclient -lz -lm  -lpthread -ldl -lobjc  "
ld: library not found for -lmysqlclient
collect2: ld returned 1 exit status
checked program was:
/* begin */
1: int mysql_query();
2: /*top*/
3: int main() { return 0; }
4: int t() { mysql_query(); return 0; }
/* end */

"/usr/bin/gcc-4.0 -o conftest -I. -I/opt/local/lib/ruby/1.8/i686-darwin9.2.2 -I. -I/opt/local/include/mysql5/mysql -I/usr/local/include -I/opt/local/include -O2  -fno-common -pipe -fno-common conftest.c  -L\".\" -L\"/opt/local/lib\" -L\"/opt/local/lib/mysql5/mysql\" -L\"/usr/local/lib\" -L. -L/opt/local/lib    -lz -lm  -lruby-static -lmysqlclient -lz -lm  -lpthread -ldl -lobjc  "
conftest.c: In function ‘t’:
conftest.c:3: error: ‘mysql_query’ undeclared (first use in this function)
conftest.c:3: error: (Each undeclared identifier is reported only once
conftest.c:3: error: for each function it appears in.)
checked program was:
/* begin */
1: /*top*/
2: int main() { return 0; }
3: int t() { void ((*volatile p)()); p = (void ((*)()))mysql_query; return 0; }
/* end */

"/usr/bin/gcc-4.0 -o conftest -I. -I/opt/local/lib/ruby/1.8/i686-darwin9.2.2 -I. -I/opt/local/include/mysql5/mysql -I/usr/local/include -I/opt/local/include -O2  -fno-common -pipe -fno-common conftest.c  -L\".\" -L\"/opt/local/lib\" -L\"/opt/local/lib/mysql5/mysql\" -L\"/usr/local/lib\" -L. -L/opt/local/lib    -lz -lm  -lruby-static -lmysqlclient -lz -lm  -lpthread -ldl -lobjc  "
ld: library not found for -lmysqlclient
collect2: ld returned 1 exit status
checked program was:
/* begin */
1: /*top*/
2: int main() { return 0; }
3: int t() { mysql_query(); return 0; }
/* end */

"/usr/bin/gcc-4.0 -o conftest -I. -I/opt/local/lib/ruby/1.8/i686-darwin9.2.2 -I. -I/opt/local/include/mysql5/mysql -I/usr/local/include -I/opt/local/include -O2  -fno-common -pipe -fno-common conftest.c  -L\".\" -L\"/opt/local/lib\" -L\"/opt/local/lib/mysql5/mysql\" -L\"/usr/local/lib\" -L. -L/opt/local/lib    -lz -lm  -lruby-static -lmysqlclient -lz -lm  -lpthread -ldl -lobjc  "
ld: library not found for -lmysqlclient
collect2: ld returned 1 exit status
checked program was:
/* begin */
1: int mysql_query();
2: /*top*/
3: int main() { return 0; }
4: int t() { mysql_query(); return 0; }
/* end */

"/usr/bin/gcc-4.0 -o conftest -I. -I/opt/local/lib/ruby/1.8/i686-darwin9.2.2 -I. -I/opt/local/include/mysql5/mysql -I/usr/local/include -I/opt/local/include -O2  -fno-common -pipe -fno-common conftest.c  -L\".\" -L\"/opt/local/lib\" -L\"/opt/local/lib/mysql5/mysql\" -L\"/usr/local/lib\" -L. -L/opt/local/lib    -lz -lm  -lruby-static -lmysqlclient -lz -lm  -lpthread -ldl -lobjc  "
conftest.c: In function ‘t’:
conftest.c:3: error: ‘mysql_query’ undeclared (first use in this function)
conftest.c:3: error: (Each undeclared identifier is reported only once
conftest.c:3: error: for each function it appears in.)
checked program was:
/* begin */
1: /*top*/
2: int main() { return 0; }
3: int t() { void ((*volatile p)()); p = (void ((*)()))mysql_query; return 0; }
/* end */

"/usr/bin/gcc-4.0 -o conftest -I. -I/opt/local/lib/ruby/1.8/i686-darwin9.2.2 -I. -I/opt/local/include/mysql5/mysql -I/usr/local/include -I/opt/local/include -O2  -fno-common -pipe -fno-common conftest.c  -L\".\" -L\"/opt/local/lib\" -L\"/opt/local/lib/mysql5/mysql\" -L\"/usr/local/lib\" -L. -L/opt/local/lib    -lz -lm  -lruby-static -lmysqlclient -lz -lm  -lpthread -ldl -lobjc  "
ld: library not found for -lmysqlclient
collect2: ld returned 1 exit status
checked program was:
/* begin */
1: /*top*/
2: int main() { return 0; }
3: int t() { mysql_query(); return 0; }
/* end */

"/usr/bin/gcc-4.0 -o conftest -I. -I/opt/local/lib/ruby/1.8/i686-darwin9.2.2 -I. -I/opt/local/include/mysql5/mysql -I/usr/local/include -I/opt/local/include -O2  -fno-common -pipe -fno-common conftest.c  -L\".\" -L\"/opt/local/lib\" -L\"/opt/local/lib/mysql5/mysql\" -L\"/usr/local/lib\" -L. -L/opt/local/lib    -lz -lm  -lruby-static -lmysqlclient -lz -lm  -lpthread -ldl -lobjc  "
ld: library not found for -lmysqlclient
collect2: ld returned 1 exit status
checked program was:
/* begin */
1: int mysql_query();
2: /*top*/
3: int main() { return 0; }
4: int t() { mysql_query(); return 0; }
/* end */

"/usr/bin/gcc-4.0 -o conftest -I. -I/opt/local/lib/ruby/1.8/i686-darwin9.2.2 -I. -I/opt/local/include/mysql5/mysql -I/usr/local/include -I/opt/local/include -O2  -fno-common -pipe -fno-common conftest.c  -L\".\" -L\"/opt/local/lib\" -L\"/opt/local/lib/mysql5/mysql\" -L\"/usr/local/lib\" -L. -L/opt/local/lib    -lz -lm  -lruby-static -lmysqlclient -lz -lm  -lpthread -ldl -lobjc  "
conftest.c: In function ‘t’:
conftest.c:3: error: ‘mysql_query’ undeclared (first use in this function)
conftest.c:3: error: (Each undeclared identifier is reported only once
conftest.c:3: error: for each function it appears in.)
checked program was:
/* begin */
1: /*top*/
2: int main() { return 0; }
3: int t() { void ((*volatile p)()); p = (void ((*)()))mysql_query; return 0; }
/* end */

"/usr/bin/gcc-4.0 -o conftest -I. -I/opt/local/lib/ruby/1.8/i686-darwin9.2.2 -I. -I/opt/local/include/mysql5/mysql -I/usr/local/include -I/opt/local/include -O2  -fno-common -pipe -fno-common conftest.c  -L\".\" -L\"/opt/local/lib\" -L\"/opt/local/lib/mysql5/mysql\" -L\"/usr/local/lib\" -L. -L/opt/local/lib    -lz -lm  -lruby-static -lmysqlclient -lz -lm  -lpthread -ldl -lobjc  "
ld: library not found for -lmysqlclient
collect2: ld returned 1 exit status
checked program was:
/* begin */
1: /*top*/
2: int main() { return 0; }
3: int t() { mysql_query(); return 0; }
/* end */

"/usr/bin/gcc-4.0 -o conftest -I. -I/opt/local/lib/ruby/1.8/i686-darwin9.2.2 -I. -I/opt/local/include/mysql5/mysql -I/usr/local/include -I/opt/local/include -O2  -fno-common -pipe -fno-common conftest.c  -L\".\" -L\"/opt/local/lib\" -L\"/opt/local/lib/mysql5/mysql\" -L\"/usr/local/lib\" -L. -L/opt/local/lib    -lz -lm  -lruby-static -lmysqlclient -lz -lm  -lpthread -ldl -lobjc  "
ld: library not found for -lmysqlclient
collect2: ld returned 1 exit status
checked program was:
/* begin */
1: int mysql_query();
2: /*top*/
3: int main() { return 0; }
4: int t() { mysql_query(); return 0; }
/* end */

"/usr/bin/gcc-4.0 -o conftest -I. -I/opt/local/lib/ruby/1.8/i686-darwin9.2.2 -I. -I/opt/local/include/mysql5/mysql -I/usr/local/include -I/opt/local/include -O2  -fno-common -pipe -fno-common conftest.c  -L\".\" -L\"/opt/local/lib\" -L\"/opt/local/lib/mysql5/mysql\" -L\"/usr/local/lib\" -L\"/usr/local/lib/mysql\" -L. -L/opt/local/lib    -lz -lm  -lruby-static -lmysqlclient -lz -lm  -lpthread -ldl -lobjc  "
conftest.c: In function ‘t’:
conftest.c:3: error: ‘mysql_query’ undeclared (first use in this function)
conftest.c:3: error: (Each undeclared identifier is reported only once
conftest.c:3: error: for each function it appears in.)
checked program was:
/* begin */
1: /*top*/
2: int main() { return 0; }
3: int t() { void ((*volatile p)()); p = (void ((*)()))mysql_query; return 0; }
/* end */

"/usr/bin/gcc-4.0 -o conftest -I. -I/opt/local/lib/ruby/1.8/i686-darwin9.2.2 -I. -I/opt/local/include/mysql5/mysql -I/usr/local/include -I/opt/local/include -O2  -fno-common -pipe -fno-common conftest.c  -L\".\" -L\"/opt/local/lib\" -L\"/opt/local/lib/mysql5/mysql\" -L\"/usr/local/lib\" -L\"/usr/local/lib/mysql\" -L. -L/opt/local/lib    -lz -lm  -lruby-static -lmysqlclient -lz -lm  -lpthread -ldl -lobjc  "
ld: library not found for -lmysqlclient
collect2: ld returned 1 exit status
checked program was:
/* begin */
1: /*top*/
2: int main() { return 0; }
3: int t() { mysql_query(); return 0; }
/* end */

"/usr/bin/gcc-4.0 -o conftest -I. -I/opt/local/lib/ruby/1.8/i686-darwin9.2.2 -I. -I/opt/local/include/mysql5/mysql -I/usr/local/include -I/opt/local/include -O2  -fno-common -pipe -fno-common conftest.c  -L\".\" -L\"/opt/local/lib\" -L\"/opt/local/lib/mysql5/mysql\" -L\"/usr/local/lib\" -L\"/usr/local/lib/mysql\" -L. -L/opt/local/lib    -lz -lm  -lruby-static -lmysqlclient -lz -lm  -lpthread -ldl -lobjc  "
ld: library not found for -lmysqlclient
collect2: ld returned 1 exit status
checked program was:
/* begin */
1: int mysql_query();
2: /*top*/
3: int main() { return 0; }
4: int t() { mysql_query(); return 0; }
/* end */

--------------------

have_library: checking for main() in -lmygcc... -------------------- no

"/usr/bin/gcc-4.0 -o conftest -I. -I/opt/local/lib/ruby/1.8/i686-darwin9.2.2 -I. -I/opt/local/include/mysql5/mysql -I/usr/local/include -I/opt/local/include -O2  -fno-common -pipe -fno-common conftest.c  -L\".\" -L\"/opt/local/lib\" -L\"/opt/local/lib/mysql5/mysql\" -L\"/usr/local/lib\" -L. -L/opt/local/lib    -lz -lm  -lruby-static -lmygcc -lz -lm  -lpthread -ldl -lobjc  "
ld: library not found for -lmygcc
collect2: ld returned 1 exit status
checked program was:
/* begin */
1: /*top*/
2: int main() { return 0; }
3: int t() { void ((*volatile p)()); p = (void ((*)()))main; return 0; }
/* end */

"/usr/bin/gcc-4.0 -o conftest -I. -I/opt/local/lib/ruby/1.8/i686-darwin9.2.2 -I. -I/opt/local/include/mysql5/mysql -I/usr/local/include -I/opt/local/include -O2  -fno-common -pipe -fno-common conftest.c  -L\".\" -L\"/opt/local/lib\" -L\"/opt/local/lib/mysql5/mysql\" -L\"/usr/local/lib\" -L. -L/opt/local/lib    -lz -lm  -lruby-static -lmygcc -lz -lm  -lpthread -ldl -lobjc  "
ld: library not found for -lmygcc
collect2: ld returned 1 exit status
checked program was:
/* begin */
1: /*top*/
2: int main() { return 0; }
3: int t() { main(); return 0; }
/* end */

"/usr/bin/gcc-4.0 -o conftest -I. -I/opt/local/lib/ruby/1.8/i686-darwin9.2.2 -I. -I/opt/local/include/mysql5/mysql -I/usr/local/include -I/opt/local/include -O2  -fno-common -pipe -fno-common conftest.c  -L\".\" -L\"/opt/local/lib\" -L\"/opt/local/lib/mysql5/mysql\" -L\"/usr/local/lib\" -L. -L/opt/local/lib    -lz -lm  -lruby-static -lmygcc -lz -lm  -lpthread -ldl -lobjc  "
ld: library not found for -lmygcc
collect2: ld returned 1 exit status
checked program was:
/* begin */
1: int main();
2: /*top*/
3: int main() { return 0; }
4: int t() { main(); return 0; }
/* end */

--------------------

find_library: checking for mysql_query() in -lmysqlclient... -------------------- no

"/usr/bin/gcc-4.0 -o conftest -I. -I/opt/local/lib/ruby/1.8/i686-darwin9.2.2 -I. -I/opt/local/include/mysql5/mysql -I/usr/local/include -I/opt/local/include -O2  -fno-common -pipe -fno-common conftest.c  -L\".\" -L\"/opt/local/lib\" -L\"/opt/local/lib/mysql5/mysql\" -L\"/usr/local/lib\" -L. -L/opt/local/lib    -lz -lm  -lruby-static -lmysqlclient -lz -lm  -lpthread -ldl -lobjc  "
conftest.c: In function ‘t’:
conftest.c:3: error: ‘mysql_query’ undeclared (first use in this function)
conftest.c:3: error: (Each undeclared identifier is reported only once
conftest.c:3: error: for each function it appears in.)
checked program was:
/* begin */
1: /*top*/
2: int main() { return 0; }
3: int t() { void ((*volatile p)()); p = (void ((*)()))mysql_query; return 0; }
/* end */

"/usr/bin/gcc-4.0 -o conftest -I. -I/opt/local/lib/ruby/1.8/i686-darwin9.2.2 -I. -I/opt/local/include/mysql5/mysql -I/usr/local/include -I/opt/local/include -O2  -fno-common -pipe -fno-common conftest.c  -L\".\" -L\"/opt/local/lib\" -L\"/opt/local/lib/mysql5/mysql\" -L\"/usr/local/lib\" -L. -L/opt/local/lib    -lz -lm  -lruby-static -lmysqlclient -lz -lm  -lpthread -ldl -lobjc  "
ld: library not found for -lmysqlclient
collect2: ld returned 1 exit status
checked program was:
/* begin */
1: /*top*/
2: int main() { return 0; }
3: int t() { mysql_query(); return 0; }
/* end */

"/usr/bin/gcc-4.0 -o conftest -I. -I/opt/local/lib/ruby/1.8/i686-darwin9.2.2 -I. -I/opt/local/include/mysql5/mysql -I/usr/local/include -I/opt/local/include -O2  -fno-common -pipe -fno-common conftest.c  -L\".\" -L\"/opt/local/lib\" -L\"/opt/local/lib/mysql5/mysql\" -L\"/usr/local/lib\" -L. -L/opt/local/lib    -lz -lm  -lruby-static -lmysqlclient -lz -lm  -lpthread -ldl -lobjc  "
ld: library not found for -lmysqlclient
collect2: ld returned 1 exit status
checked program was:
/* begin */
1: int mysql_query();
2: /*top*/
3: int main() { return 0; }
4: int t() { mysql_query(); return 0; }
/* end */

"/usr/bin/gcc-4.0 -o conftest -I. -I/opt/local/lib/ruby/1.8/i686-darwin9.2.2 -I. -I/opt/local/include/mysql5/mysql -I/usr/local/include -I/opt/local/include -O2  -fno-common -pipe -fno-common conftest.c  -L\".\" -L\"/opt/local/lib\" -L\"/opt/local/lib/mysql5/mysql\" -L\"/usr/local/lib\" -L. -L/opt/local/lib    -lz -lm  -lruby-static -lmysqlclient -lz -lm  -lpthread -ldl -lobjc  "
conftest.c: In function ‘t’:
conftest.c:3: error: ‘mysql_query’ undeclared (first use in this function)
conftest.c:3: error: (Each undeclared identifier is reported only once
conftest.c:3: error: for each function it appears in.)
checked program was:
/* begin */
1: /*top*/
2: int main() { return 0; }
3: int t() { void ((*volatile p)()); p = (void ((*)()))mysql_query; return 0; }
/* end */

"/usr/bin/gcc-4.0 -o conftest -I. -I/opt/local/lib/ruby/1.8/i686-darwin9.2.2 -I. -I/opt/local/include/mysql5/mysql -I/usr/local/include -I/opt/local/include -O2  -fno-common -pipe -fno-common conftest.c  -L\".\" -L\"/opt/local/lib\" -L\"/opt/local/lib/mysql5/mysql\" -L\"/usr/local/lib\" -L. -L/opt/local/lib    -lz -lm  -lruby-static -lmysqlclient -lz -lm  -lpthread -ldl -lobjc  "
ld: library not found for -lmysqlclient
collect2: ld returned 1 exit status
checked program was:
/* begin */
1: /*top*/
2: int main() { return 0; }
3: int t() { mysql_query(); return 0; }
/* end */

"/usr/bin/gcc-4.0 -o conftest -I. -I/opt/local/lib/ruby/1.8/i686-darwin9.2.2 -I. -I/opt/local/include/mysql5/mysql -I/usr/local/include -I/opt/local/include -O2  -fno-common -pipe -fno-common conftest.c  -L\".\" -L\"/opt/local/lib\" -L\"/opt/local/lib/mysql5/mysql\" -L\"/usr/local/lib\" -L. -L/opt/local/lib    -lz -lm  -lruby-static -lmysqlclient -lz -lm  -lpthread -ldl -lobjc  "
ld: library not found for -lmysqlclient
collect2: ld returned 1 exit status
checked program was:
/* begin */
1: int mysql_query();
2: /*top*/
3: int main() { return 0; }
4: int t() { mysql_query(); return 0; }
/* end */

"/usr/bin/gcc-4.0 -o conftest -I. -I/opt/local/lib/ruby/1.8/i686-darwin9.2.2 -I. -I/opt/local/include/mysql5/mysql -I/usr/local/include -I/opt/local/include -O2  -fno-common -pipe -fno-common conftest.c  -L\".\" -L\"/opt/local/lib\" -L\"/opt/local/lib/mysql5/mysql\" -L\"/usr/local/lib\" -L. -L/opt/local/lib    -lz -lm  -lruby-static -lmysqlclient -lz -lm  -lpthread -ldl -lobjc  "
conftest.c: In function ‘t’:
conftest.c:3: error: ‘mysql_query’ undeclared (first use in this function)
conftest.c:3: error: (Each undeclared identifier is reported only once
conftest.c:3: error: for each function it appears in.)
checked program was:
/* begin */
1: /*top*/
2: int main() { return 0; }
3: int t() { void ((*volatile p)()); p = (void ((*)()))mysql_query; return 0; }
/* end */

"/usr/bin/gcc-4.0 -o conftest -I. -I/opt/local/lib/ruby/1.8/i686-darwin9.2.2 -I. -I/opt/local/include/mysql5/mysql -I/usr/local/include -I/opt/local/include -O2  -fno-common -pipe -fno-common conftest.c  -L\".\" -L\"/opt/local/lib\" -L\"/opt/local/lib/mysql5/mysql\" -L\"/usr/local/lib\" -L. -L/opt/local/lib    -lz -lm  -lruby-static -lmysqlclient -lz -lm  -lpthread -ldl -lobjc  "
ld: library not found for -lmysqlclient
collect2: ld returned 1 exit status
checked program was:
/* begin */
1: /*top*/
2: int main() { return 0; }
3: int t() { mysql_query(); return 0; }
/* end */

"/usr/bin/gcc-4.0 -o conftest -I. -I/opt/local/lib/ruby/1.8/i686-darwin9.2.2 -I. -I/opt/local/include/mysql5/mysql -I/usr/local/include -I/opt/local/include -O2  -fno-common -pipe -fno-common conftest.c  -L\".\" -L\"/opt/local/lib\" -L\"/opt/local/lib/mysql5/mysql\" -L\"/usr/local/lib\" -L. -L/opt/local/lib    -lz -lm  -lruby-static -lmysqlclient -lz -lm  -lpthread -ldl -lobjc  "
ld: library not found for -lmysqlclient
collect2: ld returned 1 exit status
checked program was:
/* begin */
1: int mysql_query();
2: /*top*/
3: int main() { return 0; }
4: int t() { mysql_query(); return 0; }
/* end */

"/usr/bin/gcc-4.0 -o conftest -I. -I/opt/local/lib/ruby/1.8/i686-darwin9.2.2 -I. -I/opt/local/include/mysql5/mysql -I/usr/local/include -I/opt/local/include -O2  -fno-common -pipe -fno-common conftest.c  -L\".\" -L\"/opt/local/lib\" -L\"/opt/local/lib/mysql5/mysql\" -L\"/usr/local/lib\" -L. -L/opt/local/lib    -lz -lm  -lruby-static -lmysqlclient -lz -lm  -lpthread -ldl -lobjc  "
conftest.c: In function ‘t’:
conftest.c:3: error: ‘mysql_query’ undeclared (first use in this function)
conftest.c:3: error: (Each undeclared identifier is reported only once
conftest.c:3: error: for each function it appears in.)
checked program was:
/* begin */
1: /*top*/
2: int main() { return 0; }
3: int t() { void ((*volatile p)()); p = (void ((*)()))mysql_query; return 0; }
/* end */

"/usr/bin/gcc-4.0 -o conftest -I. -I/opt/local/lib/ruby/1.8/i686-darwin9.2.2 -I. -I/opt/local/include/mysql5/mysql -I/usr/local/include -I/opt/local/include -O2  -fno-common -pipe -fno-common conftest.c  -L\".\" -L\"/opt/local/lib\" -L\"/opt/local/lib/mysql5/mysql\" -L\"/usr/local/lib\" -L. -L/opt/local/lib    -lz -lm  -lruby-static -lmysqlclient -lz -lm  -lpthread -ldl -lobjc  "
ld: library not found for -lmysqlclient
collect2: ld returned 1 exit status
checked program was:
/* begin */
1: /*top*/
2: int main() { return 0; }
3: int t() { mysql_query(); return 0; }
/* end */

"/usr/bin/gcc-4.0 -o conftest -I. -I/opt/local/lib/ruby/1.8/i686-darwin9.2.2 -I. -I/opt/local/include/mysql5/mysql -I/usr/local/include -I/opt/local/include -O2  -fno-common -pipe -fno-common conftest.c  -L\".\" -L\"/opt/local/lib\" -L\"/opt/local/lib/mysql5/mysql\" -L\"/usr/local/lib\" -L. -L/opt/local/lib    -lz -lm  -lruby-static -lmysqlclient -lz -lm  -lpthread -ldl -lobjc  "
ld: library not found for -lmysqlclient
collect2: ld returned 1 exit status
checked program was:
/* begin */
1: int mysql_query();
2: /*top*/
3: int main() { return 0; }
4: int t() { mysql_query(); return 0; }
/* end */

"/usr/bin/gcc-4.0 -o conftest -I. -I/opt/local/lib/ruby/1.8/i686-darwin9.2.2 -I. -I/opt/local/include/mysql5/mysql -I/usr/local/include -I/opt/local/include -O2  -fno-common -pipe -fno-common conftest.c  -L\".\" -L\"/opt/local/lib\" -L\"/opt/local/lib/mysql5/mysql\" -L\"/usr/local/lib\" -L. -L/opt/local/lib    -lz -lm  -lruby-static -lmysqlclient -lz -lm  -lpthread -ldl -lobjc  "
conftest.c: In function ‘t’:
conftest.c:3: error: ‘mysql_query’ undeclared (first use in this function)
conftest.c:3: error: (Each undeclared identifier is reported only once
conftest.c:3: error: for each function it appears in.)
checked program was:
/* begin */
1: /*top*/
2: int main() { return 0; }
3: int t() { void ((*volatile p)()); p = (void ((*)()))mysql_query; return 0; }
/* end */

"/usr/bin/gcc-4.0 -o conftest -I. -I/opt/local/lib/ruby/1.8/i686-darwin9.2.2 -I. -I/opt/local/include/mysql5/mysql -I/usr/local/include -I/opt/local/include -O2  -fno-common -pipe -fno-common conftest.c  -L\".\" -L\"/opt/local/lib\" -L\"/opt/local/lib/mysql5/mysql\" -L\"/usr/local/lib\" -L. -L/opt/local/lib    -lz -lm  -lruby-static -lmysqlclient -lz -lm  -lpthread -ldl -lobjc  "
ld: library not found for -lmysqlclient
collect2: ld returned 1 exit status
checked program was:
/* begin */
1: /*top*/
2: int main() { return 0; }
3: int t() { mysql_query(); return 0; }
/* end */

"/usr/bin/gcc-4.0 -o conftest -I. -I/opt/local/lib/ruby/1.8/i686-darwin9.2.2 -I. -I/opt/local/include/mysql5/mysql -I/usr/local/include -I/opt/local/include -O2  -fno-common -pipe -fno-common conftest.c  -L\".\" -L\"/opt/local/lib\" -L\"/opt/local/lib/mysql5/mysql\" -L\"/usr/local/lib\" -L. -L/opt/local/lib    -lz -lm  -lruby-static -lmysqlclient -lz -lm  -lpthread -ldl -lobjc  "
ld: library not found for -lmysqlclient
collect2: ld returned 1 exit status
checked program was:
/* begin */
1: int mysql_query();
2: /*top*/
3: int main() { return 0; }
4: int t() { mysql_query(); return 0; }
/* end */

"/usr/bin/gcc-4.0 -o conftest -I. -I/opt/local/lib/ruby/1.8/i686-darwin9.2.2 -I. -I/opt/local/include/mysql5/mysql -I/usr/local/include -I/opt/local/include -O2  -fno-common -pipe -fno-common conftest.c  -L\".\" -L\"/opt/local/lib\" -L\"/opt/local/lib/mysql5/mysql\" -L\"/usr/local/lib\" -L. -L/opt/local/lib    -lz -lm  -lruby-static -lmysqlclient -lz -lm  -lpthread -ldl -lobjc  "
conftest.c: In function ‘t’:
conftest.c:3: error: ‘mysql_query’ undeclared (first use in this function)
conftest.c:3: error: (Each undeclared identifier is reported only once
conftest.c:3: error: for each function it appears in.)
checked program was:
/* begin */
1: /*top*/
2: int main() { return 0; }
3: int t() { void ((*volatile p)()); p = (void ((*)()))mysql_query; return 0; }
/* end */

"/usr/bin/gcc-4.0 -o conftest -I. -I/opt/local/lib/ruby/1.8/i686-darwin9.2.2 -I. -I/opt/local/include/mysql5/mysql -I/usr/local/include -I/opt/local/include -O2  -fno-common -pipe -fno-common conftest.c  -L\".\" -L\"/opt/local/lib\" -L\"/opt/local/lib/mysql5/mysql\" -L\"/usr/local/lib\" -L. -L/opt/local/lib    -lz -lm  -lruby-static -lmysqlclient -lz -lm  -lpthread -ldl -lobjc  "
ld: library not found for -lmysqlclient
collect2: ld returned 1 exit status
checked program was:
/* begin */
1: /*top*/
2: int main() { return 0; }
3: int t() { mysql_query(); return 0; }
/* end */

"/usr/bin/gcc-4.0 -o conftest -I. -I/opt/local/lib/ruby/1.8/i686-darwin9.2.2 -I. -I/opt/local/include/mysql5/mysql -I/usr/local/include -I/opt/local/include -O2  -fno-common -pipe -fno-common conftest.c  -L\".\" -L\"/opt/local/lib\" -L\"/opt/local/lib/mysql5/mysql\" -L\"/usr/local/lib\" -L. -L/opt/local/lib    -lz -lm  -lruby-static -lmysqlclient -lz -lm  -lpthread -ldl -lobjc  "
ld: library not found for -lmysqlclient
collect2: ld returned 1 exit status
checked program was:
/* begin */
1: int mysql_query();
2: /*top*/
3: int main() { return 0; }
4: int t() { mysql_query(); return 0; }
/* end */

"/usr/bin/gcc-4.0 -o conftest -I. -I/opt/local/lib/ruby/1.8/i686-darwin9.2.2 -I. -I/opt/local/include/mysql5/mysql -I/usr/local/include -I/opt/local/include -O2  -fno-common -pipe -fno-common conftest.c  -L\".\" -L\"/opt/local/lib\" -L\"/opt/local/lib/mysql5/mysql\" -L\"/usr/local/lib\" -L\"/usr/local/lib/mysql\" -L. -L/opt/local/lib    -lz -lm  -lruby-static -lmysqlclient -lz -lm  -lpthread -ldl -lobjc  "
conftest.c: In function ‘t’:
conftest.c:3: error: ‘mysql_query’ undeclared (first use in this function)
conftest.c:3: error: (Each undeclared identifier is reported only once
conftest.c:3: error: for each function it appears in.)
checked program was:
/* begin */
1: /*top*/
2: int main() { return 0; }
3: int t() { void ((*volatile p)()); p = (void ((*)()))mysql_query; return 0; }
/* end */

"/usr/bin/gcc-4.0 -o conftest -I. -I/opt/local/lib/ruby/1.8/i686-darwin9.2.2 -I. -I/opt/local/include/mysql5/mysql -I/usr/local/include -I/opt/local/include -O2  -fno-common -pipe -fno-common conftest.c  -L\".\" -L\"/opt/local/lib\" -L\"/opt/local/lib/mysql5/mysql\" -L\"/usr/local/lib\" -L\"/usr/local/lib/mysql\" -L. -L/opt/local/lib    -lz -lm  -lruby-static -lmysqlclient -lz -lm  -lpthread -ldl -lobjc  "
ld: library not found for -lmysqlclient
collect2: ld returned 1 exit status
checked program was:
/* begin */
1: /*top*/
2: int main() { return 0; }
3: int t() { mysql_query(); return 0; }
/* end */

"/usr/bin/gcc-4.0 -o conftest -I. -I/opt/local/lib/ruby/1.8/i686-darwin9.2.2 -I. -I/opt/local/include/mysql5/mysql -I/usr/local/include -I/opt/local/include -O2  -fno-common -pipe -fno-common conftest.c  -L\".\" -L\"/opt/local/lib\" -L\"/opt/local/lib/mysql5/mysql\" -L\"/usr/local/lib\" -L\"/usr/local/lib/mysql\" -L. -L/opt/local/lib    -lz -lm  -lruby-static -lmysqlclient -lz -lm  -lpthread -ldl -lobjc  "
ld: library not found for -lmysqlclient
collect2: ld returned 1 exit status
checked program was:
/* begin */
1: int mysql_query();
2: /*top*/
3: int main() { return 0; }
4: int t() { mysql_query(); return 0; }
/* end */

--------------------

comment:10 in reply to:  9 Changed 16 years ago by febeling@…

Thanks for the additional info. I can't figure it out what might have caused the problem. But the new configuration phase is better than the old one anyway, and it seems to work everywhere, so I leave it at that.

comment:11 Changed 15 years ago by (none)

Milestone: Port Bugs

Milestone Port Bugs deleted

Note: See TracTickets for help on using tickets.