error while loading shared libraries: libroscpp_serialization.so: cannot open shared object file: No such file or directory
Hello!, Im using the SOEM library for my package and I need my package to run in sudo to be able to read/write through ethernet. I tried using the ethercat_grant package and the libcap but both of them have this error
"error while loading shared libraries: libroscpp_serialization.so: cannot open shared object file: No such file or directory"
when I tried to remove the libcap at ethercat_grant on my package, it builds successfully, I only encountered that error when I try to have admin access on my package.
Ive also searched some fixes, where I need to export LDLIBRARYPATH on terminal and also on bashrc and still having that error. I also tried to ask chatgpt about this and from its instruction, it should be expected to have libroscppserialization.so on devel/lib after building the package, but after all those steps,libroscppserialization.so does not appear on that directory and the error still occurs.
Asked by naihart on 2023-08-07 00:34:21 UTC
Comments