wheelos / core

Autonomous driving middleware publish subscribe system
Other
23 stars 7 forks source link

fix ldconfig #7

Closed daohu527 closed 3 months ago

daohu527 commented 3 months ago

Is there any other way to replace the specified so path?

daohu527 commented 3 months ago

1. Use LD_LIBRARY_PATH

set LD_LIBRARY_PATH and add to /etc/ld.so.conf

2. Use rpath

Use -Wl,-rpath to link