Hi!

>>following error comes 
>>       could not find "libmysqlclient" in
>>"/usr/local/mysql/lib/mysql" or "/usr/lib/mysql" 
>>
>>I checked the directory and in "/usr/lib/mysql/" and i
>>found these files "libmysqlclient.a" 
>>"libmysqlclient.la"

Though I havent seen the MyODBC source, but I feel there will be one
Makefile ( or Makefile.in ) .. 

modify the following lines as

LDFLAGS = @LDFLAGS@ -L/usr/lib/mysql 
LIBS = @LIBS@ -lmysqlclient

where @LIBS@ and @LDFLAGS@ may be some predefined values. just append to
the end of the lines.

HTW

Tusar

OOPS! I forgot to ask, did you install MySQL-devel package or not? -;)
You need that first to have MySQL client development.

Tusar K Nayak(aka Lohit)
@Communicators
Phone: 91 - 11 - 5528098(R)
URL: http://tusar.netshooter.com/
ICQ # 62389634
*************************************************
When in doubt, follow your heart.



-----------------------------------------------------------------------
For information on this and other Linux India mailing lists check out
http://lists.linux-india.org/

Reply via email to