Created
November 26, 2012 20:20
-
-
Save mrebola/4150371 to your computer and use it in GitHub Desktop.
mysql error
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
find_library: checking for mysql_query() in -lmysqlclient... -------------------- no | |
"gcc -o conftest -I. -I/home/cesar/.rvm/rubies/ruby-1.8.7-p371/lib/ruby/1.8/x86_64-linux -I. -I/usr/local/include -O2 -fno-tree-dce -fno-optimize-sibling-calls -fPIC conftest.c -L. -L/home/cesar/.rvm/rubies/ruby-1.8.7-p371/lib -Wl,-R/home/cesar/.rvm/rubies/ruby-1.8.7-p371/lib -L/usr/local/lib -Wl,-R/usr/local/lib -L. -rdynamic -Wl,-export-dynamic -lruby-static -lmysqlclient -lrt -ldl -lcrypt -lm -lc" | |
conftest.c: In function ‘t’: | |
conftest.c:3:53: error: ‘mysql_query’ undeclared (first use in this function) | |
conftest.c:3:53: note: each undeclared identifier is reported only once 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 */ | |
"gcc -o conftest -I. -I/home/cesar/.rvm/rubies/ruby-1.8.7-p371/lib/ruby/1.8/x86_64-linux -I. -I/usr/local/include -O2 -fno-tree-dce -fno-optimize-sibling-calls -fPIC conftest.c -L. -L/home/cesar/.rvm/rubies/ruby-1.8.7-p371/lib -Wl,-R/home/cesar/.rvm/rubies/ruby-1.8.7-p371/lib -L/usr/local/lib -Wl,-R/usr/local/lib -L. -rdynamic -Wl,-export-dynamic -lruby-static -lmysqlclient -lrt -ldl -lcrypt -lm -lc" | |
/usr/bin/ld: cannot find -lmysqlclient | |
collect2: error: ld returned 1 exit status | |
checked program was: | |
/* begin */ | |
1: /*top*/ | |
2: int main() { return 0; } | |
3: int t() { mysql_query(); return 0; } | |
/* end */ | |
"gcc -o conftest -I. -I/home/cesar/.rvm/rubies/ruby-1.8.7-p371/lib/ruby/1.8/x86_64-linux -I. -I/usr/local/include -O2 -fno-tree-dce -fno-optimize-sibling-calls -fPIC conftest.c -L. -L/home/cesar/.rvm/rubies/ruby-1.8.7-p371/lib -Wl,-R/home/cesar/.rvm/rubies/ruby-1.8.7-p371/lib -L/usr/local/lib -Wl,-R/usr/local/lib -L. -rdynamic -Wl,-export-dynamic -lruby-static -lmysqlclient -lrt -ldl -lcrypt -lm -lc" | |
conftest.c: In function ‘t’: | |
conftest.c:3:53: error: ‘mysql_query’ undeclared (first use in this function) | |
conftest.c:3:53: note: each undeclared identifier is reported only once 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 */ | |
"gcc -o conftest -I. -I/home/cesar/.rvm/rubies/ruby-1.8.7-p371/lib/ruby/1.8/x86_64-linux -I. -I/usr/local/include -O2 -fno-tree-dce -fno-optimize-sibling-calls -fPIC conftest.c -L. -L/home/cesar/.rvm/rubies/ruby-1.8.7-p371/lib -Wl,-R/home/cesar/.rvm/rubies/ruby-1.8.7-p371/lib -L/usr/local/lib -Wl,-R/usr/local/lib -L. -rdynamic -Wl,-export-dynamic -lruby-static -lmysqlclient -lrt -ldl -lcrypt -lm -lc" | |
/usr/bin/ld: cannot find -lmysqlclient | |
collect2: error: ld returned 1 exit status | |
checked program was: | |
/* begin */ | |
1: /*top*/ | |
2: int main() { return 0; } | |
3: int t() { mysql_query(); return 0; } | |
/* end */ | |
"gcc -o conftest -I. -I/home/cesar/.rvm/rubies/ruby-1.8.7-p371/lib/ruby/1.8/x86_64-linux -I. -I/usr/local/include -O2 -fno-tree-dce -fno-optimize-sibling-calls -fPIC conftest.c -L. -L/home/cesar/.rvm/rubies/ruby-1.8.7-p371/lib -Wl,-R/home/cesar/.rvm/rubies/ruby-1.8.7-p371/lib -L/usr/local/lib -Wl,-R/usr/local/lib -L/usr/local/lib/mysql -Wl,-R/usr/local/lib/mysql -L. -rdynamic -Wl,-export-dynamic -lruby-static -lmysqlclient -lrt -ldl -lcrypt -lm -lc" | |
conftest.c: In function ‘t’: | |
conftest.c:3:53: error: ‘mysql_query’ undeclared (first use in this function) | |
conftest.c:3:53: note: each undeclared identifier is reported only once 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 */ | |
"gcc -o conftest -I. -I/home/cesar/.rvm/rubies/ruby-1.8.7-p371/lib/ruby/1.8/x86_64-linux -I. -I/usr/local/include -O2 -fno-tree-dce -fno-optimize-sibling-calls -fPIC conftest.c -L. -L/home/cesar/.rvm/rubies/ruby-1.8.7-p371/lib -Wl,-R/home/cesar/.rvm/rubies/ruby-1.8.7-p371/lib -L/usr/local/lib -Wl,-R/usr/local/lib -L/usr/local/lib/mysql -Wl,-R/usr/local/lib/mysql -L. -rdynamic -Wl,-export-dynamic -lruby-static -lmysqlclient -lrt -ldl -lcrypt -lm -lc" | |
/usr/bin/ld: cannot find -lmysqlclient | |
collect2: error: ld returned 1 exit status | |
checked program was: | |
/* begin */ | |
1: /*top*/ | |
2: int main() { return 0; } | |
3: int t() { mysql_query(); return 0; } | |
/* end */ | |
-------------------- | |
have_library: checking for main() in -lm... -------------------- yes | |
"gcc -o conftest -I. -I/home/cesar/.rvm/rubies/ruby-1.8.7-p371/lib/ruby/1.8/x86_64-linux -I. -I/usr/local/include -O2 -fno-tree-dce -fno-optimize-sibling-calls -fPIC conftest.c -L. -L/home/cesar/.rvm/rubies/ruby-1.8.7-p371/lib -Wl,-R/home/cesar/.rvm/rubies/ruby-1.8.7-p371/lib -L/usr/local/lib -Wl,-R/usr/local/lib -L. -rdynamic -Wl,-export-dynamic -lruby-static -lm -lrt -ldl -lcrypt -lm -lc" | |
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 | |
"gcc -o conftest -I. -I/home/cesar/.rvm/rubies/ruby-1.8.7-p371/lib/ruby/1.8/x86_64-linux -I. -I/usr/local/include -O2 -fno-tree-dce -fno-optimize-sibling-calls -fPIC conftest.c -L. -L/home/cesar/.rvm/rubies/ruby-1.8.7-p371/lib -Wl,-R/home/cesar/.rvm/rubies/ruby-1.8.7-p371/lib -L/usr/local/lib -Wl,-R/usr/local/lib -L. -rdynamic -Wl,-export-dynamic -lm -lruby-static -lmysqlclient -lm -lrt -ldl -lcrypt -lm -lc" | |
conftest.c: In function ‘t’: | |
conftest.c:3:53: error: ‘mysql_query’ undeclared (first use in this function) | |
conftest.c:3:53: note: each undeclared identifier is reported only once 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 */ | |
"gcc -o conftest -I. -I/home/cesar/.rvm/rubies/ruby-1.8.7-p371/lib/ruby/1.8/x86_64-linux -I. -I/usr/local/include -O2 -fno-tree-dce -fno-optimize-sibling-calls -fPIC conftest.c -L. -L/home/cesar/.rvm/rubies/ruby-1.8.7-p371/lib -Wl,-R/home/cesar/.rvm/rubies/ruby-1.8.7-p371/lib -L/usr/local/lib -Wl,-R/usr/local/lib -L. -rdynamic -Wl,-export-dynamic -lm -lruby-static -lmysqlclient -lm -lrt -ldl -lcrypt -lm -lc" | |
/usr/bin/ld: cannot find -lmysqlclient | |
collect2: error: ld returned 1 exit status | |
checked program was: | |
/* begin */ | |
1: /*top*/ | |
2: int main() { return 0; } | |
3: int t() { mysql_query(); return 0; } | |
/* end */ | |
"gcc -o conftest -I. -I/home/cesar/.rvm/rubies/ruby-1.8.7-p371/lib/ruby/1.8/x86_64-linux -I. -I/usr/local/include -O2 -fno-tree-dce -fno-optimize-sibling-calls -fPIC conftest.c -L. -L/home/cesar/.rvm/rubies/ruby-1.8.7-p371/lib -Wl,-R/home/cesar/.rvm/rubies/ruby-1.8.7-p371/lib -L/usr/local/lib -Wl,-R/usr/local/lib -L. -rdynamic -Wl,-export-dynamic -lm -lruby-static -lmysqlclient -lm -lrt -ldl -lcrypt -lm -lc" | |
conftest.c: In function ‘t’: | |
conftest.c:3:53: error: ‘mysql_query’ undeclared (first use in this function) | |
conftest.c:3:53: note: each undeclared identifier is reported only once 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 */ | |
"gcc -o conftest -I. -I/home/cesar/.rvm/rubies/ruby-1.8.7-p371/lib/ruby/1.8/x86_64-linux -I. -I/usr/local/include -O2 -fno-tree-dce -fno-optimize-sibling-calls -fPIC conftest.c -L. -L/home/cesar/.rvm/rubies/ruby-1.8.7-p371/lib -Wl,-R/home/cesar/.rvm/rubies/ruby-1.8.7-p371/lib -L/usr/local/lib -Wl,-R/usr/local/lib -L. -rdynamic -Wl,-export-dynamic -lm -lruby-static -lmysqlclient -lm -lrt -ldl -lcrypt -lm -lc" | |
/usr/bin/ld: cannot find -lmysqlclient | |
collect2: error: ld returned 1 exit status | |
checked program was: | |
/* begin */ | |
1: /*top*/ | |
2: int main() { return 0; } | |
3: int t() { mysql_query(); return 0; } | |
/* end */ | |
"gcc -o conftest -I. -I/home/cesar/.rvm/rubies/ruby-1.8.7-p371/lib/ruby/1.8/x86_64-linux -I. -I/usr/local/include -O2 -fno-tree-dce -fno-optimize-sibling-calls -fPIC conftest.c -L. -L/home/cesar/.rvm/rubies/ruby-1.8.7-p371/lib -Wl,-R/home/cesar/.rvm/rubies/ruby-1.8.7-p371/lib -L/usr/local/lib -Wl,-R/usr/local/lib -L/usr/local/lib/mysql -Wl,-R/usr/local/lib/mysql -L. -rdynamic -Wl,-export-dynamic -lm -lruby-static -lmysqlclient -lm -lrt -ldl -lcrypt -lm -lc" | |
conftest.c: In function ‘t’: | |
conftest.c:3:53: error: ‘mysql_query’ undeclared (first use in this function) | |
conftest.c:3:53: note: each undeclared identifier is reported only once 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 */ | |
"gcc -o conftest -I. -I/home/cesar/.rvm/rubies/ruby-1.8.7-p371/lib/ruby/1.8/x86_64-linux -I. -I/usr/local/include -O2 -fno-tree-dce -fno-optimize-sibling-calls -fPIC conftest.c -L. -L/home/cesar/.rvm/rubies/ruby-1.8.7-p371/lib -Wl,-R/home/cesar/.rvm/rubies/ruby-1.8.7-p371/lib -L/usr/local/lib -Wl,-R/usr/local/lib -L/usr/local/lib/mysql -Wl,-R/usr/local/lib/mysql -L. -rdynamic -Wl,-export-dynamic -lm -lruby-static -lmysqlclient -lm -lrt -ldl -lcrypt -lm -lc" | |
/usr/bin/ld: cannot find -lmysqlclient | |
collect2: error: ld returned 1 exit status | |
checked program was: | |
/* begin */ | |
1: /*top*/ | |
2: int main() { return 0; } | |
3: int t() { mysql_query(); return 0; } | |
/* end */ | |
-------------------- | |
have_library: checking for main() in -lz... -------------------- yes | |
"gcc -o conftest -I. -I/home/cesar/.rvm/rubies/ruby-1.8.7-p371/lib/ruby/1.8/x86_64-linux -I. -I/usr/local/include -O2 -fno-tree-dce -fno-optimize-sibling-calls -fPIC conftest.c -L. -L/home/cesar/.rvm/rubies/ruby-1.8.7-p371/lib -Wl,-R/home/cesar/.rvm/rubies/ruby-1.8.7-p371/lib -L/usr/local/lib -Wl,-R/usr/local/lib -L. -rdynamic -Wl,-export-dynamic -lm -lruby-static -lz -lm -lrt -ldl -lcrypt -lm -lc" | |
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 | |
"gcc -o conftest -I. -I/home/cesar/.rvm/rubies/ruby-1.8.7-p371/lib/ruby/1.8/x86_64-linux -I. -I/usr/local/include -O2 -fno-tree-dce -fno-optimize-sibling-calls -fPIC conftest.c -L. -L/home/cesar/.rvm/rubies/ruby-1.8.7-p371/lib -Wl,-R/home/cesar/.rvm/rubies/ruby-1.8.7-p371/lib -L/usr/local/lib -Wl,-R/usr/local/lib -L. -rdynamic -Wl,-export-dynamic -lz -lm -lruby-static -lmysqlclient -lz -lm -lrt -ldl -lcrypt -lm -lc" | |
conftest.c: In function ‘t’: | |
conftest.c:3:53: error: ‘mysql_query’ undeclared (first use in this function) | |
conftest.c:3:53: note: each undeclared identifier is reported only once 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 */ | |
"gcc -o conftest -I. -I/home/cesar/.rvm/rubies/ruby-1.8.7-p371/lib/ruby/1.8/x86_64-linux -I. -I/usr/local/include -O2 -fno-tree-dce -fno-optimize-sibling-calls -fPIC conftest.c -L. -L/home/cesar/.rvm/rubies/ruby-1.8.7-p371/lib -Wl,-R/home/cesar/.rvm/rubies/ruby-1.8.7-p371/lib -L/usr/local/lib -Wl,-R/usr/local/lib -L. -rdynamic -Wl,-export-dynamic -lz -lm -lruby-static -lmysqlclient -lz -lm -lrt -ldl -lcrypt -lm -lc" | |
/usr/bin/ld: cannot find -lmysqlclient | |
collect2: error: ld returned 1 exit status | |
checked program was: | |
/* begin */ | |
1: /*top*/ | |
2: int main() { return 0; } | |
3: int t() { mysql_query(); return 0; } | |
/* end */ | |
"gcc -o conftest -I. -I/home/cesar/.rvm/rubies/ruby-1.8.7-p371/lib/ruby/1.8/x86_64-linux -I. -I/usr/local/include -O2 -fno-tree-dce -fno-optimize-sibling-calls -fPIC conftest.c -L. -L/home/cesar/.rvm/rubies/ruby-1.8.7-p371/lib -Wl,-R/home/cesar/.rvm/rubies/ruby-1.8.7-p371/lib -L/usr/local/lib -Wl,-R/usr/local/lib -L. -rdynamic -Wl,-export-dynamic -lz -lm -lruby-static -lmysqlclient -lz -lm -lrt -ldl -lcrypt -lm -lc" | |
conftest.c: In function ‘t’: | |
conftest.c:3:53: error: ‘mysql_query’ undeclared (first use in this function) | |
conftest.c:3:53: note: each undeclared identifier is reported only once 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 */ | |
"gcc -o conftest -I. -I/home/cesar/.rvm/rubies/ruby-1.8.7-p371/lib/ruby/1.8/x86_64-linux -I. -I/usr/local/include -O2 -fno-tree-dce -fno-optimize-sibling-calls -fPIC conftest.c -L. -L/home/cesar/.rvm/rubies/ruby-1.8.7-p371/lib -Wl,-R/home/cesar/.rvm/rubies/ruby-1.8.7-p371/lib -L/usr/local/lib -Wl,-R/usr/local/lib -L. -rdynamic -Wl,-export-dynamic -lz -lm -lruby-static -lmysqlclient -lz -lm -lrt -ldl -lcrypt -lm -lc" | |
/usr/bin/ld: cannot find -lmysqlclient | |
collect2: error: ld returned 1 exit status | |
checked program was: | |
/* begin */ | |
1: /*top*/ | |
2: int main() { return 0; } | |
3: int t() { mysql_query(); return 0; } | |
/* end */ | |
"gcc -o conftest -I. -I/home/cesar/.rvm/rubies/ruby-1.8.7-p371/lib/ruby/1.8/x86_64-linux -I. -I/usr/local/include -O2 -fno-tree-dce -fno-optimize-sibling-calls -fPIC conftest.c -L. -L/home/cesar/.rvm/rubies/ruby-1.8.7-p371/lib -Wl,-R/home/cesar/.rvm/rubies/ruby-1.8.7-p371/lib -L/usr/local/lib -Wl,-R/usr/local/lib -L/usr/local/lib/mysql -Wl,-R/usr/local/lib/mysql -L. -rdynamic -Wl,-export-dynamic -lz -lm -lruby-static -lmysqlclient -lz -lm -lrt -ldl -lcrypt -lm -lc" | |
conftest.c: In function ‘t’: | |
conftest.c:3:53: error: ‘mysql_query’ undeclared (first use in this function) | |
conftest.c:3:53: note: each undeclared identifier is reported only once 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 */ | |
"gcc -o conftest -I. -I/home/cesar/.rvm/rubies/ruby-1.8.7-p371/lib/ruby/1.8/x86_64-linux -I. -I/usr/local/include -O2 -fno-tree-dce -fno-optimize-sibling-calls -fPIC conftest.c -L. -L/home/cesar/.rvm/rubies/ruby-1.8.7-p371/lib -Wl,-R/home/cesar/.rvm/rubies/ruby-1.8.7-p371/lib -L/usr/local/lib -Wl,-R/usr/local/lib -L/usr/local/lib/mysql -Wl,-R/usr/local/lib/mysql -L. -rdynamic -Wl,-export-dynamic -lz -lm -lruby-static -lmysqlclient -lz -lm -lrt -ldl -lcrypt -lm -lc" | |
/usr/bin/ld: cannot find -lmysqlclient | |
collect2: error: ld returned 1 exit status | |
checked program was: | |
/* begin */ | |
1: /*top*/ | |
2: int main() { return 0; } | |
3: int t() { mysql_query(); return 0; } | |
/* end */ | |
-------------------- | |
have_library: checking for main() in -lsocket... -------------------- no | |
"gcc -o conftest -I. -I/home/cesar/.rvm/rubies/ruby-1.8.7-p371/lib/ruby/1.8/x86_64-linux -I. -I/usr/local/include -O2 -fno-tree-dce -fno-optimize-sibling-calls -fPIC conftest.c -L. -L/home/cesar/.rvm/rubies/ruby-1.8.7-p371/lib -Wl,-R/home/cesar/.rvm/rubies/ruby-1.8.7-p371/lib -L/usr/local/lib -Wl,-R/usr/local/lib -L. -rdynamic -Wl,-export-dynamic -lz -lm -lruby-static -lsocket -lz -lm -lrt -ldl -lcrypt -lm -lc" | |
/usr/bin/ld: cannot find -lsocket | |
collect2: error: 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 */ | |
"gcc -o conftest -I. -I/home/cesar/.rvm/rubies/ruby-1.8.7-p371/lib/ruby/1.8/x86_64-linux -I. -I/usr/local/include -O2 -fno-tree-dce -fno-optimize-sibling-calls -fPIC conftest.c -L. -L/home/cesar/.rvm/rubies/ruby-1.8.7-p371/lib -Wl,-R/home/cesar/.rvm/rubies/ruby-1.8.7-p371/lib -L/usr/local/lib -Wl,-R/usr/local/lib -L. -rdynamic -Wl,-export-dynamic -lz -lm -lruby-static -lsocket -lz -lm -lrt -ldl -lcrypt -lm -lc" | |
/usr/bin/ld: cannot find -lsocket | |
collect2: error: ld returned 1 exit status | |
checked program was: | |
/* begin */ | |
1: /*top*/ | |
2: int main() { return 0; } | |
3: int t() { main(); return 0; } | |
/* end */ | |
-------------------- | |
find_library: checking for mysql_query() in -lmysqlclient... -------------------- no | |
"gcc -o conftest -I. -I/home/cesar/.rvm/rubies/ruby-1.8.7-p371/lib/ruby/1.8/x86_64-linux -I. -I/usr/local/include -O2 -fno-tree-dce -fno-optimize-sibling-calls -fPIC conftest.c -L. -L/home/cesar/.rvm/rubies/ruby-1.8.7-p371/lib -Wl,-R/home/cesar/.rvm/rubies/ruby-1.8.7-p371/lib -L/usr/local/lib -Wl,-R/usr/local/lib -L. -rdynamic -Wl,-export-dynamic -lz -lm -lruby-static -lmysqlclient -lz -lm -lrt -ldl -lcrypt -lm -lc" | |
conftest.c: In function ‘t’: | |
conftest.c:3:53: error: ‘mysql_query’ undeclared (first use in this function) | |
conftest.c:3:53: note: each undeclared identifier is reported only once 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 */ | |
"gcc -o conftest -I. -I/home/cesar/.rvm/rubies/ruby-1.8.7-p371/lib/ruby/1.8/x86_64-linux -I. -I/usr/local/include -O2 -fno-tree-dce -fno-optimize-sibling-calls -fPIC conftest.c -L. -L/home/cesar/.rvm/rubies/ruby-1.8.7-p371/lib -Wl,-R/home/cesar/.rvm/rubies/ruby-1.8.7-p371/lib -L/usr/local/lib -Wl,-R/usr/local/lib -L. -rdynamic -Wl,-export-dynamic -lz -lm -lruby-static -lmysqlclient -lz -lm -lrt -ldl -lcrypt -lm -lc" | |
/usr/bin/ld: cannot find -lmysqlclient | |
collect2: error: ld returned 1 exit status | |
checked program was: | |
/* begin */ | |
1: /*top*/ | |
2: int main() { return 0; } | |
3: int t() { mysql_query(); return 0; } | |
/* end */ | |
"gcc -o conftest -I. -I/home/cesar/.rvm/rubies/ruby-1.8.7-p371/lib/ruby/1.8/x86_64-linux -I. -I/usr/local/include -O2 -fno-tree-dce -fno-optimize-sibling-calls -fPIC conftest.c -L. -L/home/cesar/.rvm/rubies/ruby-1.8.7-p371/lib -Wl,-R/home/cesar/.rvm/rubies/ruby-1.8.7-p371/lib -L/usr/local/lib -Wl,-R/usr/local/lib -L. -rdynamic -Wl,-export-dynamic -lz -lm -lruby-static -lmysqlclient -lz -lm -lrt -ldl -lcrypt -lm -lc" | |
conftest.c: In function ‘t’: | |
conftest.c:3:53: error: ‘mysql_query’ undeclared (first use in this function) | |
conftest.c:3:53: note: each undeclared identifier is reported only once 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 */ | |
"gcc -o conftest -I. -I/home/cesar/.rvm/rubies/ruby-1.8.7-p371/lib/ruby/1.8/x86_64-linux -I. -I/usr/local/include -O2 -fno-tree-dce -fno-optimize-sibling-calls -fPIC conftest.c -L. -L/home/cesar/.rvm/rubies/ruby-1.8.7-p371/lib -Wl,-R/home/cesar/.rvm/rubies/ruby-1.8.7-p371/lib -L/usr/local/lib -Wl,-R/usr/local/lib -L. -rdynamic -Wl,-export-dynamic -lz -lm -lruby-static -lmysqlclient -lz -lm -lrt -ldl -lcrypt -lm -lc" | |
/usr/bin/ld: cannot find -lmysqlclient | |
collect2: error: ld returned 1 exit status | |
checked program was: | |
/* begin */ | |
1: /*top*/ | |
2: int main() { return 0; } | |
3: int t() { mysql_query(); return 0; } | |
/* end */ | |
"gcc -o conftest -I. -I/home/cesar/.rvm/rubies/ruby-1.8.7-p371/lib/ruby/1.8/x86_64-linux -I. -I/usr/local/include -O2 -fno-tree-dce -fno-optimize-sibling-calls -fPIC conftest.c -L. -L/home/cesar/.rvm/rubies/ruby-1.8.7-p371/lib -Wl,-R/home/cesar/.rvm/rubies/ruby-1.8.7-p371/lib -L/usr/local/lib -Wl,-R/usr/local/lib -L/usr/local/lib/mysql -Wl,-R/usr/local/lib/mysql -L. -rdynamic -Wl,-export-dynamic -lz -lm -lruby-static -lmysqlclient -lz -lm -lrt -ldl -lcrypt -lm -lc" | |
conftest.c: In function ‘t’: | |
conftest.c:3:53: error: ‘mysql_query’ undeclared (first use in this function) | |
conftest.c:3:53: note: each undeclared identifier is reported only once 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 */ | |
"gcc -o conftest -I. -I/home/cesar/.rvm/rubies/ruby-1.8.7-p371/lib/ruby/1.8/x86_64-linux -I. -I/usr/local/include -O2 -fno-tree-dce -fno-optimize-sibling-calls -fPIC conftest.c -L. -L/home/cesar/.rvm/rubies/ruby-1.8.7-p371/lib -Wl,-R/home/cesar/.rvm/rubies/ruby-1.8.7-p371/lib -L/usr/local/lib -Wl,-R/usr/local/lib -L/usr/local/lib/mysql -Wl,-R/usr/local/lib/mysql -L. -rdynamic -Wl,-export-dynamic -lz -lm -lruby-static -lmysqlclient -lz -lm -lrt -ldl -lcrypt -lm -lc" | |
/usr/bin/ld: cannot find -lmysqlclient | |
collect2: error: ld returned 1 exit status | |
checked program was: | |
/* begin */ | |
1: /*top*/ | |
2: int main() { return 0; } | |
3: int t() { mysql_query(); return 0; } | |
/* end */ | |
-------------------- | |
have_library: checking for main() in -lnsl... -------------------- yes | |
"gcc -o conftest -I. -I/home/cesar/.rvm/rubies/ruby-1.8.7-p371/lib/ruby/1.8/x86_64-linux -I. -I/usr/local/include -O2 -fno-tree-dce -fno-optimize-sibling-calls -fPIC conftest.c -L. -L/home/cesar/.rvm/rubies/ruby-1.8.7-p371/lib -Wl,-R/home/cesar/.rvm/rubies/ruby-1.8.7-p371/lib -L/usr/local/lib -Wl,-R/usr/local/lib -L. -rdynamic -Wl,-export-dynamic -lz -lm -lruby-static -lnsl -lz -lm -lrt -ldl -lcrypt -lm -lc" | |
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 | |
"gcc -o conftest -I. -I/home/cesar/.rvm/rubies/ruby-1.8.7-p371/lib/ruby/1.8/x86_64-linux -I. -I/usr/local/include -O2 -fno-tree-dce -fno-optimize-sibling-calls -fPIC conftest.c -L. -L/home/cesar/.rvm/rubies/ruby-1.8.7-p371/lib -Wl,-R/home/cesar/.rvm/rubies/ruby-1.8.7-p371/lib -L/usr/local/lib -Wl,-R/usr/local/lib -L. -rdynamic -Wl,-export-dynamic -lnsl -lz -lm -lruby-static -lmysqlclient -lnsl -lz -lm -lrt -ldl -lcrypt -lm -lc" | |
conftest.c: In function ‘t’: | |
conftest.c:3:53: error: ‘mysql_query’ undeclared (first use in this function) | |
conftest.c:3:53: note: each undeclared identifier is reported only once 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 */ | |
"gcc -o conftest -I. -I/home/cesar/.rvm/rubies/ruby-1.8.7-p371/lib/ruby/1.8/x86_64-linux -I. -I/usr/local/include -O2 -fno-tree-dce -fno-optimize-sibling-calls -fPIC conftest.c -L. -L/home/cesar/.rvm/rubies/ruby-1.8.7-p371/lib -Wl,-R/home/cesar/.rvm/rubies/ruby-1.8.7-p371/lib -L/usr/local/lib -Wl,-R/usr/local/lib -L. -rdynamic -Wl,-export-dynamic -lnsl -lz -lm -lruby-static -lmysqlclient -lnsl -lz -lm -lrt -ldl -lcrypt -lm -lc" | |
/usr/bin/ld: cannot find -lmysqlclient | |
collect2: error: ld returned 1 exit status | |
checked program was: | |
/* begin */ | |
1: /*top*/ | |
2: int main() { return 0; } | |
3: int t() { mysql_query(); return 0; } | |
/* end */ | |
"gcc -o conftest -I. -I/home/cesar/.rvm/rubies/ruby-1.8.7-p371/lib/ruby/1.8/x86_64-linux -I. -I/usr/local/include -O2 -fno-tree-dce -fno-optimize-sibling-calls -fPIC conftest.c -L. -L/home/cesar/.rvm/rubies/ruby-1.8.7-p371/lib -Wl,-R/home/cesar/.rvm/rubies/ruby-1.8.7-p371/lib -L/usr/local/lib -Wl,-R/usr/local/lib -L. -rdynamic -Wl,-export-dynamic -lnsl -lz -lm -lruby-static -lmysqlclient -lnsl -lz -lm -lrt -ldl -lcrypt -lm -lc" | |
conftest.c: In function ‘t’: | |
conftest.c:3:53: error: ‘mysql_query’ undeclared (first use in this function) | |
conftest.c:3:53: note: each undeclared identifier is reported only once 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 */ | |
"gcc -o conftest -I. -I/home/cesar/.rvm/rubies/ruby-1.8.7-p371/lib/ruby/1.8/x86_64-linux -I. -I/usr/local/include -O2 -fno-tree-dce -fno-optimize-sibling-calls -fPIC conftest.c -L. -L/home/cesar/.rvm/rubies/ruby-1.8.7-p371/lib -Wl,-R/home/cesar/.rvm/rubies/ruby-1.8.7-p371/lib -L/usr/local/lib -Wl,-R/usr/local/lib -L. -rdynamic -Wl,-export-dynamic -lnsl -lz -lm -lruby-static -lmysqlclient -lnsl -lz -lm -lrt -ldl -lcrypt -lm -lc" | |
/usr/bin/ld: cannot find -lmysqlclient | |
collect2: error: ld returned 1 exit status | |
checked program was: | |
/* begin */ | |
1: /*top*/ | |
2: int main() { return 0; } | |
3: int t() { mysql_query(); return 0; } | |
/* end */ | |
"gcc -o conftest -I. -I/home/cesar/.rvm/rubies/ruby-1.8.7-p371/lib/ruby/1.8/x86_64-linux -I. -I/usr/local/include -O2 -fno-tree-dce -fno-optimize-sibling-calls -fPIC conftest.c -L. -L/home/cesar/.rvm/rubies/ruby-1.8.7-p371/lib -Wl,-R/home/cesar/.rvm/rubies/ruby-1.8.7-p371/lib -L/usr/local/lib -Wl,-R/usr/local/lib -L/usr/local/lib/mysql -Wl,-R/usr/local/lib/mysql -L. -rdynamic -Wl,-export-dynamic -lnsl -lz -lm -lruby-static -lmysqlclient -lnsl -lz -lm -lrt -ldl -lcrypt -lm -lc" | |
conftest.c: In function ‘t’: | |
conftest.c:3:53: error: ‘mysql_query’ undeclared (first use in this function) | |
conftest.c:3:53: note: each undeclared identifier is reported only once 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 */ | |
"gcc -o conftest -I. -I/home/cesar/.rvm/rubies/ruby-1.8.7-p371/lib/ruby/1.8/x86_64-linux -I. -I/usr/local/include -O2 -fno-tree-dce -fno-optimize-sibling-calls -fPIC conftest.c -L. -L/home/cesar/.rvm/rubies/ruby-1.8.7-p371/lib -Wl,-R/home/cesar/.rvm/rubies/ruby-1.8.7-p371/lib -L/usr/local/lib -Wl,-R/usr/local/lib -L/usr/local/lib/mysql -Wl,-R/usr/local/lib/mysql -L. -rdynamic -Wl,-export-dynamic -lnsl -lz -lm -lruby-static -lmysqlclient -lnsl -lz -lm -lrt -ldl -lcrypt -lm -lc" | |
/usr/bin/ld: cannot find -lmysqlclient | |
collect2: error: ld returned 1 exit status | |
checked program was: | |
/* begin */ | |
1: /*top*/ | |
2: int main() { return 0; } | |
3: int t() { mysql_query(); return 0; } | |
/* end */ | |
-------------------- | |
have_library: checking for main() in -lmygcc... -------------------- no | |
"gcc -o conftest -I. -I/home/cesar/.rvm/rubies/ruby-1.8.7-p371/lib/ruby/1.8/x86_64-linux -I. -I/usr/local/include -O2 -fno-tree-dce -fno-optimize-sibling-calls -fPIC conftest.c -L. -L/home/cesar/.rvm/rubies/ruby-1.8.7-p371/lib -Wl,-R/home/cesar/.rvm/rubies/ruby-1.8.7-p371/lib -L/usr/local/lib -Wl,-R/usr/local/lib -L. -rdynamic -Wl,-export-dynamic -lnsl -lz -lm -lruby-static -lmygcc -lnsl -lz -lm -lrt -ldl -lcrypt -lm -lc" | |
/usr/bin/ld: cannot find -lmygcc | |
collect2: error: 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 */ | |
"gcc -o conftest -I. -I/home/cesar/.rvm/rubies/ruby-1.8.7-p371/lib/ruby/1.8/x86_64-linux -I. -I/usr/local/include -O2 -fno-tree-dce -fno-optimize-sibling-calls -fPIC conftest.c -L. -L/home/cesar/.rvm/rubies/ruby-1.8.7-p371/lib -Wl,-R/home/cesar/.rvm/rubies/ruby-1.8.7-p371/lib -L/usr/local/lib -Wl,-R/usr/local/lib -L. -rdynamic -Wl,-export-dynamic -lnsl -lz -lm -lruby-static -lmygcc -lnsl -lz -lm -lrt -ldl -lcrypt -lm -lc" | |
/usr/bin/ld: cannot find -lmygcc | |
collect2: error: ld returned 1 exit status | |
checked program was: | |
/* begin */ | |
1: /*top*/ | |
2: int main() { return 0; } | |
3: int t() { main(); return 0; } | |
/* end */ | |
-------------------- | |
find_library: checking for mysql_query() in -lmysqlclient... -------------------- no | |
"gcc -o conftest -I. -I/home/cesar/.rvm/rubies/ruby-1.8.7-p371/lib/ruby/1.8/x86_64-linux -I. -I/usr/local/include -O2 -fno-tree-dce -fno-optimize-sibling-calls -fPIC conftest.c -L. -L/home/cesar/.rvm/rubies/ruby-1.8.7-p371/lib -Wl,-R/home/cesar/.rvm/rubies/ruby-1.8.7-p371/lib -L/usr/local/lib -Wl,-R/usr/local/lib -L. -rdynamic -Wl,-export-dynamic -lnsl -lz -lm -lruby-static -lmysqlclient -lnsl -lz -lm -lrt -ldl -lcrypt -lm -lc" | |
conftest.c: In function ‘t’: | |
conftest.c:3:53: error: ‘mysql_query’ undeclared (first use in this function) | |
conftest.c:3:53: note: each undeclared identifier is reported only once 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 */ | |
"gcc -o conftest -I. -I/home/cesar/.rvm/rubies/ruby-1.8.7-p371/lib/ruby/1.8/x86_64-linux -I. -I/usr/local/include -O2 -fno-tree-dce -fno-optimize-sibling-calls -fPIC conftest.c -L. -L/home/cesar/.rvm/rubies/ruby-1.8.7-p371/lib -Wl,-R/home/cesar/.rvm/rubies/ruby-1.8.7-p371/lib -L/usr/local/lib -Wl,-R/usr/local/lib -L. -rdynamic -Wl,-export-dynamic -lnsl -lz -lm -lruby-static -lmysqlclient -lnsl -lz -lm -lrt -ldl -lcrypt -lm -lc" | |
/usr/bin/ld: cannot find -lmysqlclient | |
collect2: error: ld returned 1 exit status | |
checked program was: | |
/* begin */ | |
1: /*top*/ | |
2: int main() { return 0; } | |
3: int t() { mysql_query(); return 0; } | |
/* end */ | |
"gcc -o conftest -I. -I/home/cesar/.rvm/rubies/ruby-1.8.7-p371/lib/ruby/1.8/x86_64-linux -I. -I/usr/local/include -O2 -fno-tree-dce -fno-optimize-sibling-calls -fPIC conftest.c -L. -L/home/cesar/.rvm/rubies/ruby-1.8.7-p371/lib -Wl,-R/home/cesar/.rvm/rubies/ruby-1.8.7-p371/lib -L/usr/local/lib -Wl,-R/usr/local/lib -L. -rdynamic -Wl,-export-dynamic -lnsl -lz -lm -lruby-static -lmysqlclient -lnsl -lz -lm -lrt -ldl -lcrypt -lm -lc" | |
conftest.c: In function ‘t’: | |
conftest.c:3:53: error: ‘mysql_query’ undeclared (first use in this function) | |
conftest.c:3:53: note: each undeclared identifier is reported only once 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 */ | |
"gcc -o conftest -I. -I/home/cesar/.rvm/rubies/ruby-1.8.7-p371/lib/ruby/1.8/x86_64-linux -I. -I/usr/local/include -O2 -fno-tree-dce -fno-optimize-sibling-calls -fPIC conftest.c -L. -L/home/cesar/.rvm/rubies/ruby-1.8.7-p371/lib -Wl,-R/home/cesar/.rvm/rubies/ruby-1.8.7-p371/lib -L/usr/local/lib -Wl,-R/usr/local/lib -L. -rdynamic -Wl,-export-dynamic -lnsl -lz -lm -lruby-static -lmysqlclient -lnsl -lz -lm -lrt -ldl -lcrypt -lm -lc" | |
/usr/bin/ld: cannot find -lmysqlclient | |
collect2: error: ld returned 1 exit status | |
checked program was: | |
/* begin */ | |
1: /*top*/ | |
2: int main() { return 0; } | |
3: int t() { mysql_query(); return 0; } | |
/* end */ | |
"gcc -o conftest -I. -I/home/cesar/.rvm/rubies/ruby-1.8.7-p371/lib/ruby/1.8/x86_64-linux -I. -I/usr/local/include -O2 -fno-tree-dce -fno-optimize-sibling-calls -fPIC conftest.c -L. -L/home/cesar/.rvm/rubies/ruby-1.8.7-p371/lib -Wl,-R/home/cesar/.rvm/rubies/ruby-1.8.7-p371/lib -L/usr/local/lib -Wl,-R/usr/local/lib -L/usr/local/lib/mysql -Wl,-R/usr/local/lib/mysql -L. -rdynamic -Wl,-export-dynamic -lnsl -lz -lm -lruby-static -lmysqlclient -lnsl -lz -lm -lrt -ldl -lcrypt -lm -lc" | |
conftest.c: In function ‘t’: | |
conftest.c:3:53: error: ‘mysql_query’ undeclared (first use in this function) | |
conftest.c:3:53: note: each undeclared identifier is reported only once 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 */ | |
"gcc -o conftest -I. -I/home/cesar/.rvm/rubies/ruby-1.8.7-p371/lib/ruby/1.8/x86_64-linux -I. -I/usr/local/include -O2 -fno-tree-dce -fno-optimize-sibling-calls -fPIC conftest.c -L. -L/home/cesar/.rvm/rubies/ruby-1.8.7-p371/lib -Wl,-R/home/cesar/.rvm/rubies/ruby-1.8.7-p371/lib -L/usr/local/lib -Wl,-R/usr/local/lib -L/usr/local/lib/mysql -Wl,-R/usr/local/lib/mysql -L. -rdynamic -Wl,-export-dynamic -lnsl -lz -lm -lruby-static -lmysqlclient -lnsl -lz -lm -lrt -ldl -lcrypt -lm -lc" | |
/usr/bin/ld: cannot find -lmysqlclient | |
collect2: error: ld returned 1 exit status | |
checked program was: | |
/* begin */ | |
1: /*top*/ | |
2: int main() { return 0; } | |
3: int t() { mysql_query(); return 0; } | |
/* end */ | |
-------------------- |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment