Re: unresolved external symbol _mysql_real_escape_string when building with PDO
| From: | Matthew Peters | Date: | Wed, 14 Sep 2005 10:50:33 +0000 |
| Subject: | Re: unresolved external symbol _mysql_real_escape_string when building with PDO | ||
| References: | 1 2 | Groups: | php.pecl.dev |
| Request: | Send a blank email to pecl-dev+get-2919@lists.php.net to get a copy of this message | ||
Wez Furlong wrote:
It sounds like there's a problem with your build environment (I could be wrong though). Are you sure your mysql header files match up to the library files you have?Wez, thanks for answering. I am sure you are right about my build environment. FWIW: 1. I find I need --with-mysql since mysql_real_escape_string is defined in ext\mysql\php_mysql.c 2. The reason I don't find CLIENT_INTERACTIVE when I specify --with-mysql is because it is picking up mysql.h and other includes from the ../win32build/include directory that I downloaded and they do not define it. I expect I need to update the includes in this directory or configure the build to include them from elsewhere, and this is what you have already done. Matthew