php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #65124 SYBASE_CT_SHARED_LIBADD knob has -L after the -l
Submitted: 2013-06-25 14:36 UTC Modified: 2015-02-18 07:45 UTC
From: mi+php at aldan dot algebra dot com Assigned:
Status: Wont fix Package: Sybase-ct (ctlib) related
PHP Version: 5.4.16 OS: Solaris
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:
MUST BE VALID
Solve the problem:
44 - 25 = ?
Subscribe to this entry?

 
 [2013-06-25 14:36 UTC] mi+php at aldan dot algebra dot com
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.


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2015-02-18 07:45 UTC] krakjoe@php.net
-Status: Open +Status: Wont fix
 [2015-02-18 07:45 UTC] krakjoe@php.net
The sybase maintainer has backed away from the project, since nobody new has come forward it has been removed in version 7 of PHP.

For this reason, I'm marking the bug as won't fix, it can still be found by any maintainer that might come along and revive sybase as a PECL project.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Apr 19 05:01:29 2024 UTC