Re: Problem with C API and mysql

2001-06-05 Thread Sinisa Milivojevic
kenneth johansen writes: > hello everybody. > Ive been working with perl and mysql for some time, but recently i had > to move over > to C and as such i wrote a small test program, just to get to know the > mysql C API. > Well, things didnt go as i thought. i kept getting linking problems > and in

Re: Problem with C API and mysql

2001-06-05 Thread Gerald Clark
kenneth johansen wrote: } > + > > i compile this with: > gcc -I/usr/local/mysql/include/ -L/usr/local/mysql/lib/ program.c > -lmysqlclient > add -lz -- Gerald L. Clark [EMAIL PROTECTED] --

Problem with C API and mysql

2001-06-05 Thread kenneth johansen
hello everybody. Ive been working with perl and mysql for some time, but recently i had to move over to C and as such i wrote a small test program, just to get to know the mysql C API. Well, things didnt go as i thought. i kept getting linking problems and in the end my test program was limited to