PHP Bugs  
php.net | support | documentation | report a bug | advanced search | search howto | statistics | login

go to bug id or search bugs for  

Bug #14498 undefined symbol: my_message_no_curses
Submitted:13 Dec 2001 5:36pm UTC Modified: 1 Jan 2002 4:16am UTC
From:oliverh at hingst dot org dot uk Assigned to:zak
Status:Closed Category:MySQL related
Version:4.1.0 OS:Cobalt Linux 5.0
View/Vote Developer Edit Submission

Welcome! If you don't have a SVN account, you can't do anything here. You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
SVN Username: SVN Password:
Quick Fix:
Status: Assign to:
Category:
Summary:
From: oliverh at hingst dot org dot uk
New email:
Version: OS:
New/Additional Comment:

[13 Dec 2001 5:36pm UTC] oliverh at hingst dot org dot 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)

[31 Dec 2001 7:14pm UTC] 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.
[1 Jan 2002 4:16am UTC] georg@php.net
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"

RSS feed | show source 

PHP Copyright © 2001-2009 The PHP Group
All rights reserved.
Last updated: Sat Nov 21 10:30:49 2009 UTC