Hi all,
 
During PHP 5.2.5 installation, when I ran using root account:
./configure
--with-mysql=/usr/local/mysql
--with-apxs=/usr/local/apache/bin/apxs
--with-zlib-dir=/usr/local/include'
I hit the following problem (as shown in debug.log)
 
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 -lz -lresolv -lm -ldl -lnsl  -lxml2 -lz -lm -lxml2 -lz -lm -lxml2 
-lz -lm -lcrypt 1>&5conftest.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
I did: 
# ls /usr/local/mysql/lib/libmysqlclient.so* -la-rwxr-xr-x 1 503 users 2286543 
2007-07-08 04:46 /usr/local/mysql/lib/libmysqlclient.so.15
I have the following environment:


Fedora 8

Apache 1.3.41

mySQL 5.0.45
If I just run "'./configure --with-apxs=/usr/local/apache/bin/apxs 
--with-zlib-dir=/usr/local/include", then I don't have this problem.
Can anyone please give me a helping hand?
 
Regards,
 
 
John Lee
_________________________________________________________________
It's simple! Sell your car for just $30 at CarPoint.com.au
http://a.ninemsn.com.au/b.aspx?URL=http%3A%2F%2Fsecure%2Dau%2Eimrworldwide%2Ecom%2Fcgi%2Dbin%2Fa%2Fci%5F450304%2Fet%5F2%2Fcg%5F801459%2Fpi%5F1004813%2Fai%5F859641&_t=762955845&_r=tig_OCT07&_m=EXT

Reply via email to