Skip to content

/usr/bin/ld: cannot find -llapacke #5

@ghost

Description

I do exactly what the readme.md said to install this repo, but the last step "Compile the catkin workspace" failed, as the below shows

[ 10%] Building CXX object orgpmp2/CMakeFiles/orgpmp2_plugin.dir/src/orgpmp2.cpp.o
[ 40%] Building CXX object orgpmp2/CMakeFiles/orgpmp2_plugin.dir/src/orgpmp2_kdata.cpp.o
[ 50%] Building C object orgpmp2/CMakeFiles/orgpmp2_plugin.dir/src/utils/grid_flood.c.o
[ 50%] Building CXX object orgpmp2/CMakeFiles/orgpmp2_plugin.dir/src/orcwrap.cpp.o
[ 40%] Building CXX object orgpmp2/CMakeFiles/orgpmp2_plugin.dir/src/orgpmp2_mod.cpp.o
[ 60%] Building C object orgpmp2/CMakeFiles/orgpmp2_plugin.dir/src/utils/grid.c.o
[ 70%] Building C object orgpmp2/CMakeFiles/orgpmp2_plugin.dir/src/utils/kin.c.o
[ 80%] Building C object orgpmp2/CMakeFiles/orgpmp2_plugin.dir/src/utils/mat.c.o
[ 90%] Building C object orgpmp2/CMakeFiles/orgpmp2_plugin.dir/src/utils/util_shparse.c.o
[100%] Linking CXX shared library /home/h/gpmp/devel/share/openrave-0.9/plugins/orgpmp2_plugin.so
/usr/bin/ld: cannot find -llapacke
collect2: error: ld returned 1 exit status
orgpmp2/CMakeFiles/orgpmp2_plugin.dir/build.make:315: recipe for target '/home/h/gpmp/devel/share/openrave-0.9/plugins/orgpmp2_plugin.so' failed
make[2]: *** [/home/h/gpmp/devel/share/openrave-0.9/plugins/orgpmp2_plugin.so] Error 1
CMakeFiles/Makefile2:462: recipe for target 'orgpmp2/CMakeFiles/orgpmp2_plugin.dir/all' failed
make[1]: *** [orgpmp2/CMakeFiles/orgpmp2_plugin.dir/all] Error 2
Makefile:138: recipe for target 'all' failed
make: *** [all] Error 2
Invoking "make -j8 -l8" failed

I have tried "sudo apt-get install liblapacke" and it still failed.
Thanks for your help.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions