ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
0

compile error -- make[2]: *** No rule to make target '/usr/lib/x86_64-linux-gnu/libconsole_bridge.so',

asked 2018-05-16 03:01:13 -0600

Camila4204 gravatar image

updated 2018-05-17 09:58:58 -0600

Hi, when I try to compile a project I get this error:

make[2]: *** No rule to make target '/usr/lib/x86_64-linux-gnu/libconsole_bridge.so', needed by '/home/usr/catkin_ws/devel/lib/kautham/kautham-rosnode'

I have done everything: I downloaded the library console_bridge and install it.

When I try this command:

stat /usr/lib/x86_64-linux-gnu/libconsole_bridge.so

I get this:

stat: cannot stat ‘/usr/lib/x86_64-linux-gnu/libconsole_bridge.so’: No such file or directory

But when I use this command:

apt-file search /usr/lib/x86_64-linux-gnu/libconsole_bridge

I get this:

libconsole-bridge-dev: /usr/lib/x86_64-linux-gnu/libconsole_bridge.so
libconsole-bridge0.2: /usr/lib/x86_64-linux-gnu/libconsole_bridge.so.0.2

I would thank you if you can help me.

edit retag flag offensive close merge delete

Comments

I have done everything: I downloaded the library console_bridge and install it.

so how did you install it? Using apt, or git clone and then make etc?

gvdhoorn gravatar image gvdhoorn  ( 2018-05-16 03:35:08 -0600 )edit

I used sudo apt-get install apt-file, then sudo apt-get update, and finally sudo apt-get install libconsole-bridge-dev

It didn't work because I can't see the libconsole_bridge.so file

Then I used git clone to install it but still I have the same problem.

Camila4204 gravatar image Camila4204  ( 2018-05-16 04:22:38 -0600 )edit

Can you clarify what 'It didnt' work' means exactly, error messages would be good. Where were you looking for the libconsole_bridge.so file that you couldn't find. Also git clone doesn't install things it downloads the source code.

PeteBlackerThe3rd gravatar image PeteBlackerThe3rd  ( 2018-05-17 14:02:20 -0600 )edit

Every time I compile my project I get this: make[2]: No rule to make target '/usr/lib/x86_64-linux-gnu/libconsole_bridge.so', needed by '/home/usr/catkin_ws/devel/lib/kautham/Kautham_Viewer'*

I am looking for the libconsole_bridge at this path: /usr/lib/x86_64-linux-gnu/

Camila4204 gravatar image Camila4204  ( 2018-05-18 05:51:02 -0600 )edit

1 Answer

Sort by » oldest newest most voted
0

answered 2018-05-18 06:47:58 -0600

Okay, I've just installed libconsole-bridge-dev on my computer using the command:

sudo apt-get install libconsole-bridge-dev

This has installed the shared object fine for me. If you can't find the file on your system then apt-get must have given an error message when you tried to install it. if you type:

dpkg -L libconsole-bridge-dev

This will list all the file installed on your system from the named package, this is a good way of checking it installed okay and what got put where.

The error message you're getting when compiling your project is unrelated to this, because your project appears to be trying to build /usr/lib/x86_64-linux-gnu/libconsole_bridge.so from source itself. I would recommend getting the apt-get install working instead and adding a dependency to your project if you can, this will be easier than trying to build it yourself as part of your project.

edit flag offensive delete link more

Question Tools

Stats

Asked: 2018-05-16 03:01:13 -0600

Seen: 4,768 times

Last updated: May 18 '18