-
Compliling with libs
Compile Statement on my Dev Server:
Code:
g++33 app.cpp -L /usr/local/lib/mysql/ -lmysqlclient -lz -I /usr/local/include/mysql -I ./ -I /usr/local/include -fPIC -Wall -shared -o app.so
(I also include the mysql.h header file)
My question is:
Will I have to insall the mysql client lib on each production box ?
or
Is it all complied within the 1 .so shared lib ?
-
Well you could do "nm" on the library you produce to see whether the code (well lots of mysql symbols) is in the library or not.