php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #14498 undefined symbol: my_message_no_curses
Submitted: 2001-12-13 17:36 UTC Modified: 2002-01-01 04:16 UTC
From: oliverh at hingst dot org dot uk Assigned: zak (profile)
Status: Closed Package: MySQL related
PHP Version: 4.1.0 OS: Cobalt Linux 5.0
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git 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.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: oliverh at hingst dot org dot uk
New email:
PHP Version: OS:

 

 [2001-12-13 17:36 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)


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-12-31 19:14 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.

 [2002-01-01 04:16 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"

 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri May 17 15:01:34 2024 UTC