help for a newb - php install erroring out on MySQL filelibmysqlclient.so.15
am 13.10.2007 19:27:40 von Dave Cocuzzi--------------060608020706040109030503
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
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/li b
-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/libmysqlc lient.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
--------------060608020706040109030503--