ID:               47972
 Comment by:       amiroot at yahoo dot com
 Reported By:      diwakar211 at gmail dot com
 Status:           No Feedback
 Bug Type:         MySQL related
 Operating System: AIX-5.3
 PHP Version:      5.2.9
 New Comment:

Sorry I missed the version of PHP I tried. It failed on PHP 5.2.10 and
ALL php 5.3 CSV. But it works for PHP 5.2.9


Previous Comments:
------------------------------------------------------------------------

[2009-06-29 07:23:22] amiroot at yahoo dot com

I'm using RedHat EL5 64bit and I encounter the same problem.

I installed both 32 and 64 version of libmysqlclient.so which located
in /usr/lib/mysql and /usr/lib64/mysql respectively. Sounds like the
configure script seek for only /usr/lib/mysql. Here is the error in
config.log

configure:60459: gcc -o conftest -I/usr/include -g -O2 -pthread 
-D_REENTRANT -Wl,-rpath,/usr/lib/mysql -L/usr/lib/mysql -L/usr/lib 
-Wl,-rpath,/usr/kerberos/lib64 -L/usr/kerberos/lib64 -Wl,-rpath,/usr
-L/usr conftest.c -lmysqlclient_r  -lz -lmcrypt -lltdl -lcrypt -lpam
-lfreetype -lpng -lz -ljpeg -lgdbm -lcurl -lz -lresolv -lm -ldl -lnsl 
-lxml2 -lz -lm -lcurl -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -lresolv
-ldl -lidn -lssl -lcrypto -lz -lxml2 -lz -lm -lgssapi_krb5 -lkrb5
-lk5crypto -lcom_err -lssl -lcrypto -ldl -lz 1>&5
/usr/bin/ld: skipping incompatible /usr/lib/mysql/libmysqlclient_r.so
when searching for -lmysqlclient_r
/usr/bin/ld: skipping incompatible /usr/lib/mysql/libmysqlclient_r.a
when searching for -lmysqlclient_r
/usr/bin/ld: cannot find -lmysqlclient_r
collect2: ld returned 1 exit status
configure: failed program was:
#line 60448 "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; }

------------------------------------------------------------------------

[2009-04-24 01:00:00] php-bugs at lists dot php dot net

No feedback was provided for this bug for over a week, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".

------------------------------------------------------------------------

[2009-04-16 10:42:42] j...@php.net

How about doing what configure tells you: Check config.log ?

------------------------------------------------------------------------

[2009-04-16 04:39:29] diwakar211 at gmail dot com

Thanks for the reply

i have used the latest version that you provided

 http://snaps.php.net/php5.2-latest.tar.gz

but still i am getting same issue, please help me out

------------------------------------------------------------------------

[2009-04-15 14:21:30] il...@php.net

Please try using this CVS snapshot:

  http://snaps.php.net/php5.2-latest.tar.gz
 
For Windows:

  http://windows.php.net/snapshots/



------------------------------------------------------------------------

The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
    http://bugs.php.net/47972

-- 
Edit this bug report at http://bugs.php.net/?id=47972&edit=1

Reply via email to