Ben Goodwin said:
[Charset iso-8859-1 unsupported, filtering to ASCII...]
> Based on the prefix for your MySQL installation (--prefix=/usr/local/mysql
> '), you're not using the right paths.  You need to set the -I<directory> to
> be where your mysql.h file is, and the -L<directory> to be where your
> libmysqlclient.so (or .a if compiling static) file is.  I'd recommend trying
> the following values
> 
> MYSQLFLAGS = -I/usr/local/mysql/include/mysql
> MYSQLLIBS = -L/usr/local/mysql/lib/mysql -lmysqlclient
> 
> That may not be quite right - check for the locations of the above-mentioned
> files and adjust if need be.


That path isn't where mysql is installed. I checked the paths; my makefile
has the correct path.  CC can find the header files, and the linker can find
the lib (using truss I can see the linker open the file).

I'm not sure where the --prefix cam frome.  Is that a compile-time option? 
I didn't actually compile the MySQL DB myself.  I downlaoded the Solaris
tar.

Thanks for your help!

Steve Cogorno
Sun Microsystems

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