Hello,

I'm having a problem while installing PHP 5.2.3.

../configure --with-apxs2=/usr/local/apache2/bin/apxs
--with-mysql=/usr/local/mysql  --disable-cgi Outputs the debug log attached,
and I do not know how to solve this error.



Regards,
Omer Korner
CONFIGURE:   './configure' '--with-apxs2=/usr/local/apache2/bin/apxs' '--with-mysql=/usr/local/mysql' '--disable-cgi'
CC:         gcc
CFLAGS:     -I/usr/include -g -O2
CPPFLAGS:   
CXX:        
CXXFLAGS:   
INCLUDES:    -I/usr/include/libxml2 -I/root/php-5.2.3/ext/date/lib -I/usr/local/mysql/include
LDFLAGS:    -L/usr/lib  -Wl,-rpath,/usr/local/mysql/lib -L/usr/local/mysql/lib
LIBS:       -lcrypt -lrt -lmysqlclient -lresolv -lm -ldl -lnsl  -lxml2 -lz -lm -lxml2 -lz -lm -lxml2 -lz -lm -lcrypt
DLIBS:      
SAPI:       apache2handler
PHP_RPATHS:  /usr/local/mysql/lib
uname -a:   Linux IAM001 2.6.18-8.1.6.el5 #1 SMP Thu Jun 14 17:46:09 EDT 2007 i686 i686 i386 GNU/Linux

gcc -o conftest -I/usr/include -g -O2  -L/usr/lib  -Wl,-rpath,/usr/local/mysql/lib -L/usr/local/mysql/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/lib/libmysqlclient.so.15: cannot restore segment prot after reloc: Permission denied

Reply via email to