MySQL v3.23 and C API
Hello: I'm working on a server running FreeBSD 4.7-RELEASE. I've developed a C server program that works fine. I want to add code to read from and update fields in a MySQL database to the original program. When I do I get compilation errors that I cannot seem to resolve. I have a number of packages installed. The ones that seem related are: gmake-3.79.1_3 GNU version of 'make' utility mysql-client-3.23.52 Multithreaded SQL database (client) mysql-server-3.23.52_1 Multithreaded SQL database (server) The errors I get are as follows. I get these if using cc or gcc to compile the program. host# cc -o locserv locserv.c /tmp/ccJdDxg3.o: In function `main': /tmp/ccJdDxg3.o(.text+0x6ca): undefined reference to `mysql_init' /tmp/ccJdDxg3.o(.text+0x7bc): undefined reference to `mysql_real_query' /tmp/ccJdDxg3.o(.text+0x7f3): undefined reference to `mysql_store_result' /tmp/ccJdDxg3.o(.text+0x80d): undefined reference to `mysql_num_rows' /tmp/ccJdDxg3.o(.text+0x877): undefined reference to `mysql_fetch_row' Can anyone help explain what the problem is and how to correct it? Thanks,Steve [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Adding packages to the 4.7-RELEASE
Hello: I'm having difficulty locating a download site where I can get a python interpreter. I am running 4.7-RELEASE and both /stand/sysinstall and browing mirror sites using a web browser turn up nothing. Can you either mail me the python package or point me to a site where I get retrieve it? I've tried setting my release to "any" but that has not fixed or changed the problem. Thanks,Steve -- ISC Network Engineering The University of Pennsylvania 3401 Walnut Street, Suite 221A Philadelphia, PA 19104 voice: 215-573-8396 fax: 215-898-9348 sip:[EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"