Read the man page for gcc and note the command line switch to point the
linker at specific libraries, then use those switches on the command line.
This is a linker error, rather than a compiler error:
Example:
g++ myGreatProgram.cpp -L/usr/mysql/lib -lmysqlclient
On Wednesday 18 July 2001 1
I am having A LOT of trouble compiling the code Simple1.cc which comes
with the C++ API for Linux
I have extracted the API to a directory in /root/ and MySQL is installed
and works in /usr/local/mysql
PLEASE someone please help me compile just this simple program. What am
I missing?
When I co