Bug #14498 Updated: undefined symbol: my_message_no_curses
| From: | georg@php.net | Date: | Tue, 01 Jan 2002 09:16:33 +0000 |
| Subject: | Bug #14498 Updated: undefined symbol: my_message_no_curses | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-75481@lists.php.net to get a copy of this message | ||
ID: 14498
Updated by: georg
Reported By: oliverh@hingst.org.uk
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] zak@php.net
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] oliverh@hingst.org.uk
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