QCAD 3.0.0 on Fedora 18

This is what I did…

Login

Blog History

This is what I did to get QCAD Professional 3.0 running on Fedora 18 I don't know exactly which package or step fixed it so I'm including everything. It may or may not help you.

Just tried to run QCAD and got this error:

./qcad
./qcad: line 38:  4338 Segmentation fault 
(core dumped) 
LD_LIBRARY_PATH="$DIR" "$binary" $OPT1 $OPT2 "$@"

Thought maybe it was dependencies missing so I ran this to install them:

yum deplist qcad | grep provider | awk '{print $2}' | \
sort | uniq | sed ':a;N;$!ba;s/\n/ /g' | \
xargs yum -y install

Which basically checks to make sure that this list of packages are installed:

bash.x86_64
desktop-file-utils.x86_64
glibc.i686
glibc.x86_64
libgcc.x86_64
libICE.x86_64
libjpeg-turbo.x86_64
libmng.x86_64
libpng.x86_64
libSM.x86_64
libstdc++.x86_64
libX11.x86_64
libXext.x86_64
qt3.x86_64
zlib.x86_64

Still no joy. So thought maybe it was because I was missing the i686 versions of the packages listed above. So then I tried to install the above but in 32bit format:

bash.i686
desktop-file-utils.i686
glibc.i686
glibc.i686
libgcc.i686
libICE.i686
libjpeg-turbo.i686
libmng.i686
libpng.i686
libSM.i686
libstdc++.i686
libX11.i686
libXext.i686
qt3.i686
zlib.i686

This from memory installed the i686 version of qt3 but still no joy. Then went into the QCAD dir which in my case is in home and ran the "assistant" binary:

cd ~/opt/qcad-3.0.0-prof-linux
./assistant

Which spat out something like this:

QGtkStyle was unable to detect the current GTK+ theme.
Could not load translation file assistant_en_AU in directory /usr/share/qt4/translations.
Could not load translation file qt_en_AU in directory /usr/share/qt4/translations.
Could not load translation file qt_help_en_AU in directory /usr/share/qt4/translations.
loaded the Generic plugin

Then finally I ran qcad again:

cd ~/opt/qcad-3.0.0-prof-linux
./qcad

And we have a winner

cd ~/opt/qcad-3.0.0-prof-linux
./qcad

 

 

 

 

Ref: http://serverfault.com/questions/429123/howto-get-yum-to-install-only-dependencies-for-a-given-pakage

 

 

 

 

2 Comments

  1. Kip

    Thank you! Thank you! I had been struggling with this for days.

    I had done everything you had, except for the './assistant' part.

    How did you know to do it, and what do you think it changes?

    Reply
    • admin

      Trial and Error.

      Reply

Submit a Comment

Your email address will not be published. Required fields are marked *

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

The reCAPTCHA verification period has expired. Please reload the page.