help for a newb - php install erroring out on MySQL file libmysqlclient.so.15
| From: | Dave Cocuzzi | Date: | Sat, 13 Oct 2007 17:27:40 +0000 |
| Subject: | help for a newb - php install erroring out on MySQL file libmysqlclient.so.15 | ||
| Groups: | php.db | ||
| Request: | Send a blank email to php-db+get-44211@lists.php.net to get a copy of this message | ||
This is kind of db related since the error appears to be occurring when accessing a MySQL file.
This install is on Fedora 6 with Apache 2 and MySQL 5.0.45.
While doing the php install the config script errors out when it gets to "creating main/internal_functions_cli.c".
This is part of the general message:
"ATTENTION Something is likely messed up here, because the configure script was not able to detect a simple feature on your platform.... .... ...see the debug.log file".
debug.log contains this error:
gcc -o conftest -I/usr/include -g -O2 -L/usr/lib -Wl,-rpath,/usr/local/mysql-5.0.45-linux-i686-icc-glibc23/lib -L/usr/local/mysql-5.0.45-linux-i686-icc-glibc23/lib conftest.c -lcrypt -lrt -lmysqlclient -lresolv -lm -ldl -lnsl -lxml2 -lz -lm -lxml2 -lz -lm -lxml2 -lz -lm -lcrypt 1>&5
conftest.c: In function 'main':
conftest.c:3: warning: incompatible implicit declaration of built-in function 'exit'
./conftest: error while loading shared libraries: /usr/local/mysql-5.0.45-linux-i686-icc-glibc23/lib/libmysqlclient.so.15: cannot restore segment prot after reloc: Permission denied
There is indeed a libmysqlclient.so.15 owned by mysql. I am surely not about to edit it and really am not sure how to go about correcting this.
--
Dave Cocuzzi
davec@geckosfeet.com <mailto:davec@geckosfeet.com>