|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2012-11-14 01:55 UTC] sixd@php.net
-Status: Open
+Status: Duplicate
-Assigned To:
+Assigned To: sixd
[2012-11-14 01:55 UTC] sixd@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sat Oct 25 05:00:02 2025 UTC |
Description: ------------ From PHP 5.4.8, we can see the following changes in the configure file compared to previous PHP releases: PHP 5.4.8 / configure : $as_echo_n "checking Oracle library version compatibility... " >&6; } OCI8_LCS_BASE=$OCI8_DIR/$OCI8_LIB_DIR/libclntsh.$SHLIB_SUFFIX_NAME OCI8_LCS=`ls $OCI8_LCS_BASE.*.1 2> /dev/null | tail -n1` # Oracle 10g, 11g etc PHP 5.4.7 / configure : $as_echo_n "checking Oracle library version compatibility... " >&6; } OCI8_LCS_BASE=$OCI8_DIR/$OCI8_LIB_DIR/libclntsh.$SHLIB_SUFFIX_NAME OCI8_LCS=`ls $OCI8_LCS_BASE.*.1 2> /dev/null | tail -1` # Oracle 10g, 11g etc When configuring with --with-oci8=shared and a valid ORACLE_HOME environment variable set, configure fails with the following error message: checking Oracle ORACLE_HOME install directory... /u01/app/oracle/product/11107 checking ORACLE_HOME library validity... lib32 checking Oracle library version compatibility... usage: tail [+/-[n][lbc][f]] [file] tail [+/-[n][l][r|f]] [file] configure: error: Oracle libclntsh.so client library not found Indeed, the tail command syntax is incorrect. cmelin@bt1sss:/$ tail -n1 usage: tail [+/-[n][lbc][f]] [file] tail [+/-[n][l][r|f]] [file] The syntax in previous PHP releases was OK: cmelin@bt1sss:/$ echo 'test' | tail -1 test Reverting to tail -1 instead of tail -n1 in the configure file of PHP 5.4.8 solves this issue.