DhoTjai
Verified User
Hello all,
I have a problem after updating mysql.
I can not start httpd
I am getting this:
I have also tried to run ./build php n
Which gives me this in config.log
How can I fix this?
Help appreciated!
With kind regards,
DhoTjai
I have a problem after updating mysql.
I can not start httpd
I am getting this:
[root@link ~]# /sbin/service httpd restart 2>&1
Stopping httpd: [FAILED]
Starting httpd: Syntax error on line 81 of /etc/httpd/conf/httpd.conf:
Cannot load /usr/lib/apache/libphp4.so into server: libmysqlclient.so.15: cannot open shared object file: No such file or directory
[FAILED]
I have also tried to run ./build php n
Which gives me this in config.log
configure:62428: checking for mysql_error in -lmysqlclient
configure:62447: gcc -o conftest -g -O2 -Wl,-rpath,/usr/kerberos/lib -L/usr/kerberos/lib -Wl,-rpath,/usr/kerberos/lib64 -L/usr/kerberos/lib64 -Wl,-rpath,/usr/local/lib -L/usr$
/usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-redhat-linux/3.4.6/../../../libmysqlclient.so when searching for -lmysqlclient
/usr/bin/ld: skipping incompatible /usr/lib/libmysqlclient.so when searching for -lmysqlclient
/usr/bin/ld: cannot find -lmysqlclient
collect2: ld returned 1 exit status
configure: failed program was:
#line 62436 "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; }
How can I fix this?
Help appreciated!
With kind regards,
DhoTjai