#49276 [Asn]: Sybase 15 incorrect library name references

2009-08-24 Thread thekid
 ID:   49276
 Updated by:   the...@php.net
 Reported By:  andy at networkjabber dot com
 Status:   Assigned
 Bug Type: Sybase-ct (ctlib) related
 Operating System: Fedora Core 9
 PHP Version:  5.3.0
 Assigned To:  thekid
 New Comment:

I can't commit at the moment but would appreciate if someone just went
ahead and committed this patch to 5_3, 5_2 and head.


Previous Comments:


[2009-08-17 11:18:07] j...@php.net

Oh, and you don't need extra configure options with the patch since
then it detects the libs properly.. :)



[2009-08-17 11:15:43] j...@php.net

Ok, so the patch works, lets keep this assigned to the maintainer then.
:)



[2009-08-17 10:15:27] andy at networkjabber dot com

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



[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=49276edit=1



#49276 [Asn]: Sybase 15 incorrect library name references

2009-08-17 Thread jani
 ID:   49276
 Updated by:   j...@php.net
 Reported By:  andy at networkjabber dot com
 Status:   Assigned
 Bug Type: Sybase-ct (ctlib) related
 Operating System: Fedora Core 9
 PHP Version:  5.3.0
 Assigned To:  thekid
 New Comment:

Oh, and you don't need extra configure options with the patch since
then it detects the libs properly.. :)


Previous Comments:


[2009-08-17 11:15:43] j...@php.net

Ok, so the patch works, lets keep this assigned to the maintainer then.
:)



[2009-08-17 10:15:27] andy at networkjabber dot com

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



[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=49276edit=1