|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #20309 mbstring compile error
Submitted: 2002-11-08 07:16 UTC Modified: 2002-11-08 10:26 UTC
From: scr34m at frontember dot hu Assigned:
Status: Not a bug Package: mbstring related
PHP Version: 4.2.3 OS: RedHat 8
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Bug Type:
From: scr34m at frontember dot hu
New email:
PHP Version: OS:


 [2002-11-08 07:16 UTC] scr34m at frontember dot hu
./configure --enable-mbsting --enable-mbstr-enc-trans --enable-mbregex 

make fail with this error

make[1]: Entering directory `/usr/src/php4-STABLE-200211030600'
/bin/sh /usr/src/php4-STABLE-200211030600/libtool --silent --mode=link gcc -I. -I/usr/src/php4-STABLE-200211030600/ -I/usr/src/php4-STABLE-200211030600/main -I/usr/src/php4-STABLE-200211030600 -I/usr/src/php4-STABLE-200211030600/Zend -I/usr/src/php4-STABLE-200211030600/ext/mysql/libmysql -I/usr/src/php4-STABLE-200211030600/ext/xml/expat  -I/usr/src/php4-STABLE-200211030600/TSRM -g -O2   -o php -export-dynamic     stub.lo
./.libs/libphp4.a(main.o): In function `php_hash_environment':
/usr/src/php4-STABLE-200211030600/main/main.c:1167: undefined reference to `mbstr_treat_data'
/usr/src/php4-STABLE-200211030600/main/main.c:1174: undefined reference to `mbstr_treat_data'
/usr/src/php4-STABLE-200211030600/main/main.c:1181: undefined reference to `mbstr_treat_data'
collect2: ld returned 1 exit status
make[1]: *** [php] Error 1
make[1]: Leaving directory `/usr/src/php4-STABLE-200211030600'
make: *** [all-recursive] Error 1
[root@smile php4-STABLE-200211030600]#


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2002-11-08 09:28 UTC]
Sorry, but your problem does not imply a bug in PHP itself.  For a
list of more appropriate places to ask for help using PHP, please
visit as this bug system is not the
appropriate forum for asking support questions. 

Thank you for your interest in PHP.

Works fine with latest CVS (unstable).
 [2002-11-08 10:10 UTC]
Just a comment: the compile failure was caused just by typo "--enable-mbsting". If it is corrected, then you might get no failure. So you can use stable version of snapshot as well.

 [2002-11-08 10:26 UTC] scr34m at frontember dot hu
oh thanx but the support can't help 4 me i asked many ppl and on IRCnet too nobody cant help me :/

--enable-mbstring is that sorry i typed wrong :/
PHP Copyright © 2001-2021 The PHP Group
All rights reserved.
Last updated: Tue Oct 19 10:03:36 2021 UTC