File mysql-workbench-proj-ldconfig.patch of Package mysql-workbench

--- mysql-workbench-community-8.0.15-org/frontend/linux/workbench/mysql-workbench.in	2019-01-30 15:32:36.000000000 +0200
+++ mysql-workbench-community-8.0.15-src/frontend/linux/workbench/mysql-workbench.in	2019-03-19 00:07:59.377474514 +0200
@@ -26,7 +26,7 @@
 # Check if PROJSO env is set and file exists, if not, try to handle this on our own
 if [[ -z "${PROJSO}" ]]; then
   # Set the PROJSO env variable so gdal can find proj cause it's using dlopen instead ld 
-  TMPLOC=`ldconfig -p | grep libproj\.so | awk '{printf $4;exit;}'`
+  TMPLOC=`/sbin/ldconfig -p | grep libproj\.so | awk '{printf $4;exit;}'`
   if [[ -f "$TMPLOC" ]]; then
     echo "Found $TMPLOC"
     export PROJSO=$TMPLOC
openSUSE Build Service is sponsored by