Ask Your Question
0

No rule to make target `/usr/lib64/libQtWebKit_debug.so

asked 2014-12-30 16:49:10 -0500

atp gravatar image

catkin_make suddenly started to fail with the following error in Fedora 20:

[ 97%] make[2]: *** No rule to make target `/usr/lib64/libQtWebKit_debug.so', needed by XYZ

yum provides gives:

1:qt-devel-4.8.5-10.fc20.i686 : Development files for the Qt toolkit
Repo        : fedora
Matched from:
Filename    : /usr/lib/libQtWebKit_debug.so

1:qt-devel-4.8.5-10.fc20.x86_64 : Development files for the Qt toolkit
Repo        : fedora
Matched from:
Filename    : /usr/lib64/libQtWebKit_debug.so

So, both libraries are already installed.

edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted
0

answered 2015-02-02 12:59:22 -0500

updated 2015-02-02 12:59:51 -0500

This is a Fedora bug in VTK packaging and was fixed: https://bugzilla.redhat.com/1080781

Just update vtk-devel to the latest version.

edit flag offensive delete link more
0

answered 2014-12-30 17:13:40 -0500

William gravatar image

It looks like CMake generated Make code which used /usr/lib64/libQtWebKit_debug.so as a target dependency and that since generating that Make code, that file has moved or no longer exists? I think this because typically the No rule to make target error results from a missing file that you are expecting to be there (especially since the file is obviously not built by your package). Have you tried removing your build space and building from scratch or at least passing --force-cmake to catkin_make?

Have you just double checked that the file is there? I know yum says it is, but make sure it isn't a dangling symbolic link or something of that nature.

I'll point out that this doesn't really look like a ROS or catkin issue, it appears to be solely a using Qt with CMake problem. If you don't find you answer here you might consider trying to narrow it down to a simple CMake example (without catkin) and posting to stackoverflow or something similar.

edit flag offensive delete link more

Comments

Thanks, William. Your 2nd suggestion is correct: the .so file is not in /usr/lib64. I also ran find / -name "libQtWebKit_debug.so" with no results. Any idea what to do next?

atp gravatar image atp  ( 2014-12-31 04:49:15 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

Stats

Asked: 2014-12-30 16:49:10 -0500

Seen: 791 times

Last updated: Feb 02 '15