ID: 34089
Comment by: jeff at procata dot com
Reported By: [EMAIL PROTECTED]
Status: No Feedback
Bug Type: Compile Failure
Operating System: Mac OS X 10.4.2
PHP Version: 6CVS-2005-10-07
New Comment:
compiling this program as conftest.c:
main() { }
with the options generated in configure:
gcc -o conftest -g -O2 -no-cpp-precomp -L/usr/local/
icu/lib -L/usr/local/icu/lib -L/usr/local/libxml2/lib
-L/usr/local/libxml2/lib -lm -lm -licui18n -licuuc
-licudata -lm -licuio -lxml2 -lz -liconv -lm conftest.c
gives the following output from otool -L
conftest: /usr/lib/libSystem.B.dylib
(compatibility version 1.0.0, current version 71.1.4)
libicui18n.dylib.34 (compatibility version
34.0.0, current version 34.0.0)
libicuuc.dylib.34 (compatibility version 34.0.0,
current version 34.0.0)
libicudata.dylib.34 (compatibility version
34.0.0, current version 34.0.0)
libicuio.dylib.34 (compatibility version 34.0.0,
current version 34.0.0)
/usr/local/libxml2/lib/libxml2.2.dylib
(compatibility version 9.0.0, current version 9.22.0)
/usr/lib/libz.1.dylib (compatibility version
1.0.0, current version 1.0.0)
/usr/lib/libiconv.2.dylib (compatibility version
5.0.0, current version 5.0.0)
When executed fails with
dyld: ./conftest can't open library: libicui18n.dylib.34
(No such file or directory, errno = 2)
Trace/BPT trap
Previous Comments:
------------------------------------------------------------------------
[2006-02-20 23:32:58] jeff at procata dot com
I have also encountered this problem. To answer the
first outstanding question, libicui18n.dylib.34 does
exist in /usr/local/icu/lib.
I have not been successful in compiling with --disable-
all. configure completes (configure: exit 0), but
config.log still contains many cases of:
dyld: ./conftest can't open library: libicui18n.dylib.34
(No such file or directory, errno = 2)
./configure: line 1: 2292 Trace/BPT trap ./
conftest$ac_exeext
make fails with:
ld: Undefined symbols:
_lchown
------------------------------------------------------------------------
[2006-02-08 01:00:03] php-bugs at lists dot php dot net
No feedback was provided for this bug for over a week, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".
------------------------------------------------------------------------
[2006-01-31 23:04:54] [EMAIL PROTECTED]
OS X 10.4.2 - Build 8E90
PHP6 snapshot 200601311733
# ./configure --with-layout=PHP --prefix=/usr/local/php/6.0.0
--disable-all --with-icu-dir=/usr/local/icu
# make
# make install
Using gcc v4.0.1
Test script:
<? $a = "foo"; var_dump($a); ?>
php-cli -dunicode_semantics=on -f test.php
Result:
unicode(3) "foo"
Looks like the expected results to me.
Can you run "otool -L" on the php library and share that here?
------------------------------------------------------------------------
[2006-01-14 01:00:05] php-bugs at lists dot php dot net
No feedback was provided for this bug for over a week, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".
------------------------------------------------------------------------
[2005-12-30 00:59:11] [EMAIL PROTECTED]
Do you actually have libicui18n.dylib.34 in /usr/local/...?
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
http://bugs.php.net/34089
--
Edit this bug report at http://bugs.php.net/?id=34089&edit=1