[ts-gen] /usr/bin/ld: skipping incompatible /usr/lib/mysql/libmysqlclient.so when searching for -lmysqlclient

Ron Hinchley ronh at hinchley.org
Thu Dec 20 02:07:13 EST 2007


Hi, anyone encounter this error? The mysql is running OK.

[ibtrader at murphy shim-071214]$ make shim
g++ -Wall -g -I/usr/include/mysql  -c -o once.o src/once.c
g++ -Wall -g -I/usr/include/mysql  -c -o bind.o src/bind.c
g++ -Wall -g -I/usr/include/mysql  -c -o mode.o src/mode.c
g++ -Wall -g -I/usr/include/mysql  -c -o data.o src/data.c
g++ -Wall -g -I/usr/include/mysql  -c -o type.o src/type.c
g++ -Wall -g -I/usr/include/mysql  -c -o tabs.o src/tabs.c
g++ -Wall -g -I/usr/include/mysql  -c -o rule.o src/rule.c
g++ -Wall -g -I/usr/include/mysql  -c -o dfsa.o src/dfsa.c
g++ -Wall -g -I/usr/include/mysql  -c -o syms.o src/syms.c
g++ -Wall -g -I/usr/include/mysql  -c -o help.o src/help.c
g++ -Wall -g -I/usr/include/mysql  -c -o talk.o src/talk.c
g++ -Wall -g -I/usr/include/mysql  -c -o init.o src/init.c
g++ -Wall -g -I/usr/include/mysql  -c -o link.o src/link.c
g++ -Wall -g -I/usr/include/mysql  -c -o load.o src/load.c
g++ -Wall -g -I/usr/include/mysql  -c -o bulk.o src/bulk.c
g++ -Wall -g -I/usr/include/mysql  -c -o shim.o src/shim.c
g++ -Wall -g -I/usr/include/mysql  -c -o wait.o src/wait.c
g++ -Wall -g -I/usr/include/mysql  -c -o time.o src/time.c
g++ -Wall -g -I/usr/include/mysql  -c -o read.o src/read.c
g++ -Wall -g -I/usr/include/mysql  -c -o flow.o src/flow.c
g++ -Wall -g -I/usr/include/mysql  -c -o exec.o src/exec.c
g++ -Wall -g -I/usr/include/mysql  -c -o feed.o src/feed.c
g++ -Wall -g -I/usr/include/mysql  -c -o send.o src/send.c
g++ -Wall -g -I/usr/include/mysql  -c -o post.o src/post.c
g++ -Wall -g -I/usr/include/mysql  -c -o echo.o src/echo.c
g++ -Wall -g -I/usr/include/mysql  -c -o calc.o src/calc.c
g++ -Wall -g -I/usr/include/mysql  -c -o name.o src/name.c
g++ -Wall -g -I/usr/include/mysql  -c -o leaf.o src/leaf.c
g++ -Wall -g -I/usr/include/mysql  -c -o atom.o src/atom.c
src/atom.c: In constructor 
âTradingShimDaemon1_0::TuplesAttributes::Event::Event(const 
MinimalModeMultiParadigm::SimpleEfficientAllocator::Pool&, const 
TradingShimDaemon1_0::NestedStructures::Arguments&, const 
TradingShimDaemon1_0::ObjectTypeSystem::Compound&)â:
src/atom.c:71: warning: format â%dâ expects type âintâ, but argument 3 
has type âMinimalModeMultiParadigm::natâ
src/atom.c:71: warning: format â%dâ expects type âintâ, but argument 4 
has type âMinimalModeMultiParadigm::natâ
src/atom.c:71: warning: format â%dâ expects type âintâ, but argument 5 
has type âMinimalModeMultiParadigm::natâ
g++ -Wall -g -I/usr/include/mysql  -c -o term.o src/term.c
g++ -Wall -g -I/usr/include/mysql  -c -o tilt.o src/tilt.c
g++ -Wall -g -I/usr/include/mysql  -c -o pool.o lib/pool.c
g++ -Wall -g -I/usr/include/mysql  -c -o hash.o lib/hash.c
g++ -Wall -g -I/usr/include/mysql  -c -o text.o lib/text.c
g++ -Wall -g -I/usr/include/mysql  -c -o wrap.o lib/wrap.c
g++ -Wall -g -I/usr/include/mysql  -c -o inet.o lib/inet.c
g++ -Wall -g -I/usr/include/mysql  -c -o fork.o lib/fork.c
g++ -Wall -g -I/usr/include/mysql  -c -o boot.o lib/boot.c
g++ -Wall -g -I/usr/include/mysql  -c -o else.o src/else.c
g++ -Wall -g -I/usr/include/mysql  -c -o unit.o src/unit.c
date;   g++ -g -o shim once.o bind.o mode.o data.o type.o tabs.o rule.o 
dfsa.o syms.o help.o talk.o init.o link.o load.o bulk.o shim.o wait.o 
time.o read.o flow.o exec.o feed.o send.o post.o echo.o calc.o name.o 
leaf.o atom.o term.o tilt.o pool.o hash.o text.o wrap.o inet.o fork.o 
boot.o else.o unit.o -L/usr/lib/mysql -lmysqlclient -lm
Wed Dec 19 20:40:45 PST 2007
/usr/bin/ld: skipping incompatible /usr/lib/mysql/libmysqlclient.so when 
searching for -lmysqlclient
/usr/bin/ld: skipping incompatible /usr/lib/mysql/libmysqlclient.a when 
searching for -lmysqlclient
/usr/bin/ld: cannot find -lmysqlclient
collect2: ld returned 1 exit status
make: *** [shim] Error 1
[ibtrader at murphy shim-071214]$






More information about the ts-general mailing list