#27426 [Fbk->NoF]: Can't get Sybase or Sybase-ct to compile
| From: | sniper@php.net | Date: | Mon, 15 Mar 2004 13:38:55 +0000 |
| Subject: | #27426 [Fbk->NoF]: Can't get Sybase or Sybase-ct to compile | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-56474@lists.php.net to get a copy of this message | ||
ID: 27426
Updated by: sniper@php.net
Reported By: jeff at opendbms dot com
-Status: Feedback
+Status: No Feedback
Bug Type: Sybase-ct (ctlib) related
Operating System: Gentoo Linux, 2.4.23
PHP Version: 5.0.0b4 (beta4)
New Comment:
No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Open". Thank you.
Previous Comments:
------------------------------------------------------------------------
[2004-03-09 08:57:59] sniper@php.net
Please try using this CVS snapshot:
http://snaps.php.net/php5-latest.tar.gz
For Windows:
http://snaps.php.net/win32/php5-win32-latest.zip
------------------------------------------------------------------------
[2004-02-27 13:25:13] jeff at opendbms dot com
Description:
------------
I get compile errors:
first I try to make and I get:
t.lo Zend/zend_multibyte.lo Zend/zend_ts_hash.lo Zend/zend_stream.lo
Zend/zend_iterators.lo Zend/zend_interfaces.lo Zend/zend_exceptions.lo
Zend/zend_objects.lo Zend/zend_object_handlers.lo
Zend/zend_objects_API.lo Zend/zend_mm.lo Zend/zend_default_classes.lo
Zend/zend_reflection_api.lo Zend/zend_execute.lo sapi/cli/php_cli.lo
sapi/cli/getopt.lo main/internal_functions_cli.lo -lcrypt -linsck
-linsck -lsybtcl -lintl -lcomn -lct -lcs -lcrypt -lmysqlclient -lz
-lresolv -lm -ldl -lnsl -lxml2 -lz -lm -lxml2 -lz -lm -lxml2 -lz -lm
-lcrypt -lxml2 -lz -lm -lcrypt -o sapi/cli/php
gcc: /usr/lib/libintl.a: No such file or directory
make: *** [sapi/cli/php] Error 1
So, I locate libintl.a, its in the sybase directory, so I create a link
to it from /opt/sybase/lib to /usr/lib, and now I get this error:
.lo sapi/cli/php_cli.lo sapi/cli/getopt.lo
main/internal_functions_cli.lo -lcryp
t -linsck -linsck -lsybtcl -lintl -lcomn -lct -lcs -lcrypt
-lmysqlclient -lz -lr
esolv -lm -ldl -lnsl -lxml2 -lz -lm -lxml2 -lz -lm -lxml2 -lz -lm
-lcrypt -lxml2
-lz -lm -lcrypt -o sapi/cli/php
/opt/sybase/lib/libcomn.so: undefined reference to `intl_datetime'
/opt/sybase/lib/libcomn.so: undefined reference to `intl_errstr'
/opt/sybase/lib/libcomn.so: undefined reference to `intl_close'
/opt/sybase/lib/libcomn.so: undefined reference to `intl_open'
/opt/sybase/lib/libcomn.so: undefined reference to `intl_nextvalue'
/opt/sybase/lib/libcomn.so: undefined reference to `intl_nextsection'
/opt/sybase/lib/libcomn.so: undefined reference to `intl_nextentry'
collect2: ld returned 1 exit status
make: *** [sapi/cli/php] Error 1
Here is my configuration command:
CONFIGURE_COMMAND = './configure' '--with-mysql'
'--with-apxs2=/usr/sbin/apxs2' '--with-zlib'
'--with-sybase-ct=/opt/sybase'
I'm using this version of gcc:
gcc version 3.2.3 20030422 (Gentoo Linux 1.4 3.2.3-r2, propolice)
compiling --with-sybase also fails. I'm not sure what the difference is
between with-sybase and with-sybase-ct. I'm using an older version of
sybase: 11.0.3.3 (license free)
Reproduce code:
---------------
I can send you the sybase if you need it... contact me on AIM: Nerdbat
Expected result:
----------------
I expect it to compile...
Actual result:
--------------
...It doesn't
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=27426&edit=1