php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #619 A build note for Solaris
Submitted: 1998-08-05 09:12 UTC Modified: 1999-06-12 16:35 UTC
From: kk at shonline dot de Assigned:
Status: Closed Package: Feature/Change Request
PHP Version: 3.0.2a OS: Solaris 2.5.1
Private report: No CVE-ID: None
 [1998-08-05 09:12 UTC] kk at shonline dot de
On Solaris it is generally adviseable to duplicate all -L options (path to statically linked libraries) as -R options (path to dynamically linked libraries) as well. The resulting binary will find dynamically linked libraries without setting LD_LIBRARY_PATH.

For example, if linking against Oracle, libclntsh.so will be linked dynamically. This library is not in the standard system link path, but in $ORACLE_HOME/lib and will therefore not be found by a regular binary unless LD_LIBRARY_PATH is found. If compiled with -R$ORACLE_HOME/lib added to LIBS, this is not necessary and the binary will function without any special setup.

autoconf/configure should be fixed to create -R options for all -L options generated on Solaris.

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [1999-06-12 16:35 UTC] jim at cvs dot php dot net
Pretty sure this is fixed.
 
PHP Copyright © 2001-2023 The PHP Group
All rights reserved.
Last updated: Thu Dec 07 04:01:28 2023 UTC