> 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
CTED]>
> To: [EMAIL PROTECTED]
> Subject: Can't link with C API
> Date: 06 Sep 2002 21:19:04 -0700
>
> >Description:
> I must be missing something terribly obvious, but I cannot get
> my client program to link. I get messages like this:
>
eve Cogorno" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Saturday, September 07, 2002 12:19 AM
Subject: Can't link with C API
> >Description:
> I must be missing something terribly obvious, but I cannot get
> my client program to link. I get messages like this:
>
>Description:
I must be missing something terribly obvious, but I cannot get
my client program to link. I get messages like this:
ild: (undefined symbol) mysql_free_result -- referenced in the text
segment of dbinterface.o
The reference manual says