ID: 10776
User Update by: [EMAIL PROTECTED]
Old-Status: Feedback
Status: Open
Bug Type: Compile Problem
Operating system: Solaris 7
PHP Version: 4.0.5
Description: Externally set LDFLAGS not exported by configure

A simple example would be:

LDFLAGS="-s -L/opt/NCCldapsdk/lib -R/opt/NCCldapsdk/lib
-lnspr3 -lplc3 -lplds3"
export LDFLAGS

./configure ...

LDFLAGS in this case will be used for the duration of
"configure" (for example compile tests), but the contents of
LDFLAGS are not passed through to the rest of the build
process.  See "config.status" for example - CFLAGS is there
but the contents of LDFLAGS is blank.

In "configure" itself, there's a SUBST for CFLAGS (and
others) but none for LDFLAGS.


Previous Comments:
---------------------------------------------------------------------------

[2001-05-18 07:06:00] [EMAIL PROTECTED]
Any examples? Like which libraries are missing?
Which runtime paths?

--Jani


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

[2001-05-10 02:34:53] [EMAIL PROTECTED]
If you set CC, CFLAGS and LDFLAGS prior to running configure,
CC and CFLAGS will be used by and exported through configure
such that it works for the remainder of the build - but
LDFLAGS is only used by configure (then ignored, not exported
to the remaining build scripts).

This causes some runtime paths and libraries to be missing
from the resultant PHP binary, leading to execution failure.


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


Full Bug description available at: http://bugs.php.net/?id=10776


-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to