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

        LD_LIBRARY_PATH = /usr/lib:/usr/local/lib:/usr/local/lib/mysql
>How-To-Repeat:
>Fix:
        <how to correct or work around the problem, if known (multiple lines)>

>Submitter-Id:  <submitter ID>
>Originator:    Priamikov Alexei
>Organization:  none
>MySQL support: email support
>Synopsis:      <synopsis of the problem (one line)>
>Severity:      non-critical
>Priority:      medium
>Category:      mysql
>Class:         support
>Release:       mysql-3.22.32 (Source distribution)
>Server: /usr/local/bin/mysqladmin  Ver 8.0 Distrib 3.22.32, for -freebsd4.0 on i386
TCX Datakonsult AB, by Monty

Server version          3.22.32
Protocol version        10
Connection              Localhost via UNIX socket
UNIX socket             /tmp/mysql.sock
Uptime:                 4 days 20 hours 25 min 56 sec

Threads: 1  Questions: 1  Slow queries: 0  Opens: 6  Flush tables: 1  Open tables: 2
>Environment:
        <machine, os, target, libraries (multiple lines)>
System: FreeBSD ws9.econ.novsu.ac.ru. 4.0-RELEASE FreeBSD 4.0-RELEASE #2: Thu Feb  8 
17:33:30 MSK 2
001     [EMAIL PROTECTED]:/usr/src/sys/compile/IEM  i386


Some paths:  /usr/bin/perl /usr/bin/make /usr/local/bin/gmake /usr/bin/gcc /usr/bin/cc
GCC: Using builtin specs.
gcc version 2.95.2 19991024 (release)
Compilation info: CC='gcc'  CFLAGS=''  CXX='gcc'  CXXFLAGS=''  LDFLAGS=''
Configure command: ./configure  --with-unix-socket-path=/var/tmp/mysql.sock 
--with-low-memory --wit
h-mit-threads=yes
Perl: This is perl, version 5.005_03 built for i386-freebsd



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