Skip to content
Browse files

Fix ldconfig setup during PBI execution

  • Loading branch information...
1 parent ba26cef commit b9ee7c2d9ee49a0c3df4baafe1dc6ff8677dc5fc @kmoore134 kmoore134 committed
Showing with 2 additions and 0 deletions.
  1. +2 −0 src-sh/pbi-manager/pbime/ldconfig
View
2 src-sh/pbi-manager/pbime/ldconfig
@@ -41,6 +41,7 @@ ldconfig_start()
_LDC="${_LDC} ${i}"
fi
done
+ _LDC=`echo $_LDC | sed "s|/usr/local|${PBI_RUNDIR}/local|g"`
check_startmsgs && echo 'ELF ldconfig path:' ${_LDC}
${ldconfig} -elf ${_ins} -f ${ldconfig_file} ${_LDC}
@@ -62,6 +63,7 @@ ldconfig_start()
done
check_startmsgs &&
echo '32-bit compatibility ldconfig path:' ${_LDC}
+ _LDC=`echo $_LDC | sed "s|/usr/local|${PBI_RUNDIR}/local|g"`
${ldconfig} -32 -m ${_ins} -f ${ldconfig32_file} ${_LDC}
;;
esac

0 comments on commit b9ee7c2

Please sign in to comment.
Something went wrong with that request. Please try again.