LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   mysql-query-browser wont launch (https://www.linuxquestions.org/questions/linux-general-1/mysql-query-browser-wont-launch-422630/)

ckoniecny 03-07-2006 07:03 PM

mysql-query-browser wont launch
 
I'm trying to execute /usr/bin/mysql-query-browser, which contains the following:

Code:

#!/bin/sh

PRG="$0"

# need this for relative symlinks
while [ -h "$PRG" ] ; do
    ls=`ls -ld "$PRG"`
    link=`expr "$ls" : '.*-> \(.*\)$'`
    if expr "$link" : '/.*' > /dev/null; then
        PRG="$link"
    else
        PRG=`dirname "$PRG"`"/$link"
    fi
done

DIRNAME=`dirname $PRG`
DIRNAME=`cd $DIRNAME/..; pwd`

export MQB_DIR="$DIRNAME"
$PRG-bin

And I get the following error:

Code:

$ /usr/bin/mysql-query-browser
Fontconfig error: "conf.d", line 1: no element found
/usr/bin/mysql-query-browser: line 20:  2959 Segmentation fault      $PRG-bin

Any ideas?

zeitounator 03-09-2006 04:10 AM

Quote:

Code:

Fontconfig error: "conf.d", line 1: no element found

This one comes from Fontconfig, not from mysql-query-browser. Try to fix this first (Commenting out the line referencing conf.d in /etc/fonts.conf should do the trick...) and the see if solves the entire issue.


All times are GMT -5. The time now is 06:50 PM.