Hey guys,
I was compiling php 5.1.4 and during the process of adding mysql support I get a the error below. I have search quite a bit and can't seem to find a resolution. Any help from you all will be greatly appreciated.
/usr/bin/ld: cannot find -lmysqlclient
collect2: ld returned 1 exit status
configure: failed program was:
#line 58781 "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; }
Thank you,
php compile error for mysql support
Moderator: General Moderators
-
nayabinghi
- Forum Newbie
- Posts: 1
- Joined: Mon Jul 17, 2006 8:43 am