-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

> If you're using PHP you want the Perl DBI stuff. The C API
> is for C apps. If you are compiling a C application and
> are having trouble linking, post your specific issues and
> I'll be glad to help.


Well, I tried it many times... here is the last:

gcc -L/usr/local/lib/mysql -lmysqlclient -lnsl -lm -o rpgservices conn.o io.o 
main.o 
main.o(.text+0x80): In function `main':
: undefined reference to `mysql_connect'
collect2: ld returned 1 exit status

(I also tried with an additional -lsocket, but it cannot find it...)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (GNU/Linux)

iQEVAwUBP5t5u5FyPD7t0rMPAQILdQf+JyCWMV8RU6eSw21UG/ach9frm2E4nvrf
+cKGplvk8HkgD+r7ewhH5zm0RrA2veuGPPu3woi9dVXTeUWWkPMguGPKjyCx+S+r
sCWo+kvQ30c2xbFMuuiDI1bzoi4HCzN0ssnkjJIR36C3VdJNKomLAPJByfftq1Pw
zoWXPrsbUzHs++WNyOoOlmzeGpII69VtWOyGcdKSwjALPjqxGuTXeFKQMa1QID+J
TBR3X2wragjTprY8A46fAH15SX33V11Qv/ouX4iZ0Z8HK17ymN4295ABVhoSIE+f
78NYQJVMeM6mtWu2ZNhCaN9AQeudHS1GS0Wa72aMDr8eURJ8Nm3eqQ==
=ZvRA
-----END PGP SIGNATURE-----


--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:    http://lists.mysql.com/[EMAIL PROTECTED]

Reply via email to