On Wed, Mar 1, 2023 at 8:59 AM Gwenhael Goavec-Merou <gw...@trabucayre.com> wrote:
> On Wed, 1 Mar 2023 07:20:22 -0500 > Brian Padalino <bpadal...@gmail.com> wrote: > > > On Wed, Mar 1, 2023 at 5:40 AM Vermeulen, Bas (Consultant) via > USRP-users < > > usrp-users@lists.ettus.com> wrote: > > > > > Just to answer my own question: > > > > > > Run uhd_usrp_probe with LD_PRELOAD=/usr/lib/librfnoc-module.so > > > uhd_usrp_probe and it will be able to find the RFNOC modules. > > > The same for any test programs you use, those need the LD_PRELOAD as > well. > > > > > > > While this is a way to do it, I believe the preferred method is using the > > UHD_MODULE_PATH environment variable. > > > > Set that to a location which contains all the .so files for any RFNoC > > modules, and UHD will load them automatically. Note that if any non-.so > > files are in that path, you will get a warning about not being able to > load > > the library. > > > > Brian > > /usr/lib is a default path for libraries. > Maybe using (as root) ldconfig to rebuild/refresh the cache used by the > runtime > linker? > No - this doesn't make sense. Use UHD_MODULE_PATH. You can put your modules in ~/mymodules and point your UHD_MODULE_PATH to ~/mymodules and things will work fine. There is no need to play with LD_PRELOAD or worry about being root or install to default library paths. Use UHD_MODULE_PATH. Brian
_______________________________________________ USRP-users mailing list -- usrp-users@lists.ettus.com To unsubscribe send an email to usrp-users-le...@lists.ettus.com