Problems compiling PHP with mysql support as a apache DSO on a HPUX11.x box

2002-02-20 Thread Andre Konopka

Hi,

mmh, maybe it's not a mysql-problem...
Yes, I read through the numerous threads about this topic but I can't
solve my problem

After compiling php-4.1.1 with mysql support (mysql-3.23.47) as a DSO
(./configure --enable-libgcc  --with-mysql=/opt/mysql-3.23.47 
--with-apxs=/opt/apache-1.3.23/bin/apxs)

apache complains with the following error:


  bin/apachectl start
/usr/lib/dld.sl: Unresolved symbol: __umoddi3 (code)  from 
/opt/mysql-3.23.47/lib/mysql/libmysqlclient.sl.10
Syntax error on line 236 of /opt/apache-1.3.23/conf/httpd.conf:
Cannot load /opt/apache-1.3.23/libexec/libphp4.so into server: No such 
file or directory
bin/apachectl start: httpd could not be started



I compiled all the stuff with gcc version 2.95.2 19991024 (release)

Here are the options I used to compile MySQL

CXX=gcc
CFLAGS=-fomit-frame-pointer -O6 -fpic
CXXFLAGS=-felide-constructors -fno-exceptions -fno-rtti -O6
./configure --prefix=/opt/mysql-3.23.47 --with-low-memory --with-innodb

chatr


Any idea??


-
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/   (the list archive)

To request this thread, e-mail [EMAIL PROTECTED]
To unsubscribe, e-mail [EMAIL PROTECTED]
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php




Re: Problems compiling PHP with mysql support as a apache DSO on a HPUX11.x box

2002-02-20 Thread Andre Konopka

Wolfgang Pichler wrote:

 Do you have also recompiled apache after compiling php ?
 




YES




 Am Mit, 2002-02-20 um 10.04 schrieb Andre Konopka:
 
Hi,

mmh, maybe it's not a mysql-problem...
Yes, I read through the numerous threads about this topic but I can't
solve my problem

After compiling php-4.1.1 with mysql support (mysql-3.23.47) as a DSO
(./configure --enable-libgcc  --with-mysql=/opt/mysql-3.23.47 
--with-apxs=/opt/apache-1.3.23/bin/apxs)

apache complains with the following error:


  bin/apachectl start
/usr/lib/dld.sl: Unresolved symbol: __umoddi3 (code)  from 
/opt/mysql-3.23.47/lib/mysql/libmysqlclient.sl.10
Syntax error on line 236 of /opt/apache-1.3.23/conf/httpd.conf:
Cannot load /opt/apache-1.3.23/libexec/libphp4.so into server: No such 
file or directory
bin/apachectl start: httpd could not be started



I compiled all the stuff with gcc version 2.95.2 19991024 (release)

Here are the options I used to compile MySQL

CXX=gcc
CFLAGS=-fomit-frame-pointer -O6 -fpic
CXXFLAGS=-felide-constructors -fno-exceptions -fno-rtti -O6
./configure --prefix=/opt/mysql-3.23.47 --with-low-memory --with-innodb

chatr


Any idea??


-
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/   (the list archive)

To request this thread, e-mail [EMAIL PROTECTED]
To unsubscribe, e-mail [EMAIL PROTECTED]
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php





 
 
 
 




-
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/   (the list archive)

To request this thread, e-mail [EMAIL PROTECTED]
To unsubscribe, e-mail [EMAIL PROTECTED]
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php




Re: Problems compiling PHP with mysql support as a apache DSO on a HPUX11.x box

2002-02-20 Thread Andre Konopka

Yes, I read through the numerous threads about this topic but I can't
solve my problem

After compiling php-4.1.1 with mysql support (mysql-3.23.47) as a DSO
(./configure --enable-libgcc  --with-mysql=/opt/mysql-3.23.47 
--with-apxs=/opt/apache-1.3.23/bin/apxs)

apache complains with the following error:


  bin/apachectl start
/usr/lib/dld.sl: Unresolved symbol: __umoddi3 (code)  from 
/opt/mysql-3.23.47/lib/mysql/libmysqlclient.sl.10
Syntax error on line 236 of /opt/apache-1.3.23/conf/httpd.conf:
Cannot load /opt/apache-1.3.23/libexec/libphp4.so into server: No such 
file or directory
bin/apachectl start: httpd could not be started

 
 Ok, so /opt/apache-1.3.23/libexec/libphp4.so does not exist.
 Look at httpd.conf, where are the other Apache modules loaded from?


Sorry, didn't mention it, of course 
/opt/apache-1.3.23/libexec/libphp4.so exist.
Apache complains with a systeax error if apache could not load module...



Andre


-
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/   (the list archive)

To request this thread, e-mail [EMAIL PROTECTED]
To unsubscribe, e-mail [EMAIL PROTECTED]
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php