>
> Did you run resetdb first?
no... I'm running only the simple1.cc.
>
> Are you running the version built as part of the normal library build
> process, or are you building it some other way!
my goal is to embed the basic commands in my software, but before I'd
like to run and understand how these commands work.
So I take the simple1.cc and compile it stand alone.
I've built using the following gcc comand:
g++ -I/usr/include/mysql++ -I/usr/local/mysql/include/mysql
-DVERBOSE=2 -Wall -pthread -g -O2 -c simple1.cc
g++ -I/usr/include/mysql++ -I/usr/local/mysql/include/mysql
-DVERBOSE=2 -Wall -pthread -g -O2 -c util.cc -o util.o
g++ -pthread -g -O2 -L/usr/lib/mysql util.o simple1.o
/usr/local/lib/libmysqlpp.so -lz /usr/lib/mysql/libmysqlclient_r.a
-lcrypt -lnsl -lm -lpthread -lc -lnss_files -lnss_dns -lresolv
/usr/lib/libefence.a -Wl,--rpath -Wl,/usr/local/lib -Wl,--rpath
-Wl,/usr/local/lib -o simple1
thank you
MArco