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 Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: mi+php at aldan dot algebra dot com
New email:
PHP Version: OS:

 

 [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

Pull Requests

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: Sat Dec 21 14:01:32 2024 UTC