#27426 [NEW]: Can't get Sybase or Sybase-ct to compile
| From: | jeff at opendbms dot com | Date: | Fri, 27 Feb 2004 18:25:13 +0000 |
| Subject: | #27426 [NEW]: Can't get Sybase or Sybase-ct to compile | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-55665@lists.php.net to get a copy of this message | ||
From: jeff at opendbms dot com
Operating system: Gentoo Linux, 2.4.23
PHP version: 5.0.0b4 (beta4)
PHP Bug Type: Compile Failure
Bug description: Can't get Sybase or Sybase-ct to compile
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 bug report at http://bugs.php.net/?id=27426&edit=1
--
Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=27426&r=trysnapshot4
Try a CVS snapshot (php5): http://bugs.php.net/fix.php?id=27426&r=trysnapshot5
Fixed in CVS: http://bugs.php.net/fix.php?id=27426&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=27426&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=27426&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=27426&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=27426&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=27426&r=support
Expected behavior: http://bugs.php.net/fix.php?id=27426&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=27426&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=27426&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=27426&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=27426&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=27426&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=27426&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=27426&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=27426&r=float