Page 1 of 1

[solved] Fedora 19: missing library libSM.so.6 [solved]

Posted: Thu Sep 19, 2013 9:24 am
by andrew
From a QCAD user:

I just installed Fedora 19 and my version of QCAD is throwing errors. Here is the one I am getting now.
error while loading shared libraries: libSM.so.6: cannot open shared object file: No such file or directory
What other dependencies do I need to find and install?

Re: Fedora 19: missing library libSM.so.6

Posted: Thu Sep 19, 2013 9:27 am
by andrew
You can get a list of all dependencies by running the following command in a terminal in your QCAD installation directory:
LD_LIBRARY_PATH=. ldd ./qcad-bin
All on one line, then press enter. Libraries that are not found are listed as '=> not found'.

Re: Fedora 19: missing library libSM.so.6

Posted: Sat Sep 21, 2013 4:37 am
by ov10fac
Ok

Tried that and got another error. Error while loading shared libraries: libQtWebKit.so.4

Re: Fedora 19: missing library libSM.so.6

Posted: Sat Sep 21, 2013 9:31 am
by andrew
libQtWebKit.so.4 is included with QCAD. If it cannot be found, you are likely attempting to launch the wrong binary (try ./qcad and NOT ./qcad-bin):
./qcad
'qcad' is a script that sets up the environment (LD_LIBRARY_PATH), so all libraries can be found and then launches the QCAD binary (qcad-bin).

Re: Fedora 19: missing library libSM.so.6

Posted: Sat Sep 21, 2013 1:06 pm
by ov10fac
Ok
Solved all the dependencies, but now getting segmentation fault on line 38 of the start script. The Lin that says LD_library_PATH. Any suggestions? I don't see any definition of $DIR anyplace and that may be causing the problem.

Re: Fedora 19: missing library libSM.so.6

Posted: Sat Sep 21, 2013 4:55 pm
by andrew
This is strange. On a standard installation of Fedora 19 using the basic step by step installer with default values, installing and running QCAD should be as easy as extract and run.

- What exact version of QCAD do you have installed? The version can be seen in the name of the downloaded package or from the installation directory name.
- Are you running a 32bit or a 64bit Linux distribution? If you are not sure, please run 'uname -m' in a Terminal. 'x86_64' indicates a 64bit system.

Thanks.

Re: Fedora 19: missing library libSM.so.6

Posted: Sun Sep 22, 2013 1:44 pm
by ov10fac
QCAD version is 3.0.0 pro . I am running the 64 bit version. And yes in the past when I did upgrades to Fedora I simply ran the install script an that was it.
This is the first time I have ever had problems.

Re: Fedora 19: missing library libSM.so.6

Posted: Sun Sep 22, 2013 2:12 pm
by ov10fac
Ok,

Did a complete uninstall and reinstall and all is fine now. Not sure what happened, but it was interesting. Thanks for all the help.

Re: Fedora 19: missing library libSM.so.6

Posted: Sun Sep 22, 2013 2:43 pm
by andrew
Great, thanks for posting the update!