Skip to content

Commit 5b4cd18

Browse files
committed
fix: adding /usr/share/robotkernel/lib to so search path
1 parent 911bc31 commit 5b4cd18

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/so_file.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,7 @@ so_file::so_file(const YAML::Node& node) : config("") {
104104
if (file_name.c_str()[0] != '/') {
105105
vector<const char*> locations{
106106
".", // local dir
107+
"/usr/share/robotkernel/lib", // default install dir
107108
kernel::instance.config_file_path.c_str(), // relative to config file
108109
getenv("ROBOTKERNEL_LIBRARY_PATH"), // search environment
109110
getenv("LD_LIBRARY_PATH"), // dlopen respects this, but we want to ensure a load order

0 commit comments

Comments
 (0)