|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #27426 Can't get Sybase or Sybase-ct to compile
Submitted: 2004-02-27 13:25 UTC Modified: 2004-03-15 08:38 UTC
From: jeff at opendbms dot com Assigned:
Status: No Feedback Package: Sybase-ct (ctlib) related
PHP Version: 5.0.0b4 (beta4) OS: Gentoo Linux, 2.4.23
Private report: No CVE-ID: None
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please — but make sure to vote on the bug!
Your email address:
Solve the problem:
38 - 14 = ?
Subscribe to this entry?

 [2004-02-27 13:25 UTC] jeff at opendbms dot com
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/ undefined reference to `intl_datetime'
/opt/sybase/lib/ undefined reference to `intl_errstr'
/opt/sybase/lib/ undefined reference to `intl_close'
/opt/sybase/lib/ undefined reference to `intl_open'
/opt/sybase/lib/ undefined reference to `intl_nextvalue'
/opt/sybase/lib/ undefined reference to `intl_nextsection'
/opt/sybase/lib/ 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: (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


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2004-03-09 08:57 UTC]
Please try using this CVS snapshot:
For Windows:

 [2004-03-15 08:38 UTC]
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.

PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Jul 20 06:01:29 2024 UTC