I didn't get a confirmation mail or anything so here goes ... I'm trying to compile a simple C program to access a db and dump out the info (for testing purposes). Here is what I get when I try to compile it: ebulon:/var/www/www.miester.org/cgi-bin# gcc -g -o miesterc miesterc.c -I/usr/local/mysql/include/mysql -L/usr/local/mysql/lib -lmysqlclient -lsocket -lnsl /usr/bin/ld: cannot find -lsocket collect2: ld returned 1 exit status I have installed the deb package socket ... not sure what I need to do from here (I'm somewhat new to C as well ...) Thanks for any help and please cc me since I'm not sure if I'm on the list yet. Thanks! --Joe Joe Stump <[EMAIL PROTECTED]> ------------------------------------------------------------------------ "To each his own - My own is GNU/Linux" --Joe Stump --------------------------------------------------------------------- Before posting, please check: http://www.mysql.com/manual.php (the manual) http://lists.mysql.com/ (the list archive) To request this thread, e-mail <[EMAIL PROTECTED]> To unsubscribe, e-mail <[EMAIL PROTECTED]> Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php