#49276 [Bgs]: Sybase 15 incorrect library name references
ID: 49276 User updated by: andy at networkjabber dot com Reported By: andy at networkjabber dot com Status: Bogus Bug Type: Sybase-ct (ctlib) related Operating System: Fedora Core 9 PHP Version: 5.3.0 New Comment: Hi. Thanks for the quick reply. I can confirm that the patch works correctly and PHP compiles correctly with the specified directives to build Sybase ASE support. Perhaps it would be worth adding an extra autoconf argument in subsequent PHP releases for Sybase ASE versions previous to 12.5 and those later? i.e. --with-sybase-ct-oldlib or --with-sybase-ct-newlib, for example. Many thanks, Andy Previous Comments: [2009-08-17 09:36:09] j...@php.net Bug #36516 was marked as being bogus because it was duplicate of bug #45357 and both didn't get any feedback when asked to test this patch: http://sitten-polizei.de/php/sybase-configm4.diff So please apply the patch, run ./buildconf --force and see if it works then. [2009-08-17 08:56:52] andy at networkjabber dot com Description: This problem was originally logged on 24/2/2006 under #36516, but marked as bogus. However, the problem still exists. Sybase have changed the library names of 4 of their ASE libraries: libsybcs, libsybct, lsybcomn and lsybintl. The default automake profile references these as -lcs -lct -lcomn -lintl so the compile fails with libraries being reported as missing. Both ./configure and ./ext/sybase_ct/config.m4 need to be editied so that these references are -lsybcs -lsybct -lsybcomn -lsybsybintl. After these changes are made all compiles correctly. -- Edit this bug report at http://bugs.php.net/?id=49276&edit=1
#49276 [NEW]: Sybase 15 incorrect library name references
From: andy at networkjabber dot com Operating system: Fedora Core 9 PHP version: 5.3.0 PHP Bug Type: Compile Failure Bug description: Sybase 15 incorrect library name references Description: This problem was originally logged on 24/2/2006 under #36516, but marked as bogus. However, the problem still exists. Sybase have changed the library names of 4 of their ASE libraries: libsybcs, libsybct, lsybcomn and lsybintl. The default automake profile references these as -lcs -lct -lcomn -lintl so the compile fails with libraries being reported as missing. Both ./configure and ./ext/sybase_ct/config.m4 need to be editied so that these references are -lsybcs -lsybct -lsybcomn -lsybsybintl. After these changes are made all compiles correctly. -- Edit bug report at http://bugs.php.net/?id=49276&edit=1 -- Try a snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=49276&r=trysnapshot52 Try a snapshot (PHP 5.3): http://bugs.php.net/fix.php?id=49276&r=trysnapshot53 Try a snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=49276&r=trysnapshot60 Fixed in SVN: http://bugs.php.net/fix.php?id=49276&r=fixed Fixed in SVN and need be documented: http://bugs.php.net/fix.php?id=49276&r=needdocs Fixed in release: http://bugs.php.net/fix.php?id=49276&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=49276&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=49276&r=needscript Try newer version: http://bugs.php.net/fix.php?id=49276&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=49276&r=support Expected behavior: http://bugs.php.net/fix.php?id=49276&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=49276&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=49276&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=49276&r=globals PHP 4 support discontinued: http://bugs.php.net/fix.php?id=49276&r=php4 Daylight Savings:http://bugs.php.net/fix.php?id=49276&r=dst IIS Stability: http://bugs.php.net/fix.php?id=49276&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=49276&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=49276&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=49276&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=49276&r=mysqlcfg