how we can compile the mysql program in mac os
i already done it in linux
i am new to mac-os
so please tell me how to compile the following program.
http://www.cyberciti.biz/tips/linux-...i-program.html
thank u
sree
Printable View
how we can compile the mysql program in mac os
i already done it in linux
i am new to mac-os
so please tell me how to compile the following program.
http://www.cyberciti.biz/tips/linux-...i-program.html
thank u
sree
ok i tried like this
gcc req.c -I/usr/include/mysql -L/usr/lib/mysql/ -lmysqlclient -o req
i got the following error how can i solve this
/usr/bin/ld: Undefined symbols:
_compress
_uncompress
collect2: ld returned 1 exit status
so how can i solve this
thank u
sreee
Find which library implements "compress" and "uncompress", then add the appropriate "-l" option to the end of your command line.