ignore ldd warnings version during installation
some selinux systems can be picky
This commit is contained in:
parent
8af2d08f88
commit
62d0384b5a
@ -351,7 +351,7 @@ LIB_ERROR="F"
|
|||||||
LD_PATH=`pwd`/${BUNDLE_DIR}/lib
|
LD_PATH=`pwd`/${BUNDLE_DIR}/lib
|
||||||
|
|
||||||
# check the main App
|
# check the main App
|
||||||
LDD_RESULT=$(LD_LIBRARY_PATH=${LD_PATH} ldd ${BUNDLE_DIR}/bin/${PGM_NAME_LOWER}-* 2>&1 > /dev/null)
|
LDD_RESULT=$(LD_LIBRARY_PATH=${LD_PATH} ldd ${BUNDLE_DIR}/bin/${PGM_NAME_LOWER}-* 2>&1 > /dev/null | grep -v "no version information")
|
||||||
|
|
||||||
if [ -n "$LDD_RESULT" ];
|
if [ -n "$LDD_RESULT" ];
|
||||||
then
|
then
|
||||||
@ -364,7 +364,7 @@ LIB_FILES=$(find ${BUNDLE_DIR}/lib -name "*.so")
|
|||||||
|
|
||||||
for path in $LIB_FILES
|
for path in $LIB_FILES
|
||||||
do
|
do
|
||||||
LDD_RESULT=$(LD_LIBRARY_PATH=${LD_PATH} ldd $path 2>&1 > /dev/null)
|
LDD_RESULT=$(LD_LIBRARY_PATH=${LD_PATH} ldd $path 2>&1 > /dev/null | grep -v "no version information")
|
||||||
if [ -n "$LDD_RESULT" ];
|
if [ -n "$LDD_RESULT" ];
|
||||||
then
|
then
|
||||||
echo "$LDD_RESULT"
|
echo "$LDD_RESULT"
|
||||||
|
Loading…
Reference in New Issue
Block a user