Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Errors << rtt_ros:make /home/xxx/isir/rtt_ros-2.9_ws/logs/rtt_ros/build.make.002.log /usr/bin/ld: 找不到 /lib: 不可识别的文件格式 #163

Open
dbdxnuliba opened this issue Feb 1, 2021 · 1 comment

Comments

@dbdxnuliba
Copy link

Errors << rtt_ros:make /home/xxx/isir/rtt_ros-2.9_ws/logs/rtt_ros/build.make.002.log
/usr/bin/ld: 找不到 /lib: 不可识别的文件格式

@meyerj
Copy link
Member

meyerj commented Feb 4, 2021

Could you please provide some more information?

  • the command you run to build the workspace
  • which versions or branches of rtt_ros_integration and RTT/OCL?
  • which OS and/or distribution?

Preferably switch the language to English for sending error reports (e.g. by export LC_ALL=C).

The Google translation is

Errors << rtt_ros:make /home/xxx/isir/rtt_ros-2.9_ws/logs/rtt_ros/build.make.002.log
/usr/bin/ld: not found /lib: unrecognized file format

which points to issues with the linker command line built by CMake, and the linker tries to link just /lib instead of a specific library?

$ /usr/bin/ld -shared -o /tmp/test.so /lib
/usr/bin/ld: cannot find /lib: File format not recognized

In this case building with export VERBOSE=1 (or catkin build -v if you use catkin_tools) may help to show the full command line.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants