[MacPorts] #15462: rb-mysql 2.7.5_0 fails to build
MacPorts
noreply at macports.org
Mon Jun 2 17:19:55 PDT 2008
#15462: rb-mysql 2.7.5_0 fails to build
-------------------------------+--------------------------------------------
Reporter: tyoshida at mac.com | Owner: febeling at macports.org
Type: defect | Status: closed
Priority: Normal | Milestone: Port Bugs
Component: ports | Version: 1.6.0
Resolution: fixed | Keywords: rb-mysql
-------------------------------+--------------------------------------------
Comment (by tyoshida at mac.com):
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 */
--------------------
}}}
--
Ticket URL: <http://trac.macports.org/ticket/15462#comment:9>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list