Problem with ./configure with PHP 5.2.5 and mySQL 5.0.45

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



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>&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

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:
  1. Fedora 8
  2. Apache 1.3.41
  3. 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


Sell your car for just $30 at CarPoint.com.au. It's simple!

[Index of Archives]     [PHP Users]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [Postgresql]     [PHP Books]     [PHP Databases]     [PHP SOAP]
  Powered by Linux