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

Post your question about installing or upgrading QCAD version 3

Moderator: andrew

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

Postby andrew » Thu Sep 19, 2013 9:24 am

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?
User avatar
andrew
Site Admin
 
Posts: 2547
Joined: Fri Mar 30, 2007 6:07 am

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

Postby andrew » Thu Sep 19, 2013 9:27 am

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'.
User avatar
andrew
Site Admin
 
Posts: 2547
Joined: Fri Mar 30, 2007 6:07 am

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

Postby ov10fac » Sat Sep 21, 2013 4:37 am

Ok

Tried that and got another error. Error while loading shared libraries: libQtWebKit.so.4
ov10fac
Junior Member
 
Posts: 11
Joined: Thu Jan 29, 2009 3:25 pm
Location: Omaha Nebraska

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

Postby andrew » Sat Sep 21, 2013 9:31 am

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).
User avatar
andrew
Site Admin
 
Posts: 2547
Joined: Fri Mar 30, 2007 6:07 am

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

Postby ov10fac » Sat Sep 21, 2013 1:06 pm

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.
ov10fac
Junior Member
 
Posts: 11
Joined: Thu Jan 29, 2009 3:25 pm
Location: Omaha Nebraska

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

Postby andrew » Sat Sep 21, 2013 4:55 pm

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.
User avatar
andrew
Site Admin
 
Posts: 2547
Joined: Fri Mar 30, 2007 6:07 am

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

Postby ov10fac » Sun Sep 22, 2013 1:44 pm

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.
ov10fac
Junior Member
 
Posts: 11
Joined: Thu Jan 29, 2009 3:25 pm
Location: Omaha Nebraska

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

Postby ov10fac » Sun Sep 22, 2013 2:12 pm

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.
ov10fac
Junior Member
 
Posts: 11
Joined: Thu Jan 29, 2009 3:25 pm
Location: Omaha Nebraska

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

Postby andrew » Sun Sep 22, 2013 2:43 pm

Great, thanks for posting the update!
User avatar
andrew
Site Admin
 
Posts: 2547
Joined: Fri Mar 30, 2007 6:07 am


Return to QCAD 3 Installation and Upgrades

Who is online

Users browsing this forum: No registered users and 1 guest