PHP installation problem

2005-11-14 Thread Uthra Rao
I am having a hard time compiling php 5.0.5 on solaris 10. I have already 
installed mysql 5.0.15 (Binary) 64-bit.


./configure --prefix=/PATH/php505 --with-apxs2=/PATH/apache/bin/apxs 
--with-mysql=/PATH/mysql/ --enable-dbase --with-zlib-dir=/path/php505/ 
--with-pear


This ends with - error: mysql config failed

I have attached part of the config.log file:

ld: warning: file /apps/mysql//lib/libmysqlclient.a(client.o): wrong ELF 
class: ELFCLASS64

Undefined   first referenced
 symbol in file
mysql_error /var/tmp//cciQfQiO.o
ld: fatal: Symbol referencing errors. No output written to conftest
collect2: ld returned 1 exit status
configure: failed program was:
#line 61645 configure
#include confdefs.h
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
builtin and then its argument prototype would still apply.  */
char mysql_error();

int main() {
mysql_error()
; return 0; }
 
*
I am installing php 5.0.5 on a solaris 10 server 64-bit. I have already 
installed mysql 5.0.15 (Binary) 64-Bit.
I already have Apache 2.0.54 running on this server. All the applications 
are installed in a non-global zone in Solaris 10. I am not sure if the 
problem installing php is because of 64-Bit Mysql. I would really 
appreciate some help.


Thank You

UR.



install_driver (mysql) failed

2005-09-01 Thread Uthra Rao
We are running mysql 4.1.13 on solaris 9 box. Everything was fine until 
someone accidentally deleted the mysql directory where the application was 
installed. I had to retrieve it from our backup tape. I then stopped and 
started mysqld daemon. Please note that we had installed mysql with the 
binary tar file. Since we restored the mysql application directory form our 
backup we are getting the following error with our databases that 
interfaces with perl in the cgi-bin.



Software error:

install_driver(mysql) failed: Can't load 
'/usr/local/lib/perl5/site_perl/5.8.0/sun4-solaris/auto/DBD/mysql/mysql.so' 
for module DBD::mysql: ld.so.1: perl: fatal: libmysqlclient.so.10: open 
failed: No such file or directory at 
/usr/local/lib/perl5/5.8.0/sun4-solaris/DynaLoader.pm line 229.

 at (eval 4) line 3
Compilation failed in require at (eval 4) line 3.
Perhaps a required shared library or dll isn't installed where expected
 at /PATH/PATH/PATH/cgi-bin/filename.cgi line 55


I would appreciate some help as soon as possible. Thank you.

URR.