hi this is my command
cc -I/usr/local/include/mysql prog.c -lmysqlclient -lsocket -lnsl -lm -lz
i know about mysqlclient and m means math.
but i don't know about socket,nsl,z.
can u tell my they all include.
thank u,
sree.
hi this is my command
cc -I/usr/local/include/mysql prog.c -lmysqlclient -lsocket -lnsl -lm -lz
i know about mysqlclient and m means math.
but i don't know about socket,nsl,z.
can u tell my they all include.
thank u,
sree.
Eg
nm /usr/include/libz.a
would print all the symbols which that library would resolve.
If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
If at first you don't succeed, try writing your phone number on the exam paper.