Hello,
        I wrote my own C code which is using MySQL C API to connect to
        MySQL server. I compile with follow line:
        >gcc -I/usr/local/include/mysql -L/usr/local/lib/mysql mysql_auth.c -o 
mysql_auth -lm -lmysqlclient
        My Free BSD 4.0 writes me:
        : No such file or directory open -lmysqlclient


        ldconfig -r lists my libraries and I see
        59:-lmysqlclient.6 => /usr/local/lib/mysql/libmysqlclient.so.6

        My LD_LIBRARY_PATH env is LD_LIBRARY_PATH = 
/usr/lib:/usr/local/lib:/usr/local/lib/mysql

        So could any one tellme what's wrong and what should I do
        for successful compilation?

Best regards

Priamikov Alexei



---------------------------------------------------------------------
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

Reply via email to