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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Password:
Status:
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

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 26 19:01:29 2024 UTC