ID: 14498
Updated by: georg
Reported By: [EMAIL PROTECTED]
Old Status: Assigned
Status: Closed
Bug Type: MySQL related
Operating System: Cobalt Linux 5.0
PHP Version: 4.1.0
Assigned To: zak
New Comment:

Thats not a php-bug, its a mysql/cobalt problem.
Configure mysql with following additional options:

-disable-shared -with-mysqld-ldflags="-all-static" 
-with-client-ldflags="-all-static"


Previous Comments:
------------------------------------------------------------------------

[2001-12-31 19:14:51] [EMAIL PROTECTED]

By not specifying a path to the MySQL libraries, you are 
using PHP's built-in library.

I would guess this is a problem with MySQL - I will check 
it out.


------------------------------------------------------------------------

[2001-12-13 17:36:06] [EMAIL PROTECTED]

Compiled MySQL 3.23.46 with these configure options:

./configure \
--prefix=/usr/local/mysql \
--enable-assembler \
--with-low-memory

Compiled PHP 4.10 with these options:

./configure --with-apxs=/usr/sbin/apxs \
--with-mysql=/usr/local/mysql \
--with-imap=/usr/local/src/imap-2000c \
--with-imap-ssl \
--with-zlib \
--enable-track-vars \
--with-gettext \
--with-gd \
--with-jpeg-dir=/usr/local/lib \
--with-mm=/usr/local/lib/mm \
--enable-sysvshm \
--enable-ftp

Starting Apache 1.3.22 with "apachectl start" gives me this:

Syntax error on line 238 of /etc/httpd/conf/httpd.conf:
Cannot load /usr/lib/apache/libphp4.so into server: 
/usr/local/mysql/lib/mysql/libmysqlclient.so.10: undefined symbol: 
my_message_no_curses

I can work-around this bug by NOT specifying the dir when configuring PHP i.e. 
(--with-mysql as opposed to --with-mysql=/usr/local/mysql)



------------------------------------------------------------------------



Edit this bug report at http://bugs.php.net/?id=14498&edit=1


-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to