php-install Digest 14 Jun 2003 04:35:04 -0000 Issue 1422
Topics (messages 11075 through 11077):
php-mysql build problem
11075 by: Grimes, Dean
./configure fails on RedHat 9
11076 by: Peter Shawe
Problem with PHP
11077 by: Benoit Tremblay
Administrivia:
To subscribe to the digest, e-mail:
[EMAIL PROTECTED]
To unsubscribe from the digest, e-mail:
[EMAIL PROTECTED]
To post to the list, e-mail:
[EMAIL PROTECTED]
----------------------------------------------------------------------
--- Begin Message ---
I'm having some trouble with linking mysql-4.0.13 into php-4.3.2. I am
getting following error:
//usr/lib/libresolv.so.1: fatal error: symbol `_res` multiply defined in two
shared objects /usr/lib/libsocket.so: size = 448; //usr/lib/libresolv.so.1:
size = 512
collect2: ld returned 1 exit status
make: *** [sapi/cli/php] Error 1
I'm compiling on SCO OperServer 5.0.6 using:
gcc-2.95.2
make-3.80
php-4.3.2
mysql-4.0.13
apache_1.3.27
MySQL builds and installs fine. PHP configure fine and is making it through
95 percent build. The configure command to produce the problem in it's
simplest form:
configure --with-mysql=<path to mysql install>
If I don't specify MySQL in the build then PHP builds fine. I'm not sure if
it's a MySQL or PHP problem, or if it's a SCO library problem. So, I'm
posting this question to all. If anyone has any idea or needs any additional
information please let me know.
Thanks
--- End Message ---
--- Begin Message ---
Hi,
I'm installing Apache/MySQL/PHP on a RedHat 9 box, to replace a
similarly configured RedHat 7 box.
I did a clean install of RedHat 9.
I installed Apache from source (v1.3.27); no problems.
I installed MySQL from RPM's (v4.0.13); no problems.
Trying to build PHP (v4.3.2) from source; can't get beyond ./configure
Initially ./configure would go thru a large number of test before
halting like this
=======================================
<many tests snipped...>
checking for sys/utsname.h... yes
checking for sys/ipc.h... yes
checking for fopencookie... yes
configure: error: can not run test program while cross compiling
=======================================
Having read all the docs I could get, FAQs, Usenet archives and
mailing list archives the best idea I could find was delete
./configure and recreate it with buildconfig. I did that and now
./configure halts like this (the complete output)
=======================================
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for gcc... gcc
checking for C compiler default output... a.out
checking whether the C compiler works... configure: error: cannot run
C
compiled programs.
If you meant to cross compile, use `--host'.
See `config.log' for more details.
=======================================
The common theme is cross compiling; but I'm not trying to cross
compile. The compiler is gcc (v3.2.2).
I did find a PHP bug database entry which matched the second sceanrio
above. But there was no details on what caused it and it ends with
"Fixed in current CVS". Only that was Feb 2002.
Any ideas are welcome at this stage. I'm stumped!
TIA
Peter.
--
==========================================================================
Peter Shawe PGP KeyID: 0x4BC57795
Dublin, Ireland
--- End Message ---
--- Begin Message ---
I,
I have installed apache (with module so enable) and PHP 4.3.2 but I search the file
libphp4.so and he is not in my computer. Why? I think it's require for run PHP in
apache.
Thank you,
Benoit Tremblay
--- End Message ---