>> Well, I tried this and I still get the same error. I have
>> run both:
> What's the actual error again? I didn't see it in your original
> post. Can you post the last few lines that are displayed before it
> dies?
===========================================================================
checking for mysql_close in -lmysqlclient... no
checking for mysql_error in -lmysqlclient... no
configure: error: mysql configure failed. Please check config.log for more information.
===> Script "configure" failed unexpectedly.
the "/usr/ports/www/mod_php4/work/php-4.2.3/config.log" including the
output of the failure of your make command. Also, it might be a good
idea to provide an overview of all packages installed on your system
(e.g. an `ls /var/db/pkg`).
*** Error code 1
Stop in /usr/ports/www/mod_php4.
*** Error code 1
Stop in /usr/ports/www/mod_php4.
===========================================================================
The error in the config.log (as requested in the above error) is:
===========================================================================
configure:39907: checking for mysql_error in -lmysqlclient
configure:39926: cc -o conftest -O -pipe -I/usr/local/include -DHARD_SERVER_LIMIT=512 -DDOCUMENT_LOCATION=
"/usr/local/www/data/" -DDEFAULT_PATH="/usr/local/bin:/bin:/usr/bin" -DACCEPT_FILTER_NAME="httpready" -DMOD_
SSL=208112 -DEAPI -DEAPI_MM -DUSE_EXPAT
-L/usr/lib -L/usr/local/lib/mysql
-R/usr/local/lib -L/usr/local/lib -R/usr
-L/usr conftest.c -lmysqlclient -lz -lmhash -lmcve -lmcrypt -lssl -lcrypto -lm -lcrypt 1>&5
/usr/local/lib/libmcve.so: undefined reference to `pthread_mutex_unlock'
/usr/local/lib/libmcve.so: undefined reference to `pthread_mutex_destroy'
/usr/local/lib/libmcve.so: undefined reference to `pthread_mutex_lock'
/usr/local/lib/libmcve.so: undefined reference to `pthread_mutex_init'
configure: failed program was:
#line 39915 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
builtin and then its argument prototype would still apply. */
char mysql_error();
int main() {
mysql_error()
; return 0; }
===========================================================================
I don't seem to be the only one getting this problem:
<http://groups.google.com/groups?hl=en&lr=&ie=UTF-8&oe=UTF-8&q=freebsd...
ab=wg>
Thanks!
Mike