> 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
rm said:
> Steve,
>
> in this line:
> MYSQLLIBS = -L /work/doctools/mysql-3.23.52/lib -lmysqlclient
>
> Try eliminating the space between -L and /work/
> that format always works for me using gcc.
>
> Other than that, I don't see anything that looks wrong.
Thanks for the suggestion.
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 to
> be where your mysql.h file is, and the -L to be where your
> libmysqlclient.so
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 to
be where your mysql.h file is, and the -L to be where your
libmysqlclient.so (or .a if compiling static) file is. I'd recommend trying
the following values