Bug #65124 [Opn->Wfx]: SYBASE_CT_SHARED_LIBADD knob has -L after the -l

From: Date: Wed, 18 Feb 2015 07:45:57 +0000
Subject: Bug #65124 [Opn->Wfx]: SYBASE_CT_SHARED_LIBADD knob has -L after the -l
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-190778@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=65124&edit=1

 ID:                 65124
 Updated by:         krakjoe@php.net
 Reported by:        mi+php at aldan dot algebra dot com
 Summary:            SYBASE_CT_SHARED_LIBADD knob has -L after the -l
-Status:             Open
+Status:             Wont fix
 Type:               Bug
 Package:            Sybase-ct (ctlib) related
 Operating System:   Solaris
 PHP Version:        5.4.16
 Block user comment: N
 Private report:     N

 New Comment:

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.


Previous Comments:
------------------------------------------------------------------------
[2013-06-25 14:36:24] 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.



------------------------------------------------------------------------



--
Edit this bug report at https://bugs.php.net/bug.php?id=65124&edit=1


Thread (2 messages)

« previous php.bugs (#190778) next »