Bug #65124 [NEW]: SYBASE_CT_SHARED_LIBADD knob has -L after the -l
From: mi+php at aldan dot algebra dot com
Operating system: Solaris
PHP version: 5.4.16
Package: Sybase-ct (ctlib) related
Bug Type: Bug
Bug description:SYBASE_CT_SHARED_LIBADD knob has -L after the -l
Description:
------------
Unlike all other *_LIBADD knobs generated by configure, the
SYBASE_CT_SHARED_LIBADD lists the directory after the libraries:
SYBASE_CT_SHARED_LIBADD = -lsybtcl -lsybintl -lsybcomn -lsybct -lsybcs
-L/foo/bar/OCS-15_0/lib
this prevents the linker from finding the libraries -- at least, on
Solaris. The above line should read:
SYBASE_CT_SHARED_LIBADD = -L/foo/bar/OCS-15_0/lib -lsybtcl -lsybintl
-lsybcomn -lsybct -lsybcs
I'm munging the generated Makefile here after the configure-run, but the
proper fix would, likely, involve fixing the ext/sybase_ct/config.m4
Test script:
---------------
Run configure with a valid --with-sybase-ct= setting. Grep the generated
Makefile for ^SYBASE_CT_SHARED_LIBADD.
--
Edit bug report at https://bugs.php.net/bug.php?id=65124&edit=1
--
Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=65124&r=trysnapshot54
Try a snapshot (PHP 5.3): https://bugs.php.net/fix.php?id=65124&r=trysnapshot53
Try a snapshot (trunk): https://bugs.php.net/fix.php?id=65124&r=trysnapshottrunk
Fixed in SVN: https://bugs.php.net/fix.php?id=65124&r=fixed
Fixed in release: https://bugs.php.net/fix.php?id=65124&r=alreadyfixed
Need backtrace: https://bugs.php.net/fix.php?id=65124&r=needtrace
Need Reproduce Script: https://bugs.php.net/fix.php?id=65124&r=needscript
Try newer version: https://bugs.php.net/fix.php?id=65124&r=oldversion
Not developer issue: https://bugs.php.net/fix.php?id=65124&r=support
Expected behavior: https://bugs.php.net/fix.php?id=65124&r=notwrong
Not enough info: https://bugs.php.net/fix.php?id=65124&r=notenoughinfo
Submitted twice: https://bugs.php.net/fix.php?id=65124&r=submittedtwice
register_globals: https://bugs.php.net/fix.php?id=65124&r=globals
PHP 4 support discontinued: https://bugs.php.net/fix.php?id=65124&r=php4
Daylight Savings: https://bugs.php.net/fix.php?id=65124&r=dst
IIS Stability: https://bugs.php.net/fix.php?id=65124&r=isapi
Install GNU Sed: https://bugs.php.net/fix.php?id=65124&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=65124&r=float
No Zend Extensions: https://bugs.php.net/fix.php?id=65124&r=nozend
MySQL Configuration Error: https://bugs.php.net/fix.php?id=65124&r=mysqlcfg
Thread (2 messages)
- mi+php at aldan dot algebra dot com