Mysql++ problems

2001-02-21 Thread sas
HI. When I was trying to include the "custon.hh" header file, I got some error messages like this. gcc -lsqlplus -I/usr/include -I/usr/include/mysql -L/usr/lib -o test3 test3.cc In file included from /usr/include/custom.hh:71, from test3.cc:5: /usr/include/custom-macros.hh:8299:16: w

Mysql++ runtime problem

2001-02-18 Thread sas
I have no problem compiling sample program (I compiled it in this way: gcc -lsqlplus -I/usr/include/mysql -L/usr/local/lib/ -o sample sample.cc) But when I execute the binary, I got this error message: [root@sas /root]# ./sample ./sample: error while loading shared libraries: libsqlplus.so.1