bloombloombloom / Bloom

A debug interface for AVR-based embedded systems development on GNU/Linux.
https://bloom.oscillate.io/
Other
64 stars 3 forks source link

Move away from using RUNPATH to specify shared library paths #92

Closed navnavnav closed 9 months ago

navnavnav commented 9 months ago

Currently, we're using relative paths (via $ORIGIN) in Bloom's RUNPATH, in order to specify the path of any distributed shared libraries.

This is becoming a headache to maintain. I think it would be better to move away from modifying the RUNPATH and just use an invocation script that sets the LD_LIBRARY_PATH environment variable before invoking Bloom.

navnavnav commented 9 months ago

This is done. I've removed the RUNPATH from all distributed binaries, and included an invocation script that's generated with the build system and included in all Bloom packages. The /usr/bin/bloom symlink now points to that script.

Changes are in the develop branch. Closing this now.